AttributeError: 'Namespace' object has no attribute 'os_domain_id' (part 2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
High
|
Zhao Chao |
Bug Description
It's bug 1695054 again.
Seems to be introduced by "ce1013d Fix OS_AUTH_TYPE env var usage".
The same workaround there of unsetting OS_AUTH_TYPE will work around this issue.
[python-
40cb90d12c1bdf2
$ source ~/devstack/openrc
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
$ 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'
$ git revert ce1013d
[master f456b08] Revert "Fix OS_AUTH_TYPE env var usage"
2 files changed, 2 insertions(+), 24 deletions(-)
$ cinder list
+----+-
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+----+-
+----+-
Changed in python-cinderclient: | |
status: | New → Confirmed |
Changed in python-cinderclient: | |
assignee: | nobody → Abijitha Nadagouda (abijithanadagouda) |
Changed in python-cinderclient: | |
assignee: | Abijitha Nadagouda (abijithanadagouda) → Zhao Chao (zhaochao1984) |
status: | Confirmed → In Progress |
Setting importance to High since this is basically an immediate failure for someone using devstack.