List volumes block_store call error
Bug #1757032 reported by
chenyb4
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Undecided
|
chenyb4 |
Bug Description
When i use python-openstacksdk call block_storage service appear block_store error. the error message look this.
ceback (most recent call last):
File "connection_
volume_
File "connection_
v = conn.block_
AttributeError: 'Connection' object has no attribute 'block_store'
When i use pdb test, the 'LOCAL_ALIASES' define error.
Pdb) p service_type
u'block-storage'
(Pdb) p LOCAL_ALIASES
{'baremetal': 'bare_metal', 'block_storage': 'block_store', 'clustering': 'cluster'}
The service_type is 'block-storage', but in LOCAL_ALIASES use block_storage, so this is LOCAL_ALIASES error.
Changed in python-openstacksdk: | |
assignee: | nobody → chenyb4 (chenyb4) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/554403
Review: https:/