unable to stop starting jobs in stop status
Bug #1570401 reported by
Fabrizio Vanni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Committed
|
Undecided
|
Domhnall Walsh |
Bug Description
This is a freezer-api bug:
when a job is in a stop condition and a start has been requested it's status is still "stop" (and it stays sto untile the scheduler acknowledges the start request)
In that state, a stop request won't be accepted and the job event remains "start"
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/305958 /git.openstack. org/cgit/ openstack/ freezer- api/commit/ ?id=bb5ba827eff 2e3a8b8a32860e8 83be8de60ec58b
Committed: https:/
Submitter: Jenkins
Branch: master
commit bb5ba827eff2e3a 8b8a32860e883be 8de60ec58b
Author: Fabrizio Vanni <email address hidden>
Date: Thu Apr 14 15:00:28 2016 +0100
fix job-stop request not accepted
A job whose status is "stop" and event is "start" can now be correctly
stopped. Its status will remain "stop" and its event set to "stop"
Client are actually free to issue any start/stop request,
the responsibility of detecting if the action request
makes sense is on the scheduler
Change-Id: I82da538840d67c baed06a54a6c71e 2bf75a174de
Closes-Bug: #1570401