You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dhananjay D Pathak (JIRA)" <ji...@apache.org> on 2014/02/13 15:08:19 UTC
[jira] [Updated] (CLOUDSTACK-6097) [Automation] :
test_volumes.pyfails with error as "Failed to attach volume: TestDiskServ
to VM:; Failed to attach volume for uuid: due to You
attempted an operation on a VM that was not in an appropriate power state
at the time;
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dhananjay D Pathak updated CLOUDSTACK-6097:
-------------------------------------------
Attachment: runinfo.txt
results.txt
failed_plus_exceptions.txt
Log files for execution of test_volumes.py are attached.
> [Automation] : test_volumes.pyfails with error as "Failed to attach volume: TestDiskServ to VM:<VM ID>; Failed to attach volume for uuid: <Volume uuid> due to You attempted an operation on a VM that was not in an appropriate power state at the time;
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6097
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6097
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: marvin
> Affects Versions: 4.2.0
> Environment: CloudPlatform 4.2.0 on Red Hat Enterprise Linux Server release 6.4 (Santiago)
> Reporter: Dhananjay D Pathak
> Attachments: failed_plus_exceptions.txt, results.txt, runinfo.txt
>
>
> Marvin Test test_volumes.py fails with Error as described bellow (log files are attached):
> Test Volume attach/detach to VM (5 data volumes) ... ERROR
> Test Attach volumes (max capacity) ... ERROR
> Test attach volumes (more than max) to an instance ... ok
> Test Volumes and ISO attach ... ERROR
> Test custom disk sizes beyond range ... ok
> Attach a created Volume to a Running VM ... ok
> Detach a Volume attached to a VM ... ok
> Delete a Volume unattached to an VM ... ok
> Create a volume under a non-root domain as non-root-domain user ... ERROR
> ======================================================================
> ERROR: Test Volume attach/detach to VM (5 data volumes)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/DataDisk/temp/cloudstack/test/integration/component/test_volumes.py", line 520, in test_01_volume_attach_detach
> volume
> File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 543, in attach_volume
> return apiclient.attachVolume(cmd)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1483, in attachVolume
> response = self.connection.marvinRequest(command, response_type=response, method=method)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 280, in marvinRequest
> response = self.poll(asyncJobId, response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 86, in poll
> "asyncquery", asyncResonse.jobresult)
> cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Failed to attach volume: TestDiskServ to VM: ecd07768-df22-468a-8023-7f922564e9f5; Failed to attach volume for uuid: 1621ee3f-650d-4b25-a125-13a83aae4912 due to You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call."}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)