← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1199943] Re: Nova fails to create a security group rule if ::0/0 is used as cidr

 

** Changed in: nova/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1199943

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

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

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 |              |
  +-------------+-----------+---------+-----------+--------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1199943/+subscriptions