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 D61A710EEC for ; Tue, 13 Aug 2013 05:48:51 +0000 (UTC) Received: (qmail 69339 invoked by uid 500); 13 Aug 2013 05:48:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 69201 invoked by uid 500); 13 Aug 2013 05:48:51 -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 69179 invoked by uid 500); 13 Aug 2013 05:48:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 69166 invoked by uid 99); 13 Aug 2013 05:48:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 05:48:51 +0000 Date: Tue, 13 Aug 2013 05:48:51 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-3759) [Automation] Attach volume on a vm deployed with startvm=False fails 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-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-3759: ------------------------------------------- Status: Open (was: Ready To Review) Rejecting the patch as this has already fixed by https://issues.apache.org/jira/browse/CLOUDSTACK-4244 > [Automation] Attach volume on a vm deployed with startvm=False fails > -------------------------------------------------------------------- > > Key: CLOUDSTACK-3759 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3759 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Automation, Test > Affects Versions: 4.2.0 > Reporter: Rayees Namathponnan > Assignee: Fang Wang > Priority: Blocker > Fix For: 4.2.0 > > Attachments: attachvolumefail.log > > > Test cases failed from integration.component.test_stopped_vm.TestDeployVM > Steps to reproduce > ------------------------------ > Step 1 : Create a VM from command line with start state is false > Step 2 : Create a volume and attach the volume to stopped VM > Actual Result > Volume attachment failed; > Observed below error automation test log > > attach volume failed! > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestDeployVM: DEBUG: Deploying instance in the account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Deployed instance in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Verify listVirtualMachines response for virtual machine: c90e1365-702a-4a68-86d6-f5d75437b623 > testclient.testcase.TestDeployVM: DEBUG: Creating a volume in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Created volume in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Attaching volume to instance: c90e1365-702a-4a68-86d6-f5d75437b623 > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_stopped_vm.py", line 611, in test_06_deploy_startvm_attach_detach > self.fail("Attach volume failed!") > File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail > raise self.failureException(msg) > Attach volume failed! > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestDeployVM: DEBUG: Deploying instance in the account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Deployed instance in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Verify listVirtualMachines response for virtual machine: c90e1365-702a-4a68-86d6-f5d75437b623 > testclient.testcase.TestDeployVM: DEBUG: Creating a volume in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Created volume in account: test-S35RTQ > testclient.testcase.TestDeployVM: DEBUG: Attaching volume to instance: c90e1365-702a-4a68-86d6-f5d75437b623 > --------------------- >> end captured logging << --------------------- -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira