Allow leases to transition to ERROR status when events fail
Bug #1797940 reported by
Pierre Riteau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
Medium
|
Pierre Riteau |
Bug Description
When start_lease or end_lease fail with a Blazar exception, the lease transition to ERROR state is not permitted.
Changed in blazar: | |
importance: | Undecided → Medium |
assignee: | nobody → Pierre Riteau (priteau) |
milestone: | none → stein-1 |
status: | New → Confirmed |
Changed in blazar: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/589898 /git.openstack. org/cgit/ openstack/ blazar/ commit/ ?id=74c53636b8a f4f7b2f3a858126 c7c2a33c68a020
Committed: https:/
Submitter: Zuul
Branch: master
commit 74c53636b8af4f7 b2f3a858126c7c2 a33c68a020
Author: Pierre Riteau <email address hidden>
Date: Wed Aug 1 18:15:20 2018 +0100
Allow leases to transition to ERROR status when events fail
If a start_lease or end_lease event fails to execute properly, the lease
does not change to ERROR state because there is no valid combination of
statuses registered for it. This patch adds the necessary combination
for both types of events.
Change-Id: I5a697cdaa37c6d 2d168f023cc2af8 7996c49fa5f
Closes-Bug: #1797940