cinder group-type-update will set is_public to false if not given
Bug #1995927 reported by
wanghelin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
In Progress
|
Low
|
wanghelin |
Bug Description
When using cinder group-type-update to update group type name, descriptioin or is_public,if is_public is not given (None will be assigned), it will be set to False by error. For example command like 'cinder group-type-update 1234' will update is_public to false but not return an error.
This is caused by calling bool_from_string() without checking whether argument 'is_public' is None. This function will first convert None to string 'None', which is an unknown argument, so bool_from_string() will return default value 'False' by error.
Changed in python-cinderclient: | |
assignee: | nobody → wanghelin (wanghelin) |
Changed in python-cinderclient: | |
importance: | Undecided → Low |
tags: | added: api |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /python- cinderclient/ +/864086
Review: https:/