← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1127696] Re: IPAddress() macro only provides 39 characters where ipv6 cidr could be 43 characters

 

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

** Changed in: nova
    Milestone: None => grizzly-3

-- 
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/1127696

Title:
  IPAddress() macro only provides 39 characters where ipv6 cidr could be
  43 characters

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The IPAddress() Macro in nova/db/sqlalchemy/types.py only provides a
  column with 39 characters.  In theory if someone provided a complete
  IPv6 address and a 3-digit CIDR mask it wouldn't fit in the 39
  characters.  security_group_rules "cidr" column was truncated to 39
  characters in db revision 149 as well.

  The determination should be made if the use of a complete IPv6 address
  and a CIDR mask should be supported.  If so should the IPAddress()
  macro should be used or should a new CIDR() macro should be created.

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