You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2013/05/07 03:07:15 UTC
[jira] [Created] (CLOUDSTACK-2352) Anti-Affinity - As admin user ,
not able to list affinity group created by other users by passins id
parameter to listaffinitygroups command. .
Sangeetha Hariharan created CLOUDSTACK-2352:
-----------------------------------------------
Summary: Anti-Affinity - As admin user , not able to list affinity group created by other users by passins id parameter to listaffinitygroups command. .
Key: CLOUDSTACK-2352
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2352
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Environment: Build from master
Reporter: Sangeetha Hariharan
Fix For: 4.2.0
Anti-Affinity - As admin user , not able to list affinity group created by other users by passing id parameter to listaffinitygroups command.
Steps to reproduce the problem:
1.As regular user : create affinity group g1,sg2. Deploy a Vm – vm1 in g1.
2.As admin:
List this Vm. go to "View Affinity Group" , when affinity group is listed , launch the detail view of this Affinity group.
UI hangs because the API call made from the UI, returns empty list.
GET command=listAffinityGroups&response=json&sessionkey=aGda%2FUIRf%2BIz0Ayz%2BVtquMVyx5w%3D&id=8ba39582-5004-4e77-a872-a5a4788c1371&_=1367888349988 200 { "listaffinitygroupsresponse" : { } }
mysql> select * from affinity_group where uuid="8ba39582-5004-4e77-a872-a5a4788c1371";
+----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
| id | name | type | uuid | description | domain_id | account_id |
+----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
| 12 | testsangee | host anti-affinity | 8ba39582-5004-4e77-a872-a5a4788c1371 | testsangee | 1 | 4 |
+----+------------+--------------------+--------------------------------------+-------------+-----------+------------+
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