Rayees Namathponnan created CLOUDSTACK-7076: -----------------------------------------------
Summary: [Automation] [BVT] Test case test_05_template_permissions fails with permission error Key: CLOUDSTACK-7076 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7076 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Simulator Affects Versions: 4.5.0 Environment: Simulator 4.5 / master build Reporter: Rayees Namathponnan Priority: Blocker Fix For: 4.5.0 Attachments: vmops.rar Steps to reproduce Run simulator automation with integration.smoke.test_templates.TestTemplates.test_05_template_permissions Test case fails with below error 2014-07-06 23:17:38,056 DEBUG [c.c.a.ApiServlet] (1061680681@qtp-1957555412-3:ctx-a3f13398 ctx-9ab068f6 ctx-3691ae8e) ===END=== 172.16.88.7 -- GET jobid=2b8bfd73-28ec-4255-9e85-653507ea02fb&apiKey=XhIrLnYTF-2c2uBt22f_kAbgMMuKDbHrjPyLKSOca9k5o08kGxZiiFVG-m637OyA71QLs9MRgbK2twbtvYc QNg&command=queryAsyncJobResult&response=json&signature=bBHuCKkOf3XfKZou18Rm4Oes4Pw%3D 2014-07-06 23:17:38,061 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-20:ctx-36dd2b04 job-254 ctx-8e0a2d7e) Sync job-255 executio n on object VmWorkJobQueue.30 2014-07-06 23:17:38,064 WARN [c.c.u.d.Merovingian2] (API-Job-Executor-20:ctx-36dd2b04 job-254 ctx-8e0a2d7e) Was unable to find lock for the key vm_instance30 and thread id 2092879036 2014-07-06 23:17:38,066 DEBUG [c.c.a.ApiServlet] (521460655@qtp-1957555412-4:ctx-a9912005 ctx-28f8b4f9 ctx-eab3e9de) ===END=== 172.16.88.7 - - GET jobid=7254ec80-3942-45e3-aca7-2dc2455f455a&apiKey=XhIrLnYTF-2c2uBt22f_kAbgMMuKDbHrjPyLKSOca9k5o08kGxZiiFVG-m637OyA71QLs9MRgbK2twbtvYcQ Ng&command=queryAsyncJobResult&response=json&signature=tPx1ZFM8uiQ7sJ%2FUuLE2OjAX9so%3D 2014-07-06 23:17:38,072 DEBUG [c.c.a.ApiServlet] (1061680681@qtp-1957555412-3:ctx-5dadb6b9) ===START=== 172.16.88.7 -- GET account=test-acc ount-TestTemplates-test_01_create_template-KU9FYL&domainid=39b9440a-059c-11e4-89a0-00163e0af42c&templatefilter=self&id=8e4c4d92-fa16-43f5-92b 0-701da7087ee8&apiKey=XhIrLnYTF-2c2uBt22f_kAbgMMuKDbHrjPyLKSOca9k5o08kGxZiiFVG-m637OyA71QLs9MRgbK2twbtvYcQNg&command=listTemplates&signature= NUaGf%2BvECdwLLTa%2FqZrX5fGg4p0%3D&response=json&listall=True 2014-07-06 23:17:38,081 DEBUG [c.c.u.AccountManagerImpl] (1061680681@qtp-1957555412-3:ctx-5dadb6b9 ctx-cf79c653 ctx-a46fadf1) Access granted to Acct[38b251c4-c1d7-4255-9c11-d96a8f020fb6-admin] to Domain:1/ by AffinityGroupAccessChecker 2014-07-06 23:17:38,090 DEBUG [c.c.a.ApiServlet] (1061680681@qtp-1957555412-3:ctx-5dadb6b9 ctx-cf79c653 ctx-a46fadf1) ===END=== 172.16.88.7 -- GET account=test-account-TestTemplates-test_01_create_template-KU9FYL&domainid=39b9440a-059c-11e4-89a0-00163e0af42c&templatefilter=self&i d=8e4c4d92-fa16-43f5-92b0-701da7087ee8&apiKey=XhIrLnYTF-2c2uBt22f_kAbgMMuKDbHrjPyLKSOca9k5o08kGxZiiFVG-m637OyA71QLs9MRgbK2twbtvYcQNg&command= listTemplates&signature=NUaGf%2BvECdwLLTa%2FqZrX5fGg4p0%3D&response=json&listall=True 2014-07-06 23:17:38,096 DEBUG [c.c.a.ApiServlet] (1061680681@qtp-1957555412-3:ctx-94f739cd) ===START=== 172.16.88.7 -- GET apiKey=XhIrLnYTF -2c2uBt22f_kAbgMMuKDbHrjPyLKSOca9k5o08kGxZiiFVG-m637OyA71QLs9MRgbK2twbtvYcQNg&isfeatured=True&ispublic=True&isextractable=True&id=0c0f6558-6b 8d-440c-9bd8-958889253754&command=updateTemplatePermissions&signature=bQX4FMuB0N4usHmdedFldyoOqjY%3D&response=json 2014-07-06 23:17:38,121 INFO [c.c.a.ApiServer] (1061680681@qtp-1957555412-3:ctx-94f739cd ctx-55b058e4 ctx-ba8cca4b) Only ROOT admins are all owed to modify this attribute. 2014-07-06 23:17:38,121 DEBUG [ -- This message was sent by Atlassian JIRA (v6.2#6252)