Error retries in _allocate_network
Bug #1363326 reported by
AiQingxing
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
zhangtralon |
Bug Description
In /nova/compute/
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=
retries=
retries=
When retries=1, attempts=1 ,It actually does not retry.
Changed in nova: | |
assignee: | nobody → AiQingxing (aiqingxing) |
tags: | added: network |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/119270
Review: https:/