-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Closed
Copy link
Labels
Milestone
Description
ISSUE TYPE
- Other
COMPONENT NAME
API(listAsyncjobs)
CLOUDSTACK VERSION
CloudStack 4.14.0.0
SUMMARY
I have a question about “listAsyncjobs”.
- Is it a CloudStack specification that completed jobs cannot be acquired with the listAsyncjobs command?
・If startdate is specified, is “listAsyncjobs” returning asynchronous jobs remaining after the specified time?
・Is it correct to have “removed is NULL” in the SQL condition?
SELECT async_job_view.id, async_job_view.uuid, async_job_view.account_id, async_job_view.account_uuid, async_job_view.account_name,
async_job_view.account_type, async_job_view.domain_id, async_job_view.domain_uuid, async_job_view.domain_name, async_job_view.domain_path, async_job_view.user_id, async_job_view.
user_uuid, async_job_view.job_cmd, async_job_view.job_status, async_job_view.job_process_status, async_job_view.job_result_code, async_job_view.job_result, async_job_view.created,
async_job_view.removed, async_job_view.instance_type, async_job_view.instance_id, async_job_view.instance_uuid FROM async_job_view WHERE async_job_view.account_id=2 AND async_job
_view.account_type != 5 AND async_job_view.created >= '2021-03-11 01:00:00' AND async_job_view.removed IS NULL ORDER BY async_job_view.id ASC LIMIT 0, 500
- Is there a way to get a completed job?
Reactions are currently unavailable