[ https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987901#comment-13987901 ]
ASF subversion and git services commented on CLOUDSTACK-6556: ------------------------------------------------------------- Commit 9f798823effac147a4d02adc350c940bff2ec9f5 in cloudstack's branch refs/heads/4.4 from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9f79882 ] CLOUDSTACK-6556: [Automation] Deploy VM failing with error "does not have permission to access resource Ntwk". > [Automation] Deploy VM failing with error "does not have permission to access > resource Ntwk" > -------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6556 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556 > 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 advanced zone > Build - 4.4-forward > Reporter: Rayees Namathponnan > Assignee: Min Chen > Priority: Blocker > Fix For: 4.4.0 > > Attachments: CLOUDSTACK-6556.rar, management.rar > > > This issue found with automation run, test case performing below steps > Steps to reproduce > Step 1 : Create advanced zone in KVM > Step 2 : create an domain and account > Step 3 : create network > Step 4 : and deploy VM > Deploy VM failing with below error > 2014-05-01 10:19:04,211 INFO [a.c.c.a.ApiServer] > (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 > accountId=2 sessionId=null) 10.223.240.194 -- GET > domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8&zoneid=21489cf5-d741-408d-8997-1b06b8263799&apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkw&serviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476e&displayname=Test+VM&signature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3D&templateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8&response=json&account=test-TestDeployVM-test_deploy_vm_multiple-LDX2GO&name=testvm&command=deployVirtualMachine&hypervisor=KVM > 531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have > permission to access resource > Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8] > Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, > mysql> select * from networks where > uuid="968f35d1-62b2-448c-835d-1bf688c2d99e"\G; > *************************** 1. row *************************** > id: 579 > name: > test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network > uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e > display_text: > test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network > traffic_type: Guest > broadcast_domain_type: Vlan > broadcast_uri: NULL > gateway: 10.1.1.1 > cidr: 10.1.1.0/24 > mode: Dhcp > network_offering_id: 8 > physical_network_id: 200 > data_center_id: 1 > guru_name: ExternalGuestNetworkGuru > state: Destroy > related: 579 > domain_id: 1 > account_id: 546 > dns1: NULL > dns2: NULL > guru_data: NULL > set_fields: 0 > acl_type: Account > network_domain: test.domain.org > reservation_id: NULL > guest_type: Isolated > restart_required: 0 > created: 2014-05-01 17:19:04 > removed: 2014-05-01 17:19:04 > specify_ip_ranges: 0 > vpc_id: NULL > ip6_gateway: NULL > ip6_cidr: NULL > network_cidr: NULL > display_network: 1 > network_acl_id: NULL > streched_l2: 0 > 1 row in set (0.00 sec) > ERROR: > No query specified > mysql> select * from account where id=546; > +-----+--------------------------------------------------+--------------------------------------+------+-----------+---------+---------------------+----------------+----------------+-----------------+---------+ > | id | account_name | uuid > | type | domain_id | state | removed | > cleanup_needed | network_domain | default_zone_id | default | > +-----+--------------------------------------------------+--------------------------------------+------+-----------+---------+---------------------+----------------+----------------+-----------------+---------+ > | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | > fcfd3a97-2f25-40e9-9a90-ded17c836678 | 0 | 1 | enabled | > 2014-05-01 17:19:04 | 0 | NULL | NULL | > 0 | > +-----+--------------------------------------------------+--------------------------------------+------+-----------+---------+---------------------+----------------+----------------+-----------------+---------+ > 1 row in set (0.00 sec) -- This message was sent by Atlassian JIRA (v6.2#6252)