Event execution failures for back to back leases
Bug #1785841 reported by
Pierre Riteau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
High
|
Pierre Riteau |
Bug Description
If two leases have at least one compute host in common, and the second lease starts when the first lease ends, there is the possibility of a race. The Blazar manager can first run the start_lease event of the second lease. This would fail since the end_lease event of the first lease wouldn't have been run yet: the compute host(s) in common would still be in aggregate(s) associated with the first lease, instead of being in the freepool.
Changed in blazar: | |
assignee: | nobody → Pierre Riteau (priteau) |
importance: | Undecided → High |
Changed in blazar: | |
milestone: | none → stein-1 |
Changed in blazar: | |
milestone: | stein-1 → stein-2 |
Changed in blazar: | |
milestone: | stein-2 → stein-3 |
Changed in blazar: | |
milestone: | stein-3 → train-1 |
To post a comment you must log in.
I imagine one of the purposes of cleaning time BP is resolving this issue. The first usecase of the new feature comes from Ironic usecase, but basically it fixes this issue, too.
https:/ /blueprints. launchpad. net/blazar/ +spec/cleaning- time-allowance