Skip to content

Conversation

@c-mart
Copy link

@c-mart c-mart commented Jul 12, 2018

Apparently Cinder client no longer has a client.client.auth_ref['token']['tenant']['id']:

root@tombstone01-utility-container-80089f8a:~/cinderback# python cinderback.py --os-tenant-name demo backup
INFO: Starting Volumes Backup
INFO: Processing 27GB from volume  (id: dad83807-1b76-4549-a3c2-5394b028be0e)
Traceback (most recent call last):
  File "cinderback.py", line 905, in <module>
    main(args)
  File "cinderback.py", line 864, in main
    keep_only=args.keep_only)
  File "cinderback.py", line 422, in backup_all
    tenant_client = self.get_client(owner_tenant_id, keep_tenant)
  File "cinderback.py", line 783, in get_client
    self.client.client.auth_ref['token']['tenant']['id']
TypeError: 'AccessInfoV3' object has no attribute '__getitem__'

Instead we now have a client.client.auth_ref.project_id.

@c-mart
Copy link
Author

c-mart commented Jul 13, 2018

Closing in favor of #5.

@c-mart c-mart closed this Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant