Create ICMP security group rule with type but no code will success

Bug #1489857 reported by Dongcan Ye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Low
Unassigned

Bug Description

If the user create ICMP security group rule, specifing the required ICMP type, but no code, it will success.
I think neutron-server should raise an error here.

Dongcan Ye (hellochosen)
Changed in neutron:
assignee: nobody → Dongcan Ye (hellochosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
Revision history for this message
yujie (16189455-d) wrote :

I use kilo to test, if assign ICMP type without code, it returns "The ICMP code is invalid".

Revision history for this message
Dongcan Ye (hellochosen) wrote :

In master assign like this: type: 0 code:-1, it will success. But I think this should raise an error.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Dongcan Ye (<email address hidden>) on branch: master
Review: https://review.openstack.org/218250

Dongcan Ye (hellochosen)
Changed in neutron:
assignee: Dongcan Ye (hellochosen) → nobody
Changed in neutron:
status: In Progress → Invalid
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.