AttributeError: 'Namespace' object has no attribute 'os_domain_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
High
|
Unassigned |
Bug Description
Change 60f92db Fix noauth support
seems to have introduced a cinderclient failure related to keystoneauth1 libraries.
$ git checkout fa4baedb
HEAD is now at fa4baed... Merge "[BugFix] 'Mountpoint' is missing in attachment CLIs."
$ cinder list
+----+-
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+----+-
+----+-
$ git checkout 48d7e3540ff8
Previous HEAD position was fa4baed... Merge "[BugFix] 'Mountpoint' is missing in attachment CLIs."
HEAD is now at 48d7e35... Merge "Fix noauth support"
$ cinder --debug list
DEBUG (shell:973) 'Namespace' object has no attribute 'os_domain_id'
Traceback (most recent call last):
File "/opt/stack/
for item in sys.argv[1:]])
File "/opt/stack/
self.options)
File "/usr/lib/
return plugin.
File "/usr/lib/
val = getter(opt)
File "/usr/lib/
return getattr(namespace, 'os_%s' % opt.dest)
AttributeError: 'Namespace' object has no attribute 'os_domain_id'
DEBUG:cindercli
Traceback (most recent call last):
File "/opt/stack/
for item in sys.argv[1:]])
File "/opt/stack/
self.options)
File "/usr/lib/
return plugin.
File "/usr/lib/
val = getter(opt)
File "/usr/lib/
return getattr(namespace, 'os_%s' % opt.dest)
AttributeError: 'Namespace' object has no attribute 'os_domain_id'
ERROR: 'Namespace' object has no attribute 'os_domain_id'
$ set | grep ^OS_ TYPE=password 172.16. 0.20/identity API_VERSION= 3 password DOMAIN_ ID=default NAME=demo NAME=RegionOne DOMAIN_ ID=default API_VERSION= 2
OS_AUTH_
OS_AUTH_URL=http://
OS_CACERT=
OS_IDENTITY_
OS_PASSWORD=
OS_PROJECT_
OS_PROJECT_
OS_REGION_
OS_TENANT_NAME=demo
OS_USERNAME=demo
OS_USER_
OS_VOLUME_