Nova fails to create a security group rule if ::0/0 is used as cidr

Bug #1199943 reported by Rosario Di Somma
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Rosario Di Somma
Grizzly
Fix Released
Low
Rosario Di Somma

Bug Description

Nova fails to create a security group rule if ::0/0 is used as value for the cidr field,
works with 0.0.0.0/0

vagrant@vagrant-precise:~$ nova secgroup-add-rule default tcp 22 22 ::0/0
ERROR: Bad prefix for network in cidr ::0/0 (HTTP 400) (Request-ID: req-7b033c82-d02b-43c0-8d39-e807a6418eaa)

vagrant@vagrant-precise:~$ nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
+-------------+-----------+---------+-----------+--------------+
| IP Protocol | From Port | To Port | IP Range | Source Group |
+-------------+-----------+---------+-----------+--------------+
| tcp | 22 | 22 | 0.0.0.0/0 | |
+-------------+-----------+---------+-----------+--------------+

Changed in nova:
assignee: nobody → Rosario Di Somma (mr-rods)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/36556
Committed: http://github.com/openstack/nova/commit/8e5fceb0411363313306183fd2cd5c177f3b8c24
Submitter: Jenkins
Branch: master

commit 8e5fceb0411363313306183fd2cd5c177f3b8c24
Author: Rosario Di Somma <email address hidden>
Date: Wed Jul 10 16:32:48 2013 -0400

    Allow ::/0 for IPv6 security group rules

    Nova fails to create a security group rule if ::/0 is used as
    value for the cidr field

    Fixes: LP bug #1199943

    Change-Id: Ifce53dbc9f0740337921491aa752900892f47052
    Signed-off-by: Rosario Di Somma <email address hidden>

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/39145

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/39145
Committed: http://github.com/openstack/nova/commit/d42fd15e624e1692925a9957775a28a380e4c581
Submitter: Jenkins
Branch: stable/grizzly

commit d42fd15e624e1692925a9957775a28a380e4c581
Author: Rosario Di Somma <email address hidden>
Date: Wed Jul 10 16:32:48 2013 -0400

    Allow ::/0 for IPv6 security group rules

    Nova fails to create a security group rule if ::/0 is used as
    value for the cidr field

    Fixes: LP bug #1199943
    Cherry picked from https://review.openstack.org/36556

    Change-Id: Ifce53dbc9f0740337921491aa752900892f47052
    Signed-off-by: Rosario Di Somma <email address hidden>

tags: added: in-stable-grizzly
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential in-stable-grizzly
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
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.