FWaaSv2 - 'protocol' parameter is incorrect for firewall_rule

Bug #1658598 reported by Yushiro FURUKAWA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
Yushiro FURUKAWA

Bug Description

If we specify 'any' as a protocol attribute when create/update firewall_rule, following error occurred:

$ openstack firewall group rule create --name myrule --protocol any

Firewall Rule protocol any is not supported. Only protocol values [None, 'tcp', 'udp', 'icmp'] and their integer representation (0 to 255) are supported.

'any' should be converted 'None' internally. In addition, help message will be updated.

Tags: fwaas
Changed in python-neutronclient:
assignee: nobody → Yushiro FURUKAWA (y-furukawa-2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

If --protocol is not specified in firewall group rule create, users can create a rule with protocol any (None), so Medium looks an appropriate priority. Anyway let's fix it soon.

Changed in python-neutronclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/424068
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=9fa08d1bd0314ac63ad7923cae1c3129c64174e3
Submitter: Jenkins
Branch: master

commit 9fa08d1bd0314ac63ad7923cae1c3129c64174e3
Author: Yushiro FURUKAWA <email address hidden>
Date: Mon Jan 23 20:22:30 2017 +0900

    FWaaSv2 - Enable to specify 'any' for protocol

    This commits fixes to specify 'any' for protocol in firewall_rule.

    Change-Id: I5d0012afdc319b67877c5ccaea4e6b41efbf6a9e
    Closes-Bug: #1658598

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

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