create_security_group code may get into endless loop
Bug #1475938 reported by
Eugene Nikanorov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Oleg Bondarev | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
That damn piece of code again.
In some cases when network is created for tenant and default security group is created in the process, there may be concurrent network or sg creation happening.
That leads to a condition when the code fetches default sg, it's not there, tries to add it - it's already there, then it tries to fetch it again, but due to REPEATABLE READ isolation method, the query returns empty result, as in the first attempt.
As a result, such logic will hang in the loop forever.
Reproducible with rally create_
Changed in fuel: | |
assignee: | nobody → Eugene Nikanorov (enikanorov) |
tags: | added: sg-fw |
affects: | fuel → neutron |
Changed in neutron: | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
assignee: | Eugene Nikanorov (enikanorov) → Oleg Bondarev (obondarev) |
Changed in neutron: | |
assignee: | Oleg Bondarev (obondarev) → Henry Gessau (gessau) |
Changed in neutron: | |
assignee: | Henry Gessau (gessau) → Oleg Bondarev (obondarev) |
Changed in neutron: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
tags: | added: kilo-backport-potential |
Changed in neutron: | |
milestone: | liberty-3 → 7.0.0 |
To post a comment you must log in.
If the fix is in progress, could you please add a link to the code review?