[
https://issues.apache.org/jira/browse/CLOUDSTACK-6331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988093#comment-13988093
]
Nitin Mehta commented on CLOUDSTACK-6331:
-----------------------------------------
Fixed as part of CLOUDSTACK-6468
> [Automation] Template Permissions test cases failing with error "Only ROOT
> admins are allowed to modify this attribute"
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6331
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6331
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Template
> Affects Versions: 4.4.0
> Environment: KVM RHEL 6.3
> Reporter: Rayees Namathponnan
> Assignee: Nitin Mehta
> Priority: Blocker
> Fix For: 4.4.0
>
> Attachments: CLOUDSTACK-6329.rar
>
>
> Test case
> integration.smoke.test_templates.TestTemplates.test_05_template_permissions
> failing from BVT
> Steps to reproduce
> 1) Deploy VM
> 2) Create snapshot and create template from snapshot
> 3) Updated template permission "Update to private"
> Result
> Template update operation fails with error "Only ROOT admins are allowed to
> modify this attribute"
> 2014-04-02 12:05:57,472 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-9:ctx-1ccdf2c1) ===START=== 10.223.240.194 -- GET apiKey=t3
> Wyi-p5OTh1n5J_y-x8QpwEqHpnyde1729HI5LLHvH5Bd4XU5nEg5n7i6xOIhZOECZ3KcKYnakvdI5hkneqrg&isfeatured=True&ispublic=True&isextracta
> ble=False&response=json&command=updateTemplatePermissions&signature=YxifB0nikFnbYj40J9Koej8P1yk%3D&id=efed6582-1e60-4f8e-b9a0
> -3c2f6e1fde3c
> 2014-04-02 12:05:57,476 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-e19a73c2) Found 0 netwo
> rks to update RvR status.
> 2014-04-02 12:05:57,497 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-9:ctx-1ccdf2c1 ctx-cb8d0196 ctx-6eaa1873) Access to {
> Tmpl[208-QCOW2-8897aa78-3d38-488c-aba2-e7be5b817705} granted to
> Acct[cde317a6-d332-452a-9e78-5ad2e2ce38b0-admin] by RoleBased
> EntityAccessChecker
> 2014-04-02 12:05:57,501 DEBUG [c.c.u.AccountManagerImpl]
> (catalina-exec-9:ctx-1ccdf2c1 ctx-cb8d0196 ctx-6eaa1873) Root Access
> granted to Acct[027223ec-ba90-11e3-b505-1a6f7bb0d0a8-admin] by
> RoleBasedEntityAccessChecker
> 2014-04-02 12:05:57,501 INFO [c.c.a.ApiServer] (catalina-exec-9:ctx-1ccdf2c1
> ctx-cb8d0196 ctx-6eaa1873) Only ROOT admins are allowed to modify this
> attribute.
> 2014-04-02 12:05:57,502 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-9:ctx-1ccdf2c1 ctx-cb8d0196 ctx-6eaa1873) ===END===
> 10.223.240.194 -- GET
> apiKey=t3Wyi-p5OTh1n5J_y-x8QpwEqHpnyde1729HI5LLHvH5Bd4XU5nEg5n7i6xOIhZOECZ3KcKYnakvdI5hkneqrg&isfeatured=True&ispublic=True&isextractable=False&response=json&command=updateTemplatePermissions&signature=YxifB0nikFnbYj40J9Koej8P1yk%3D&id=efed6582-1e60-4f8e-b9a0-3c2f6e1fde3c
--
This message was sent by Atlassian JIRA
(v6.2#6252)