[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742871#comment-14742871
 ] 

ASF subversion and git services commented on CLOUDSTACK-8816:
-------------------------------------------------------------

Commit b12d4730a6a3b0654c52a6ea3f0b5b75cd37d841 in cloudstack's branch 
refs/heads/master from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b12d473 ]

CLOUDSTACK-8816: entity uuid missing in create network event

*Before*

|                      routing_key                       |     exchange      | 
message_count |                                                                 
                                                              payload           
                                                                                
                                    | payload_bytes | payload_encoding | 
redelivered |
| management-server.ActionEvent.NETWORK-CREATE.Network.* | cloudstack-events | 
0             | {"eventDateTime":"2015-09-09 09:35:02 
+0530","status":"Completed","description":"Successfully completed creating 
network. Network Id: 
206","event":"NETWORK.CREATE","account":"bd73dc2e-35c0-11e5-b094-d4ae52cb9af0","user":"bd7ea748-35c0-11e5-b094-d4ae52cb9af0"}
 | 259           | string           | False       |

*After*

|                                                    routing_key                
                                    |     exchange      | message_count |       
                                                                                
                                                                                
    payload                                                                     
                                                                                
                       | payload_bytes | payload_encoding | redelivered |
| 
management-server.ActionEvent.NETWORK-CREATE.Network.c9ed8d0d-6e58-456e-be58-28bb809f0b3a
                         | cloudstack-events | 52            | 
{"eventDateTime":"2015-09-09 10:12:37 
+0530","status":"Completed","description":"Successfully completed creating 
network. Network Id: 
210","event":"NETWORK.CREATE","entityuuid":"c9ed8d0d-6e58-456e-be58-28bb809f0b3a","entity":"com.cloud.network.Network","account":"bd73dc2e-35c0-11e5-b094-d4ae52cb9af0","user":"bd7ea748-35c0-11e5-b094-d4ae52cb9af0"}
 | 348           | string           | False       |


> rabbitMQ: generated events have wrong or missing uuids
> ------------------------------------------------------
>
>                 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.) 
>    Affects Versions: 4.3.2, 4.4.4, 4.5.2
>            Reporter: sadhu suresh
>            Assignee: 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)

Reply via email to