weizhouapache commented on issue #5499:
URL: https://github.com/apache/cloudstack/issues/5499#issuecomment-927608621
> Unsuccessful async job:
>
> root@mgr1-dom0:~# cat
/var/log/cloud-manager/cloudstack/management/management-server.log |grep -v
queryA |grep 69688a36
> 2021-09-27 13:19:40,876 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305) (logid:69688a36) Executing
AsyncJobVO {id:4305, userId: 2, accountId: 2, instanceType: None, instanceId:
null, cmd: org.apache.cloudstack.api.command.admin.vm.AddNicToVMCmdByAdmin,
cmdInfo:
{"virtualmachineid":"81a09e35-28f0-40e6-a13c-0be44a08062d","response":"json","ctxUserId":"2","httpmethod":"GET","networkid":"4e6cfd3d-a91b-46bf-8340-958976c2ff21","ctxStartEventId":"29943","ctxDetails":"{"interface
com.cloud.network.Network":"4e6cfd3d-a91b-46bf-8340-958976c2ff21","interface
com.cloud.vm.VirtualMachine":"81a09e35-28f0-40e6-a13c-0be44a08062d"}","ctxAccountId":"2","cmdEventType":"NIC.CREATE"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result:
null, initMsid: 10000000001, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null, removed: null}
> 2021-09-27 13:19:45,995 DEBUG [c.c.v.UserVmManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36)
Successful addition of Ntwk[208|Guest|60] from VM[User|i-2-46-VM]
> 2021-09-27 13:19:46,195 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36)
Complete async job-4305, jobStatus: SUCCEEDED, resultCode: 0, result:
org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"81a09e35-28f0-40e6-a13c-0be44a08062d","name":"TEST-DB01P","displayname":"TEST-DB01P","account":"admin","userid":"a66bafe3-d0b1-49c2-b2e3-a8a0b88c511b","username":"skyhive","domainid":"ccd5f84c-12f1-11ec-ba65-5254003db647","domain":"ROOT","created":"2021-09-15T17:53:36+0800","state":"Running","haenable":"true","zoneid":"79ba6762-538f-450e-b108-4a8cd534f5d9","zonename":"uat","hostid":"6d8d09d2-8102-4c2e-bf95-10a582ee2134","hostname":"hci-cn002","guestosid":"d0d4ec03-12f1-11ec-ba65-5254003db647","securitygroup":[],"nic":[{"id":"e19a0dbe-69e0-43a7-a800-d7e0023125b1","networkid":"a42a1a9f-4e61-4408-8827-dac040cdceb0","networkname":"skyhive-tech","netmask":"255.255.255.0","gateway":"192.168.10.1","ipaddress":"
192.168.10.36","isolationuri":"vlan://569","broadcasturi":"vlan://569","traffictype":"Guest","type":"Isolated","isdefault":"true","macaddress":"02:00:6a:10:00:04","secondaryip":[{"id":"87fc5ea8-f271-4ab9-a948-44f33e1ca3c4","ipaddress":"192.168.10.158"}],"extradhcpoption":[]},{"id":"30b915a4-f421-4fe0-a1ff-102e452ccbbb","networkid":"ea9aa2bf-6484-4c7f-89fb-e899dfc4e423","networkname":"L3-Shared-Network","netmask":"255.255.255.0","gateway":"10.226.19.254","ipaddress":"10.226.19.78","isolationuri":"vlan://1009","broadcasturi":"vlan://1009","traffictype":"Guest","type":"Shared","isdefault":"false","macaddress":"02:00:5a:6a:00:0d","secondaryip":[],"extradhcpoption":[]}],"hypervisor":"KVM","instancename":"i-2-46-VM","details":{"keyboard":"us","memoryOvercommitRatio":"1.0","Message.ReservedCapacityFreed.Flag":"false","cpuOvercommitRatio":"4.0"},"affinitygroup":[],"displayvm":"true","isdynamicallyscalable":"false","ostypeid":"d0d4ec03-12f1-11ec-ba65-5254003db647","osdisplayname":"Other
Ubun
tu (64-bit)","tags":[]}
> 2021-09-27 13:19:46,197 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36)
Publish async job-4305 complete on message bus
> 2021-09-27 13:19:46,197 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36) Wake
up jobs related to job-4305
> 2021-09-27 13:19:46,197 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36)
Update db status for job-4305
> 2021-09-27 13:19:46,198 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid:69688a36) Wake
up jobs joined with job-4305 and disjoin all subjobs created from job- 4305
> 2021-09-27 13:19:46,353 DEBUG [c.c.a.ApiServer]
(API-Job-Executor-31:ctx-8c906118 job-4305 ctx-9fe0a7ee) (logid69688a36)
Retrieved cmdEventType from job info: NIC.CREATE
> 2021-09-27 13:19:46,358 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-31:ctx-8c906118 job-4305) (logid:69688a36) Done executing
org.apache.cloudstack.api.command.admin.vm.AddNicToVMCmdByAdmin for job-4305
> 2021-09-27 13:19:46,358 INFO [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-31:ctx-8c906118 job-4305) (logid:69688a36) Remove job-4305
from job monitoring
>
> @weizhouapache
@div8cn
can you filter logs by keyword `job-4305` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]