Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36E86114ED for ; Thu, 1 May 2014 23:06:41 +0000 (UTC) Received: (qmail 57254 invoked by uid 500); 1 May 2014 23:06:26 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 57071 invoked by uid 500); 1 May 2014 23:06:23 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 56950 invoked by uid 500); 1 May 2014 23:06:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 56890 invoked by uid 99); 1 May 2014 23:06:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 23:06:19 +0000 Date: Thu, 1 May 2014 23:06:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error "does not have permission to access resource Ntwk" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987140#comment-13987140 ] ASF subversion and git services commented on CLOUDSTACK-6556: ------------------------------------------------------------- Commit 95e9db2f91451e7b88458baf5b599fc19e2c29b2 in cloudstack's branch refs/heads/master from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=95e9db2 ] 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 > > > 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)