Security group rule create --src-group errors

Bug #1540656 reported by Dean Troyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Richard Theis

Bug Description

https://review.openstack.org/#/c/253725/ introduced the --src-group option to 'security group rule create' to support 'remote security groups' used in rule creation.

The option fails when a group name is given rather than a remote group ID, contrary to the documentation. Apparently the REST API (Nova net tested here, Neutron TBD) requires an ID only?

Perform a name->ID on the group supplied.

Richard Theis (rtheis)
Changed in python-openstackclient:
assignee: nobody → Richard Theis (rtheis)
Richard Theis (rtheis)
Changed in python-openstackclient:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/294216

Changed in python-openstackclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/294216
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=2109bce85a40da3e3cbebed1cac661611564ccb2
Submitter: Jenkins
Branch: master

commit 2109bce85a40da3e3cbebed1cac661611564ccb2
Author: Richard Theis <email address hidden>
Date: Thu Mar 17 12:58:44 2016 -0500

    Support security group name for --src-group

    Support security group name for the "--src-group" option on the
    "os security group rule create" command.

    Change-Id: Ic23d0671dad77566269c9a588644c8d774368733
    Closes-Bug: #1540656

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-openstackclient 2.4.0

This issue was fixed in the openstack/python-openstackclient 2.4.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.