[ https://issues.apache.org/jira/browse/CLOUDSTACK-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rayees Namathponnan closed CLOUDSTACK-6677. ------------------------------------------- Not found this issue new runs > [Automation] updateVMAffinityGroup failed with error "permission error" > ----------------------------------------------------------------------- > > Key: CLOUDSTACK-6677 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6677 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: IAM > Affects Versions: 4.4.0 > Environment: Vmware > advanced zone > 4.4-forward > Reporter: Rayees Namathponnan > Priority: Critical > Fix For: 4.4.0 > > > Execute the test case > integration.component.test_affinity_groups.TestUpdateVMAffinityGroups.test_01_update_aff_grp_by_ids > > This test cases Update the list of affinityGroups by using affinity groupids > updated affinity group failed with error > 2014-05-13 21:20:45,960 DEBUG [o.a.c.i.s.IAMServiceImpl] > (catalina-exec-20:ctx-9e812e17 ctx-40048f6e ctx-437e0f12) Put IAM access > check for > 2-AffinityGroup50-UseEntry-updateVMAffinityGroup in cache > 2014-05-13 21:20:45,960 INFO [c.c.a.ApiServer] > (catalina-exec-20:ctx-9e812e17 ctx-40048f6e ctx-437e0f12) PermissionDenied: > Account Acct[f5 > 8e93b1-a80a-44cf-aa3d-eedf6bafd291-admin] does not have permission to access > resource AffinityGroup[7bbb96b5-9e3a-4ec7-b3a6-c999ab0f05fa] f > or access type: UseEntry on objs: [] > 2014-05-13 21:20:45,967 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] > (catalina-exec-20:ctx-9e812e17 ctx-40048f6e ctx-437e0f12) IAM access c > heck for 2-null-null-SystemCapability from cache: true > 2014-05-13 21:20:45,967 DEBUG [c.c.u.AccountManagerImpl] > (catalina-exec-20:ctx-9e812e17 ctx-40048f6e ctx-437e0f12) Root Access granted > to A > cct[a6658972-daec-11e3-bccf-52b2d980df8a-admin] by > RoleBasedEntityAccessChecker > 2014-05-13 21:20:45,968 DEBUG [c.c.a.ApiServlet] > (catalina-exec-20:ctx-9e812e17 ctx-40048f6e ctx-437e0f12) ===END=== > 10.223.240.195 -- GET > > apiKey=I4_J6v2xRJz_ehxWb75VCpQmjkPiWGVJmWFjzQovyzxtQuLRtwX73c-U3WztYDQpErh-LqpeFz8_H5O5eiQjjA&affinitygroupids=f8d114d2-5f8e-4218-8911-7a > 168976e8f1%2C7bbb96b5-9e3a-4ec7-b3a6-c999ab0f05fa&id=b4591441-d44c-47df-bde1-35824608a5f1&command=updateVMAffinityGroup&signature=cZzhArouG > Yk4qBdpQNCtkEZ1f%2BU%3D&response=json -- This message was sent by Atlassian JIRA (v6.3.4#6332)