all_tenants and edit_managed not defined using external keystone session
Bug #1457821 reported by
Davide Guerri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-designateclient |
Fix Released
|
Medium
|
Davide Guerri |
Bug Description
Initializing designate client with a pre-existing keystone session
won't work as designate expects keystone session to have the
'all_tenants' and 'edit_managed' attributes:
Example code:
keystone_
auth=
verify=True,
cert=my_cert
)
than later:
self.
session=
region_
)
with that code, wrap_api_call() will raise an exception:
AttributeError: 'Session' object has no attribute 'all_tenants'
Same goes for 'edit_managed'.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- all_tenants not defined when using an external keystone session + all_tenants and edit_managed not defined using external keystone session |
Changed in python-designateclient: | |
importance: | Undecided → Medium |
Changed in python-designateclient: | |
milestone: | none → 1.3.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/184988
Review: https:/