Ksenia Vazhdaeva created CLOUDSTACK-10392: ---------------------------------------------
Summary: Wrong event status if the command fails Key: CLOUDSTACK-10392 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10392 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Affects Versions: 4.11.1.0 Reporter: Ksenia Vazhdaeva If the action processing fails an event type with "Completed" status and an error in the description is generated. +An example for domain deletion:+ Routing key: {noformat} management-server.ActionEvent.DOMAIN-DELETE.Domain.8c510612-8e4e-4cf7-be8e-b4c590704fc4{noformat} Event description: {noformat} {"eventDateTime":"2018-08-16 11:15:23 +0700","entityuuid":"8c510612-8e4e-4cf7-be8e-b4c590704fc4","description":"Error while deleting Domain. Domain Id: 8","event":"DOMAIN.DELETE","Domain":"8c510612-8e4e-4cf7-be8e-b4c590704fc4","user":"bd617fb9-54d6-11e8-b071-0242ac110002","account":"bd539ae5-54d6-11e8-b071-0242ac110002","entity":"com.cloud.domain.Domain","status":"Completed"}{noformat} *_Expected behavior:_* an event with a separate status (e.g. "Failed") should be generated instead. -- This message was sent by Atlassian JIRA (v7.6.3#76005)