Search Engine: Elastic

Article ID: 134023, created on May 15, 2019, last review on May 15, 2019

  • Applies to:
  • Operations Automation

Symptoms

Legacy VPS to VPS hosting migration fails with:

CT-600-bash-4.2# sh vps-migrate.sh --subscription-id 174 --mode dry-run
2019-05-13 10:59:54.443 [DEBUG] read agent config from /usr/local/pem/etc/pleskd.props
2019-05-13 10:59:54.443 [DEBUG] read kernel config from /usr/local/pem/etc/Kernel.conf
2019-05-13 10:59:54.444 [DEBUG] read odbc config from /usr/local/pem/etc/odbc.ini
2019-05-13 10:59:54.499 [INFO] Log file has been created: /var/log/pa/vps-migration/migration-174.log
2019-05-13 10:59:54.500 [INFO] [SubId: 174] Starting migration
2019-05-13 10:59:55.070 [ERROR] [SubId: 174] Traceback (most recent call last):
  File "migrate_legacy_vps_subscription.py", line 1033, in migrate_subscription
    app = App(subscr_id, args.configuration_file)
  File "migrate_legacy_vps_subscription.py", line 132, in __init__
    self.corba.connect(pleskd_properties["orb.endpoint.addresses"])
  File "/minei_works/oasi/legacy-vps-migration-tool/uCorba2.py", line 55, in connect
    auth_info = hub.acquire_own_cred(user, password)
  File "/tmp/tmpordHFN", line 628, in acquire_own_cred
NO_PERMISSION: CORBA.NO_PERMISSION(0x9c40004, CORBA.COMPLETED_MAYBE)

Cause

The observed behavior has been recognized as CCU-20204 by CloudBlue R&D team.

Resolution

Please contact your TAM or PTA to check the status of the request.

To workaround, please change the following section in the script:

self.corba.connect(pleskd_properties["orb.endpoint.addresses"])

to

self.corba.connect(host=pleskd_properties["orb.endpoint.addresses"], port=8354, user='admin-user', password='topsecretpassword')

where admin-user and password are actual admin password to PCP.

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d

Email subscription for changes to this article
Save as PDF