Error when adding multiple policies for server group
Bug #1662771 reported by
zhiyong.dai
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
zhiyong.dai |
Bug Description
When creating server group, the '--policy' option is required, but
valid choice is 'affinity' or 'anti-affinity', adding multiple policies
produces an error.
Changed in python-openstackclient: | |
assignee: | nobody → zhiyong.dai (zhiyong.dai) |
description: | updated |
description: | updated |
Changed in python-openstackclient: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/430209 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=26a74d45961 01fcd371ebf0a40 1265a0e0b4e1e0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 26a74d4596101fc d371ebf0a401265 a0e0b4e1e0
Author: zhiyong.dai <email address hidden>
Date: Fri Nov 25 01:04:34 2016 +0800
Add choices for option '--policy'
When creating server group, the '--policy' option is required, but
valid choice is 'affinity' or 'anti-affinity', adding multiple
policies will produce an error. This patch add choices and default
value for option '--policy', and remove the former help message.
Change-Id: I312680af384363 b3e9a7de9aa1f09 46643e193e2
Closes-Bug: #1662771