← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363326] [NEW] Error retries in _allocate_network

 

Public bug reported:

In /nova/compute/manager.py/def _allocate_network_async,line 1559.

attempts = retries > 1 and retries + 1 or 1
retry_time = 1
for attempt in range(1, attempts + 1):

Variable attempts wants to determine the retry times of allocate network,but it made a small mistake. 
See the Simulation results below:
retries=0,attempts=1
retries=1,attempts=1
retries=2,attempts=3
When retries=1, attempts=1 ,It actually does not retry.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Error retries in _allocate_network

Status in OpenStack Compute (Nova):
  New

Bug description:
  In /nova/compute/manager.py/def _allocate_network_async,line 1559.

  attempts = retries > 1 and retries + 1 or 1
  retry_time = 1
  for attempt in range(1, attempts + 1):

  Variable attempts wants to determine the retry times of allocate network,but it made a small mistake. 
  See the Simulation results below:
  retries=0,attempts=1
  retries=1,attempts=1
  retries=2,attempts=3
  When retries=1, attempts=1 ,It actually does not retry.

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


Follow ups

References