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

listAsyncJobs returns jobs with no cmd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.4.0
    • None
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      when running listAsyncJobs it will return jobids that do not have a cmd.

      Like this:

            {
              "accountid": "72e70a88-18d8-11e4-98d6-5254004eff4f",
              "userid": "72e71cf8-18d8-11e4-98d6-5254004eff4f",
              "jobstatus": 0,
              "jobprocstatus": 0,
              "jobresultcode": 0,
              "created": "2014-08-07T10:51:43-0600",
              "jobid": "d17b557b-e36c-4f1e-badd-2013b1eb3af1"
            },
      

      jobstatus,jobprocstataus, and jobresultcode are always 0.

      These appear to be internal threads to cloudstack and not related to any user submitted jobs.
      They do have an entry in the async_job table but provide no useful data in the listAsyncJobs API call.

      Attachments

        Activity

          People

            Unassigned Unassigned
            blangus Brian Angus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: