Rayees Namathponnan created CLOUDSTACK-6330:
-----------------------------------------------
Summary: [Automation] createRemoteAccessVpn call fails with access
permission error
Key: CLOUDSTACK-6330
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6330
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.4.0
Environment: KVM - RHEL 6.3
Reporter: Rayees Namathponnan
Priority: Blocker
Fix For: 4.4.0
Attachments: CLOUDSTACK-6329.rar
BVT test case
integration.smoke.test_vpc_vpn.TestVpcRemoteAccessVpn.test_vpc_remote_access_vpn
fails with access permission error
Test case performing below operations
# 0) Get the default network offering for VPC
# 1) Create VPC
# 2) Create network in VPC
# 3) Deploy a vm
# 4) Enable VPN for VPC
# 5) Create VPC
2014-04-02 11:40:48,266 DEBUG [c.c.a.ApiServlet]
(catalina-exec-18:ctx-9388ac0c) ===START=== 10.223.240.194 -- GET account=
test-TestVpcRemoteAccessVpn-1Z6BEE&domainid=8ffdcd8e-ba8f-11e3-b505-1a6f7bb0d0a8&publicipid=e5ad648d-b94c-4885-8b03-83c768bc0
c2a&apiKey=t3Wyi-p5OTh1n5J_y-x8QpwEqHpnyde1729HI5LLHvH5Bd4XU5nEg5n7i6xOIhZOECZ3KcKYnakvdI5hkneqrg&command=createRemoteAccessV
pn&signature=vqKhSRZqDY29p%2FdQ2rkNCpP0Pgg%3D&response=json
Create VPN API call failed below error
2014-04-02 11:40:48,316 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker]
(catalina-exec-18:ctx-9388ac0c ctx-c10943a9 ctx-7653a367) Account
Acct[ff7400de-e5d0-4e56-8609-245f1a074cd3-admin] does not have permission to
access resource 10.223.122.73 for access type: UseEntry
2014-04-02 11:40:48,316 INFO [c.c.a.ApiServer] (catalina-exec-18:ctx-9388ac0c
ctx-c10943a9 ctx-7653a367) PermissionDenied:
Acct[ff7400de-e5d0-4e56-8609-245f1a074cd3-admin] does not have permission to
access resource 10.223.122.73 on objs: []
2014-04-02 11:40:48,317 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-9388ac0c
ctx-c10943a9 ctx-7653a367) ===END=== 10.223.240.194 -- GET
account=test-TestVpcRemoteAccessVpn-1Z6BEE&domainid=8ffdcd8e-ba8f-11e3-b505-1a6f7bb0d0a8&publicipid=e5ad648d-b94c-4885-8b03-83c768bc0c2a&apiKey=t3Wyi-p5OTh1n5J_y-x8QpwEqHpnyde1729HI5LLHvH5Bd4XU5nEg5n7i6xOIhZOECZ3KcKYnakvdI5hkneqrg&command=createRemoteAccessVpn&signature=vqKhSRZqDY29p%2FdQ2rkNCpP0Pgg%3D&response=json
--
This message was sent by Atlassian JIRA
(v6.2#6252)