Got ERROR: 'bool' object has no attribute 'lower' when create volume snapshot
Bug #1207609 reported by
Zhikun Liu
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Vincent Hou | ||
python-cinderclient |
Invalid
|
Undecided
|
Cory Stone |
Bug Description
Tested on Devstack.
# cinder --debug snapshot-create 173fe39c-
snap..
DEBUG (shell:523) 'bool' object has no attribute 'lower'
Traceback (most recent call last):
File "/opt/stack/
sys.argv[1:]))
File "/opt/stack/
args.
File "/opt/stack/
if not args.force.lower() in ['true', '1', 'yes', 'y',
AttributeError: 'bool' object has no attribute 'lower'
ERROR: 'bool' object has no attribute 'lower'
Changed in cinder: | |
status: | New → Confirmed |
assignee: | nobody → Vincent Hou (houshengbo) |
Changed in python-cinderclient: | |
assignee: | nobody → Vincent Hou (houshengbo) |
status: | New → Confirmed |
To post a comment you must log in.
args.force defaults to a boolean.
https:/ /review. openstack. org/#/c/ 38002/ added string operations on said boolean.