Search Engine: Elastic

Article ID: 130949, created on Jun 8, 2017, last review on Jun 8, 2017

  • Applies to:
  • Operations Automation 6.0

Symptoms

Cannot proceed with step 2 of preupgrade instructions. Operation fails:

python migrate_from_sso.py --account-id $Account_id
fails with similar symptom:
2017-05-09 16:28:12.481  INFO GET https://192.0.2.2:6308//aps/2/resources/5cb53a24-bae0-4371-9252-cb98540f470f/secret ... (VT: this get is important)
2017-05-09 16:28:12.481  INFO   {'APS-Token': 'JEFFUy0xMjgtR0NNJFN2TmsvN0lZWE0zTmY3N0MkcisvZDVJeldNRC9DdG9TU3NMQTJLYXYxVVFqSG4rcEdTdVB5NDZZd0UrK0RPVWxEUjJVUE0vTWFYaThz
RHdrZVVwVUhFOXhvYTV6VitEYnAvS29HdXV0SGFYMmVvSjZmeVd4Zng0ODdyN3ZVdktpRXBaTlNWbERGVHl2NnpSQkprYmNqVzV0dlFldmwxNCt5K1JjTzJq
NGdWSCtyNjNmNFQrYWVZK2wrUTVvWjY2dlkxSEFpUWwrUkNPT0ZFZlBnZkE4WVU2VWdXbzNvSE43U0liMTIySkszRk41YmFPS1ZEREVCUDB4NExtVjhsc1FV
eWRmZTNDUUpTeXdCK3FTeFFad3R1WTh0SzBLekVMWjdEOTFwRkZXZnIrc1ZPY1U5WUhETGEvQ2FBL1FYRTRNTVBSMERwQ3NRanRYWkxjdjhoZnp3cm9FRVM0
Q1M0UjJhYWRVaVFQSnFsSVVUVmR5eU5YdzYyR0RFNGNwU2tKVEs0amFPeDMyZGZGVGk0aW5hTk9OVmlZSDJpTmhEVGlvY1RVa2hyZEtSSG1VPQ=='}
2017-05-09 16:28:12.613  INFO   Status: 200

Traceback (most recent call last):
  File "migrate_from_sso.py", line 29, in <module>
    migrate.migrateAccountFromSSO( opts['--account-id'], encryption_key )
  File "/root/pimsso/poa-sso-migration-6.0-15/migration/migrate.py", line 84, in migrateAccountFromSSO
    sso_users = APS.getSSOUsers(row[0])
  File "/root/pimsso/poa-sso-migration-6.0-15/migration/aps_routine.py", line 92, in getSSOUsers
    rv.append( (user.userId, local_identity[0].login, secret.secret) )
AttributeError: 'str' object has no attribute 'secret'

the secret is empty:

[root@server ]# curl -E /usr/local/pem/APS/certificates/poa.pem -k -X GET https://192.0.2.2:6308//aps/2/resources/5cb53a24-bae0-4371-9252-cb98540f470f/secret
[root@server ]#

Cause

The behavior is caused by software issue #APS-42178 . The fix is planned to be included in one of the future product updates.

Resolution

Contact your Technical Account Manager or PTA team (pta@odin.com) to check the status of #APS-42178 and obtain a constant fix.

Workaround

Contact Odin Technical Support to work around the issue.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF