← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2016198] [NEW] [L3][HA] race condition between first two router creations when tenant has no HA network

 

Public bug reported:

When the tenant creates the first HA router-1, neutron will try to create HA network for this project.
But during the HA network creation procedure, we assume it has 2 steps:
(1) create HA network
(2) create subnet for this HA network
another router-2 creation API call is comming, while HA network creation is just done the step (1).
This router-2 creation API can retrieve the project HA network, and the HA network has no subnet.

Because of the
"[Open Discussion] neutron can create port from network which has no subnet"
https://bugs.launchpad.net/neutron/+bug/2016197,
router-2 will create HA ports without fixed IP.

So this HA router-2 will not get UP forever in L3 agent side.

In our production environment, we see many times of such issue.

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- [L3][HA] race condition amoning router creations when tenant has no HA network
+ [L3][HA] race condition first two router creations when tenant has no HA network

** Summary changed:

- [L3][HA] race condition first two router creations when tenant has no HA network
+ [L3][HA] race condition between first two router creations when tenant has no HA network

** Description changed:

  When the tenant creates the first HA router-1, neutron will try to create HA network for this project.
  But during the HA network creation procedure, we assume it has 2 steps:
  (1) create HA network
  (2) create subnet for this HA network
- another router-2 creation API call is comming, while HA network creation is just done the step (1),
- this API can retrieve the project HA network, and the HA network has no subnet.
+ another router-2 creation API call is comming, while HA network creation is just done the step (1).
+ This router-2 creation API can retrieve the project HA network, and the HA network has no subnet.
  
- Because of the 
+ Because of the
  "[Open Discussion] neutron can create port from network which has no subnet"
  https://bugs.launchpad.net/neutron/+bug/2016197,
  router-2 will create HA ports without fixed IP.
  
  So this HA router-2 will not get UP forever in L3 agent side.
  
  In our production environment, we see many times of such issue.

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

Title:
  [L3][HA] race condition between first two router creations when tenant
  has no HA network

Status in neutron:
  New

Bug description:
  When the tenant creates the first HA router-1, neutron will try to create HA network for this project.
  But during the HA network creation procedure, we assume it has 2 steps:
  (1) create HA network
  (2) create subnet for this HA network
  another router-2 creation API call is comming, while HA network creation is just done the step (1).
  This router-2 creation API can retrieve the project HA network, and the HA network has no subnet.

  Because of the
  "[Open Discussion] neutron can create port from network which has no subnet"
  https://bugs.launchpad.net/neutron/+bug/2016197,
  router-2 will create HA ports without fixed IP.

  So this HA router-2 will not get UP forever in L3 agent side.

  In our production environment, we see many times of such issue.

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



Follow ups