Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9195

Cancelled/failed async jobs not getting cleaned up from DB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.6.0, 4.7.0
    • 4.8.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Some cancelled/failed async jobs are not getting cleaned up from DB even after "job.expire.minutes". These jobs are marked as cancelled/failed when MS is restarted, check for 'job_status' as 2 (FAILED) and 'job_result' as "job cancelled because of management server restart or shutdown" in async_job table in DB. These are not getting cleaned as 'job_complete_msid' field is not set in DB.

      Attachments

        Activity

          People

            koushikd Koushik Das
            koushikd Koushik Das
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: