Quantum Security Group driver doesn't accept none value for from_port & to _port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Aaron Rosen | ||
Grizzly |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
The following command works with the Nova Network security group driver but raise a KeyError with a on systems configured with the quantum Security group driver
curl -i https:/
In the Nova Network driver values are just inserted into the database, so "from_port":null works fine.
In the Quantum driver there is a specific check for a -1 value, which results in the key error
network/
def _make_quantum_
...
if rule['from_port'] != -1:
if rule['to_port'] != -1:
For compatibility with Nova-network systems the Quantum driver should also accept none values
Changed in nova: | |
assignee: | nobody → Aaron Rosen (arosen) |
Changed in quantum: | |
assignee: | nobody → Aaron Rosen (arosen) |
tags: | added: api sg-fw |
Changed in quantum: | |
importance: | Undecided → Medium |
Changed in quantum: | |
status: | New → Invalid |
no longer affects: | quantum |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/29038
Review: https:/