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 06B4A11983 for ; Wed, 14 May 2014 23:36:51 +0000 (UTC) Received: (qmail 65058 invoked by uid 500); 10 May 2014 22:02:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 44511 invoked by uid 500); 10 May 2014 22:01:13 -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 7239 invoked by uid 500); 10 May 2014 21:58:36 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 83627 invoked by uid 99); 10 May 2014 21:57:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 21:57:22 +0000 Date: Sat, 10 May 2014 21:57:22 +0000 (UTC) From: "Min Chen (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6617) [Automation] detach / resize volume test cases failing with permission error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6617?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13993778#comment-13993778 ]=20 Min Chen commented on CLOUDSTACK-6617: -------------------------------------- Can you please attach DB dump as well? > [Automation] detach / resize volume test cases failing with permission e= rror=20 > -------------------------------------------------------------------------= ----- > > Key: CLOUDSTACK-6617 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-661= 7 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Volumes, Xen > Affects Versions: 4.4.0 > Reporter: Rayees Namathponnan > Assignee: Min Chen > Fix For: 4.4.0 > > Attachments: management-server.log > > > This issue is observed in 4.4-forward automation in Xen, test case integr= ation.smoke.test_volumes.TestVolumes.test_06_download_detached_volume faili= ng with permission error=20 > integration.smoke.test_volumes.TestVolumes.test_08_resize_volume=20 > Execute cmd: attachvolume failed, due to: errorCode: 531, errorText:Acct[= c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have permission to per= form this operation on these resources > -------------------- >> begin captured stdout << --------------------- > =3D=3D=3D TestName: test_06_download_detached_volume | Status : EXCEPTION= =3D=3D=3D > --------------------- >> end captured stdout << ---------------------- > -------------------- >> begin captured logging << -------------------- > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): DEBUG: ::::::::::::STARTED : TC: test_06_download_detached_volume :::= :::::::: > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): DEBUG: Extract detached Volume ID: 885ac921-4728-4903-9621-b07c5353e9= bc > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): DEBUG: Payload: {'apiKey': u'WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYS= po6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQ', 'virtualmachineid': u'2e1e= f913-b207-4688-bbaa-408797810d3a', 'id': u'885ac921-4728-4903-9621-b07c5353= e9bc', 'command': 'attachVolume', 'signature': 'hnLR1wCmFp5EtwMZRaS1e3J75S8= =3D', 'response': 'json'} > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): DEBUG: =3D=3D=3D=3D=3D=3D=3D=3DSending GET Cmd : attachVolume=3D=3D= =3D=3D=3D=3D=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.220.76.63 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DWnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_= uffuYKoPpOQRuQ&virtualmachineid=3D2e1ef913-b207-4688-bbaa-408797810d3a&id= =3D885ac921-4728-4903-9621-b07c5353e9bc&command=3DattachVolume&signature=3D= hnLR1wCmFp5EtwMZRaS1e3J75S8%3D&response=3Djson HTTP/1.1" 531 212 > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): ERROR: Exception:['Traceback (most recent call last):\n', ' File "/l= ocal/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/s= ite-packages/marvin/cloudstackConnection.py", line 313, in __parseAndGetRes= ponse\n response_cls)\n', ' File "/local/jenkins/workspace/xenrt-bvt-ba= sic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py",= line 151, in getResultObj\n raise cloudstackException.CloudstackAPIExce= ption(respname, errMsg)\n', 'CloudstackAPIException: Execute cmd: attachvol= ume failed, due to: errorCode: 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-= f815ad18c770-admin] does not have permission to perform this operation on t= hese resources\n'] > Traceback (most recent call last): > File "/local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib= /python2.7/site-packages/marvin/cloudstackConnection.py", line 313, in __pa= rseAndGetResponse > response_cls) > File "/local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib= /python2.7/site-packages/marvin/jsonHelper.py", line 151, in getResultObj > raise cloudstackException.CloudstackAPIException(respname, errMsg) > CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCo= de: 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does no= t have permission to perform this operation on these resources > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): ERROR: marvinRequest : CmdName: Exception: ['Traceback (most recent call= last):\n', ' File "/local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/en= v/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 3= 80, in marvinRequest\n raise self.__lastError\n', 'CloudstackAPIExceptio= n: Execute cmd: attachvolume failed, due to: errorCode: 531, errorText:Acct= [c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have permission to pe= rform this operation on these resources\n'] > Traceback (most recent call last): > File "/local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib= /python2.7/site-packages/marvin/cloudstackConnection.py", line 380, in marv= inRequest > raise self.__lastError > CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCo= de: 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does no= t have permission to perform this operation on these resources > test_06_download_detached_volume (integration.smoke.test_volumes.TestVolu= mes): CRITICAL: EXCEPTION: test_06_download_detached_volume: ['Traceback (m= ost recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", l= ine 332, in run\n testMethod()\n', ' File "/home/jenkins/workspace/xenr= t-bvt-basic-xs/cloudstack.git/test/integration/smoke/test_volumes.py", line= 473, in test_06_download_detached_volume\n self.virtual_machine.attach_= volume(self.apiClient, self.volume)\n', ' File "/local/jenkins/workspace/x= enrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/lib/= base.py", line 629, in attach_volume\n return apiclient.attachVolume(cmd= )\n', ' File "/local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/loca= l/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",= line 1632, in attachVolume\n response =3D self.connection.marvinRequest= (command, response_type=3Dresponse, method=3Dmethod)\n', ' File "/local/je= nkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-pac= kages/marvin/cloudstackConnection.py", line 385, in marvinRequest\n rais= e e\n', 'CloudstackAPIException: Execute cmd: attachvolume failed, due to: = errorCode: 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] = does not have permission to perform this operation on these resources\n'] > --------------------- >> end captured logging << --------------------- > I dont have MS log, at this point of time=20 -- This message was sent by Atlassian JIRA (v6.2#6252)