yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17341
[Bug 1226543] Re: VMware: attaching a volume to the VM failed
This is not a valid cinder bug. Nova vmware driver has to create or use
an existing controller in the instance VM to attach the volume and it is
unrelated to the controller in volume backing. Please re-open this if
you disagree.
** No longer affects: cinder
--
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/1226543
Title:
VMware: attaching a volume to the VM failed
Status in OpenStack Compute (Nova):
Triaged
Bug description:
I was using the image trend-tinyvm1-flat.vmdk. When I boot an VM and
attach a volume to it. The following error message was shown:
================================n-cpu==================================
2013-09-17 06:47:05.669 ERROR nova.openstack.common.rpc.amqp [req-fc4e0a9e-6bd5-45ac-b841-c89e17394603 admin demo] Exception during me
ssage handling
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in
_process_data
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp **args)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 17
2, in dispatch
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 89, in wrapped
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp payload)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 73, in wrapped
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 243, in decorated_
function
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp pass
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 229, in decorated_function
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 271, in decorated_function
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info())
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 258, in decorated_function
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3577, in attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp context, instance, mountpoint)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3572, in attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp mountpoint, instance)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3614, in _attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp connector)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3604, in _attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp mountpoint)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 290, in attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp mountpoint)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 272, in attach_volume
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp self._attach_volume_vmdk(connection_info, instance, mountpoint)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 222, in _attach_volume_vmdk
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp unit_number=unit_number)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 71, in attach_disk_to_vm
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp self._session._wait_for_task(instance_uuid, reconfig_task)
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 779, in _wait_for_task
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp ret_val = done.wait()
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp return hubs.get_hub().switch()
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp return self.greenlet.switch()
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp NovaException: The attempted operation cannot be performed in the current state (Powered on).
2013-09-17 06:47:05.669 TRACE nova.openstack.common.rpc.amqp
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1226543/+subscriptions