Rajani Karuturi created CLOUDSTACK-8816:
-------------------------------------------
Summary: rabbitMQ: generated events have wrong UUID(admin's) for
deleted user accounts
Key: CLOUDSTACK-8816
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8816
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Rajani Karuturi
Priority: Critical
1. create an account ppp
2,create few users under ppp account
3.delete the "ppp" account
4.check the rabbit mq for generated events
actual result:
Therecieved event has admin user uuid instead of deleted account uuid
The server reported 0 messages remaining.
Exchange cloudstack-events
Routing Key management-server.AsyncJobEvent.complete.Account.*
Redelivered ●
Properties
priority: 0
delivery_mode: 2
content_type: text/plain
Payload 885 bytes Encoding: string
{"cmdInfo":"{\"id\":\"d08d73a5-b577-4082-a959-114b433979f1\",\"response\":\"json\",\"sessionkey\":\"bYp8fdaTPgTYLtuVlSPxnHj9Iuk\\u003d\",\"ctxDetails\":\"{\\\"com.cloud.user.Account\\\":\\\"d08d73a5-b577-4082-a959-114b433979f1\\\"}\",\"cmdEventType\":\"ACCOUNT.DELETE\",\"ctxUserId\":\"2\",\"httpmethod\":\"GET\",\"_\":\"1416046428981\",\"uuid\":\"d08d73a5-b577-4082-a959-114b433979f1\",\"ctxAccountId\":\"2\",\"ctxStartEventId\":\"271\"}","instanceType":"Account","instanceUuid":"","jobId":"0749f13f-517b-4cba-81f2-c9a9d23445cd","status":"SUCCEEDED","processStatus":"0","commandEventType":"ACCOUNT.DELETE","resultCode":"0","command":"org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd","jobResult":"org.apache.cloudstack.api.response.SuccessResponse/null/{\"success\":true}","account":"fcf6dd7e-6983-11e4-bb12-0662940000db","user":"fcf71ae6-6983-11e4-bb12-0662940000db"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)