You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Damodar Reddy T (JIRA)" <ji...@apache.org> on 2014/11/05 12:51:44 UTC

[jira] [Created] (CLOUDSTACK-7843) sync Job Failures always reported as success on Event Bus

Damodar Reddy T created CLOUDSTACK-7843:
-------------------------------------------

             Summary: sync Job Failures always reported as success on Event Bus 
                 Key: CLOUDSTACK-7843
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7843
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.4.0
            Reporter: Damodar Reddy T
            Assignee: Damodar Reddy T
             Fix For: 4.5.0


For example, addition of nic to a VM is failed. Management log files show this as failed.

{ "queryasyncjobresultresponse" : {"accountid":"eddeb7f4-dbc5-11e3-b9c8-9e300504069a","userid":"eddf0399-dbc5-11e3-b9c8-9e300504069a","cmd":"org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"A NIC already exists for VM:i-615-879-VM in network: fe60e938-c186-4dda-a37c-732ac66fd381"},"created":"2014-09-15T16:06:48-0400","jobid":"34dd7fb6-d350-430d-ae35-5f63d0986d4a"} }

But in event bus it shows as the job is success.

"management-server.AsyncJobEvent.complete.None.*"
" {\"instanceType\":\"None\",\"jobId\":\"34dd7fb6-d350-430d-ae35-5f63d0986d4a\",\"processStatus\":\"0\",\"commandEventType\":\"NIC.CREATE\",\"resultCode\":\"0\",\"command\":\"org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd\",\"account\":\"eddeb7f4-dbc5-11e3-b9c8-9e300504069a\",\"user\":\"eddf0399-dbc5-11e3-b9c8-9e300504069a\"}"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)