Remove psudo jobs from listAsyncJobs API#6564
Conversation
|
@blueorangutan package |
|
@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3812 |
|
@blueorangutan test |
|
@davidjumani a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4533)
|
|
@davidjumani as this is a bugfix should this go in 4.17? |
7c07202 to
3e1e81a
Compare
|
@blueorangutan package |
|
@davidjumani a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Updated the base @shwstppr |
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3823 |
|
Kudos, SonarCloud Quality Gate passed! |
|
@blueorangutan test |
|
@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4542)
|
shwstppr
left a comment
There was a problem hiding this comment.
Tested with and without this change
Without change (A volume migration is in progress):
(localcloud) 🐱 > list asyncjobs listall=true
{
"asyncjobs": [
{
"accountid": "49ab4525-f71a-11ec-87b5-1e0057000461",
"created": "2022-06-29T11:18:06+0000",
"jobid": "bde2a196-8e6e-490c-8453-1e5d4dc36971",
"jobprocstatus": 0,
"jobresultcode": 0,
"jobstatus": 0,
"userid": "49ab5232-f71a-11ec-87b5-1e0057000461"
},
{
"accountid": "49ab4525-f71a-11ec-87b5-1e0057000461",
"created": "2022-06-29T11:18:06+0000",
"jobid": "bec2ae08-696b-4bc7-a509-944659f1adb0",
"jobprocstatus": 0,
"jobresultcode": 0,
"jobstatus": 0,
"userid": "49ab5232-f71a-11ec-87b5-1e0057000461"
},
{
"accountid": "49ac12a3-f71a-11ec-87b5-1e0057000461",
"cmd": "org.apache.cloudstack.api.command.admin.volume.MigrateVolumeCmdByAdmin",
"created": "2022-07-27T06:25:55+0000",
"jobid": "4711fb07-f038-4021-9dbb-5f2eadc3f030",
"jobinstanceid": "05dd1e62-d2f3-46d8-bd39-401f70941b6f",
"jobinstancetype": "Volume",
"jobprocstatus": 0,
"jobresultcode": 0,
"jobstatus": 0,
"userid": "49ad4079-f71a-11ec-87b5-1e0057000461"
},
{
"accountid": "49ac12a3-f71a-11ec-87b5-1e0057000461",
"cmd": "com.cloud.vm.VmWorkMigrateVolume",
"created": "2022-07-27T06:25:55+0000",
"jobid": "286823ce-df79-49e6-886e-91da9eab16fd",
"jobprocstatus": 0,
"jobresultcode": 0,
"jobstatus": 0,
"userid": "49ad4079-f71a-11ec-87b5-1e0057000461"
}
],
"count": 4
}
With change (Again a volume migration is in progress):
(localcloud) 🐱 > list asyncjobs listall=true
{
"asyncjobs": [
{
"accountid": "49ac12a3-f71a-11ec-87b5-1e0057000461",
"cmd": "org.apache.cloudstack.api.command.admin.volume.MigrateVolumeCmdByAdmin",
"created": "2022-07-27T07:07:58+0000",
"jobid": "8f52f1ed-920e-429a-a45b-bb0e9eab7072",
"jobinstanceid": "05dd1e62-d2f3-46d8-bd39-401f70941b6f",
"jobinstancetype": "Volume",
"jobprocstatus": 0,
"jobresultcode": 0,
"jobstatus": 0,
"userid": "49ad4079-f71a-11ec-87b5-1e0057000461"
}
],
"count": 1
}
Removes psudo job results from the response of the listAsyncJobs API








Description
Removes psudo job results from the response of the listAsyncJobs API
Types of changes
Bug Severity
How Has This Been Tested?
Before :
After :