"--protocol None" is rejected in security-group-rule-create

Bug #1469642 reported by Masaki Matsushita
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Expired
Undecided
Unassigned

Bug Description

When invalid protocol specified in security-group-rule-create, neutron server returns "protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] are supported" as below:

% neutron security-group-rule-create --protocol foo bar
Security group rule protocol foo not supported. Only protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] and integer representations [0 to 255] are supported.

However, neutron-server rejects "None" for protocol.

% neutron security-group-rule-create --protocol None bar
Security group rule protocol None not supported. Only protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] and integer representations [0 to 255] are supported.

I think this behavior is confusing.

Changed in python-neutronclient:
assignee: nobody → Masaki Matsushita (mmasaki)
status: New → In Progress
Revision history for this message
Masaki Matsushita (mmasaki) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-neutronclient (master)

Change abandoned by Doug Wiegley (<email address hidden>) on branch: master
Review: https://review.openstack.org/196582
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Needs a new owner.

Changed in python-neutronclient:
status: In Progress → Incomplete
assignee: Masaki Matsushita (mmasaki) → nobody
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Taking it up as no updates since June

Changed in python-neutronclient:
assignee: nobody → Reedip (reedip-banerjee)
Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Forget it... it seems to be a duplicate of https://bugs.launchpad.net/python-neutronclient/+bug/1470051 and work is already being done on https://review.openstack.org/#/c/259345/

Changed in python-neutronclient:
assignee: Reedip (reedip-banerjee) → nobody
Changed in python-neutronclient:
assignee: nobody → li,chen (chen-li)
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by li,chen (<email address hidden>) on branch: master
Review: https://review.openstack.org/259345

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in python-neutronclient:
assignee: li,chen (chen-li) → nobody
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-neutronclient because there has been no activity for 60 days.]

Changed in python-neutronclient:
status: Incomplete → Expired
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.