Deletion of cluster updates job execution finish time

Bug #1329109 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Andrew Lazarev

Bug Description

When user deletes cluster Sahara searches for all related job executions and

1. removes cluster_id (I can understand that)
2. replaces end_time with now() even for finished jobs
3. doesn't change jobs status at all. So, all jobs marking as 'Pending' and 'Running' will stay in such state forever

Revision history for this message
Andrew Lazarev (alazarev) wrote :
Changed in sahara:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Andrew Lazarev (alazarev)
milestone: none → juno-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/99788
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=fdc0ebc46223cb1d7ddfc08dc9392710b45281c4
Submitter: Jenkins
Branch: master

commit fdc0ebc46223cb1d7ddfc08dc9392710b45281c4
Author: Andrew Lazarev <email address hidden>
Date: Thu Jun 12 15:43:30 2014 -0700

    Update job execution status on cluster deletion

    On cluster creation Sahara now does:
    1. remove cluster_id (as before)
    2. don't change status and end_time for finished jobs
    3. change status to 'FAILED' and update end_time for not finished jobs

    Change-Id: Ia26cb20565d50af71032d0e739c272b3ade0e8ee
    Closes-Bug: #1329109

Changed in sahara:
status: In Progress → Fix Committed
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.