← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1548151] [NEW] Created two host-routes on one subnet by running two commands update host-route parameter in case of neutron server active-active

 

Public bug reported:

I had three controllers, I found a bug. I can create two host-route on
one subnet by I run two commands update host-route parameter AT THE SAME
TIME

How to reproduce:

Topology: http://codepad.org/ff0debPB

Step 1: Create subnet with host-route is 172.16.69.0/26 and nexthop is 172.16.69.10
$ neutron subnet-create --name sub-int-net --host-route destination=172.16.69.0/26,nexthop=172.16.69.10 test-net 172.16.69.0/24

Step 2: Update host-route parameter
Please running two commands AT THE SAME TIME

- On Controller1
$ neutron subnet-update --host-route destination=172.16.69.64/26,nexthop=172.16.69.10 sub-int-net

- On Controller2
$ neutron subnet-update --host-route destination=172.16.69.128/26,nexthop=172.16.69.20 sub-int-net

The result:

After create subnet:
- This is result: http://codepad.org/eyX15Mnu

After update subnet:
- Show information subnet
  This is result: http://codepad.org/36C25S0f

- Show information in "subnetroutes" tables:
  This is result: http://codepad.org/zrUh1CK8

In originally, When we update host-route parameter, the system will
remove the existing host-route and write a new host-route, which have
value in command update . That mean: after update this subnet has only
one host-route.

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  I had three controllers, I found a bug. I can create two host-route on
  one subnet by I run two commands update host-route parameter AT THE SAME
  TIME
  
  How to reproduce:
  
  Topology: http://codepad.org/ff0debPB
  
  Step 1: Create subnet with host-route is 172.16.69.0/26 and nexthop is 172.16.69.10
  $ neutron subnet-create --name sub-int-net --host-route destination=172.16.69.0/26,nexthop=172.16.69.10 test-net 172.16.69.0/24
  
  Step 2: Update host-route parameter
  Please running two commands AT THE SAME TIME
  
  - On Controller1
  $ neutron subnet-update --host-route destination=172.16.69.64/26,nexthop=172.16.69.10 sub-int-net
  
  - On Controller2
  $ neutron subnet-update --host-route destination=172.16.69.128/26,nexthop=172.16.69.20 sub-int-net
  
  The result:
  
  After create subnet:
- This is result: http://codepad.org/eyX15Mnu
+ - This is result: http://codepad.org/eyX15Mnu
  
  After update subnet:
  - Show information subnet
-   This is result: http://codepad.org/36C25S0f
-   
+   This is result: http://codepad.org/36C25S0f
+ 
  - Show information in "subnetroutes" tables:
-   This is result: http://codepad.org/zrUh1CK8
-   
- In originally, When we update host-route parameter, the system will remove the existing host-route and write a new host-route, which have value in command update . That mean: after update this subnet has only one host-route.
+   This is result: http://codepad.org/zrUh1CK8
+ 
+ In originally, When we update host-route parameter, the system will
+ remove the existing host-route and write a new host-route, which have
+ value in command update . That mean: after update this subnet has only
+ one host-route.

** Summary changed:

- Created two host-route on one subnet by running two commands update host-route parameter in case of neutron server active-active
+ Created two host-routes on one subnet by running two commands update host-route parameter in case of neutron server active-active

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

Title:
  Created two host-routes on one subnet by running two commands update
  host-route parameter in case of neutron server active-active

Status in neutron:
  New

Bug description:
  I had three controllers, I found a bug. I can create two host-route on
  one subnet by I run two commands update host-route parameter AT THE
  SAME TIME

  How to reproduce:

  Topology: http://codepad.org/ff0debPB

  Step 1: Create subnet with host-route is 172.16.69.0/26 and nexthop is 172.16.69.10
  $ neutron subnet-create --name sub-int-net --host-route destination=172.16.69.0/26,nexthop=172.16.69.10 test-net 172.16.69.0/24

  Step 2: Update host-route parameter
  Please running two commands AT THE SAME TIME

  - On Controller1
  $ neutron subnet-update --host-route destination=172.16.69.64/26,nexthop=172.16.69.10 sub-int-net

  - On Controller2
  $ neutron subnet-update --host-route destination=172.16.69.128/26,nexthop=172.16.69.20 sub-int-net

  The result:

  After create subnet:
  - This is result: http://codepad.org/eyX15Mnu

  After update subnet:
  - Show information subnet
    This is result: http://codepad.org/36C25S0f

  - Show information in "subnetroutes" tables:
    This is result: http://codepad.org/zrUh1CK8

  In originally, When we update host-route parameter, the system will
  remove the existing host-route and write a new host-route, which have
  value in command update . That mean: after update this subnet has only
  one host-route.

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


Follow ups