security group rule create fails on ICMP

Bug #1443963 reported by Dean Troyer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Ramaraja

Bug Description

 openstack security group rule create <group-name> --proto icmp
 ERROR: openstack 'NoneType' object is not iterable

fails because a null destination port is not properly handled with ICMP. Work-around is to add --dst-port 0.

Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: New → Triaged
importance: Undecided → Medium
milestone: none → m9
Ramaraja (ramaraja-r)
Changed in python-openstackclient:
assignee: nobody → Ramaraja (ramaraja-r)
Ramaraja (ramaraja-r)
Changed in python-openstackclient:
status: Triaged → In Progress
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/175816

Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: m9 → m10
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/175816
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=9b6dada8e371d9e77db129b15acb03a35115591a
Submitter: Jenkins
Branch: master

commit 9b6dada8e371d9e77db129b15acb03a35115591a
Author: Ramaraja Ramachandran <email address hidden>
Date: Tue Apr 21 16:40:40 2015 +0530

    Security group rule create fails

    By default the --dst-port value is set to None when no --dst-port
    argument is provided. By making the default value (0, 0), this allows
    novaclient to proceed without any error.

    Change-Id: Ibb58f5df5ed1890a8f499dd2467b12b0e79d547b
    Closes-Bug: #1443963

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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