Error when adding multiple policies for server group

Bug #1662771 reported by zhiyong.dai
6
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/430209
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=26a74d4596101fcd371ebf0a401265a0e0b4e1e0
Submitter: Jenkins
Branch: master

commit 26a74d4596101fcd371ebf0a401265a0e0b4e1e0
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: I312680af384363b3e9a7de9aa1f0946643e193e2
    Closes-Bug: #1662771

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.9.0

This issue was fixed in the openstack/python-openstackclient 3.9.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.