[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kishan Kavala resolved CLOUDSTACK-1674.
---------------------------------------

    Resolution: Duplicate

Root cause is same as CLOUDSTACK-1673
                
> AWS Regions - Events - Account Deletion event does not include the UUID of 
> the account deleted.
> -----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1674
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1674
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: Build from 4.1
>            Reporter: Sangeetha Hariharan
>            Assignee: Kishan Kavala
>             Fix For: 4.1.0
>
>
> AWS Regions - Events - Account Deletion event does not include the UUID of 
> the account deleted.
> Pre Req:
> 1. Configure Management server to point to RabbitMQ server for event 
> notifications.
> Steps:
> 1. Delete an existing account.
> Following is the payload of the event that gets published:
> "status":"Scheduled","event":"ACCOUNT.DELETE","account":"2aaa40d5-06e3-4c71-a60a-39535eaaa025","user":"3ff1190e-5aa3-4551-9cb3-a97db0bd0d51"
> Account that was deleted is -1be7e5f7-7a3f-467c-b30d-4d6f834254d9
>  
> 2013-03-13 17:04:38,991 INFO  [cloud.api.ApiServer] (catalina-exec-17:null) 
> (userId=18 accountId=10 sessionId=0690EAB2CFA04BC25E14307E51F3C1D8) 
> 10.217.252.128 -- GET 
> command=deleteAccount&response=json&sessionkey=29SBjUB%2BIKiq6apU9znaoezxjYI%3D&id=1be7e5f7-7a3f-467c-b30d-4d6f834254d9&_=1363219504574
>  200 { "deleteaccountresponse" : 
> {"jobid":"ed514158-c2c5-4fd8-af52-7f6c22822195"} }
> What we  we see in the payload is the account and user details of the user 
> that  performed the delete account operation. 
> mysql> select uuid,username from user where id=18;
> +--------------------------------------+----------+
> | uuid                                 | username |
> +--------------------------------------+----------+
> | 3ff1190e-5aa3-4551-9cb3-a97db0bd0d51 | san-adm1 |
> +--------------------------------------+----------+
> 1 row in set (0.00 sec)
> mysql> select uuid,account_name from account where id=10;
> +--------------------------------------+--------------+
> | uuid                                 | account_name |
> +--------------------------------------+--------------+
> | 2aaa40d5-06e3-4c71-a60a-39535eaaa025 | san-adm1     |
> +--------------------------------------+--------------+
> 1 row in set (0.00 sec)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to