← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464116] Re: 'network_id' and 'cidr' should be unique int table 'Subnet'

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1464116

Title:
  'network_id' and 'cidr' should be unique int table 'Subnet'

Status in neutron:
  Expired

Bug description:
  'network_id' and 'cidr' should be unique int table 'Subnet', so unique constraints should be added!
  if we add unique constraints, it can solve the problem in bellow use case:
  1. there are two neutron-server which behind haproxy in one openstack. 
  2. two users create a subnet with 192.168.0.0/24 in one network at same, then the two requests are send apart to two neutron-server by haproxy.
  3. the two user all create subnet successfully, so in one network, it has same CIDR subnet, but it should not be allowed.

  if we add unique constraints, one user will be create subnet failed

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


References