[ https://issues.apache.org/jira/browse/CLOUDSTACK-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sudha Ponnaganti closed CLOUDSTACK-3759. ---------------------------------------- duplicate > [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