Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B210AF5A1 for ; Mon, 25 Mar 2013 21:23:19 +0000 (UTC) Received: (qmail 83322 invoked by uid 500); 25 Mar 2013 21:23:18 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 83297 invoked by uid 500); 25 Mar 2013 21:23:18 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 83256 invoked by uid 500); 25 Mar 2013 21:23:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 83243 invoked by uid 99); 25 Mar 2013 21:23:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 21:23:18 +0000 Date: Mon, 25 Mar 2013 21:23:18 +0000 (UTC) From: "Sudha Ponnaganti (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1673) AWS Regions - Events - User disable event does not include the UUID of the user that was disabled. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13613154#comment-13613154 ] Sudha Ponnaganti commented on CLOUDSTACK-1673: ---------------------------------------------- Murali, can you fix it today. Need to cut RC drop thanks /sudha > AWS Regions - Events - User disable event does not include the UUID of the user that was disabled. > -------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1673 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1673 > 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: Latest build from 4.1 > Reporter: Sangeetha Hariharan > Assignee: Murali Reddy > Priority: Critical > Fix For: 4.1.0 > > > AWS Regions - Events - User disable event does not include the UUID of the user that was disabled. > Pre Req: > 1. Configure Management server to point to RabbitMQ server for event notifications. > Steps: > 1. Disable one of the existing users. > Following is the payload of the event that gets published: > {"status":"Scheduled","event":"USER.DISABLE","account":"1be7e5f7-7a3f-467c-b30d-4d6f834254d9","user":"3ff1190e-5aa3-4551-9cb3-a97db0bd0d51"} > UUID of the user that was disabled is NOT included in the payload. The user that is present in the payload is the admin user i was logged in as when I performed the disable action. Account that is passed is the account that the user that is disabled belongs to. > mysql> select * from user where uuid="3ff1190e-5aa3-4551-9cb3-a97db0bd0d51"; > +----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+------------------+---------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > | id | uuid | username | password | account_id | firstname | lastname | email | state | api_key | secret_key | created | removed | timezone | registration_token | is_registered | incorrect_login_attempts | region_id | > +----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+------------------+---------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > | 18 | 3ff1190e-5aa3-4551-9cb3-a97db0bd0d51 | san-adm1 | a072a11d146e3ff670cb4e43af5cdcc7 | 10 | san-adm1 | san-adm1 | san-adm1@abc.com | enabled | NULL | NULL | 2013-03-13 22:58:24 | NULL | America/Los_Angeles | NULL | 0 | 0 | 1 | > +----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+------------------+---------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > 1 row in set (0.00 sec) > mysql> select * from user where uuid="c6ca317e-386e-43eb-8892-a702807e1935"; > +----+--------------------------------------+------------+----------------------------------+------------+----------------+----------------+--------------------+----------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > | id | uuid | username | password | account_id | firstname | lastname | email | state | api_key | secret_key | created | removed | timezone | registration_token | is_registered | incorrect_login_attempts | region_id | > +----+--------------------------------------+------------+----------------------------------+------------+----------------+----------------+--------------------+----------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > | 4 | c6ca317e-386e-43eb-8892-a702807e1935 | san-test11 | 53d9012c4b85f29b8ff5c5c3606e9d62 | 4 | san-test113456 | san-test113456 | san-test11@abc.com | disabled | NULL | NULL | 2013-03-06 19:35:54 | NULL | America/Los_Angeles | NULL | 0 | 0 | 1 | > +----+--------------------------------------+------------+----------------------------------+------------+----------------+----------------+--------------------+----------+---------+------------+---------------------+---------+---------------------+--------------------+---------------+--------------------------+-----------+ > 1 row in set (0.00 sec) > mysql> -- 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