Race in instance_create when checking for duplicate hostname
Bug #1436897 reported by
Alexey I. Froloff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
There's a race condition in instance_create, that allows creation several instances with duplicate hostname/
with session.begin():
if 'hostname' in values:
If another instance with same hostname is stored after _validate_
We hit this bug when badly-written client resubmitted POST request after timeout.
Changed in nova: | |
assignee: | nobody → ugvddm (271025598-9) |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | ugvddm (271025598-9) → nobody |
status: | In Progress → Confirmed |
To post a comment you must log in.
it should be valid ....