Merge "Prevent leases from being deleted during event execution"
This commit is contained in:
commit
ffdfd05bd0
|
@ -307,8 +307,12 @@ COMBINATIONS = {
|
||||||
},
|
},
|
||||||
LeaseStatus.DELETING: {
|
LeaseStatus.DELETING: {
|
||||||
'reservation': ReservationStatus.ALL,
|
'reservation': ReservationStatus.ALL,
|
||||||
'start_lease': EventStatus.ALL,
|
'start_lease': (EventStatus.UNDONE,
|
||||||
'end_lease': EventStatus.ALL
|
EventStatus.DONE,
|
||||||
|
EventStatus.ERROR),
|
||||||
|
'end_lease': (EventStatus.UNDONE,
|
||||||
|
EventStatus.DONE,
|
||||||
|
EventStatus.ERROR)
|
||||||
},
|
},
|
||||||
LeaseStatus.UPDATING: {
|
LeaseStatus.UPDATING: {
|
||||||
'reservation': ReservationStatus.ALL,
|
'reservation': ReservationStatus.ALL,
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Blazar now prevents leases from being deleted while their start_lease or
|
||||||
|
end_lease events are in progress, to avoid concurrently accessing shared
|
||||||
|
objects. For more details, see `bug 1791741
|
||||||
|
<https://bugs.launchpad.net/blazar/+bug/1791741>`_.
|
Loading…
Reference in New Issue