← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1273731] [NEW] attaching a cinder volume to running instance silently fails

 

Public bug reported:

when using
compute_driver=vmwareapi.VMwareVCDriver
volume_driver=cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver

after creating a VM and cinder volume and attaching it:
nova boot --image cirros-0.3.1-x86_64-disk.vmdk --flavor m1.tiny foo
cinder create --display-name baz 1
nova volume-attach foo aeb729e5-bfb4-4ac2-9d73-eec70e03903a auto

the cinder volume remains available, but in the nova api.log:

2014-01-28 15:28:45.815 4986 WARNING nova.virt.vmwareapi.driver [-] Task [ReconfigVM_Task] (returnval){
   value = "task-7702"
   _type = "Task"
 } status: error The attempted operation cannot be performed in the current state (Powered on).

I think it would be good to report such error to the user. It may be
good to check the VM state before even trying to attach the vol.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1273731

Title:
  attaching a cinder volume to running instance silently fails

Status in OpenStack Compute (Nova):
  New

Bug description:
  when using
  compute_driver=vmwareapi.VMwareVCDriver
  volume_driver=cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver

  after creating a VM and cinder volume and attaching it:
  nova boot --image cirros-0.3.1-x86_64-disk.vmdk --flavor m1.tiny foo
  cinder create --display-name baz 1
  nova volume-attach foo aeb729e5-bfb4-4ac2-9d73-eec70e03903a auto

  the cinder volume remains available, but in the nova api.log:

  2014-01-28 15:28:45.815 4986 WARNING nova.virt.vmwareapi.driver [-] Task [ReconfigVM_Task] (returnval){
     value = "task-7702"
     _type = "Task"
   } status: error The attempted operation cannot be performed in the current state (Powered on).

  I think it would be good to report such error to the user. It may be
  good to check the VM state before even trying to attach the vol.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1273731/+subscriptions


Follow ups

References