Comment 2 for bug 1226543

Revision history for this message
Vincent Hou (houshengbo) wrote :

Hi Gary,
I tried today. There is still errors when I attach the volume to the VM.

============================n-cpu=========================

2013-10-11 06:15:48.317 ERROR nova.openstack.common.rpc.amqp [req-1652a9a6-a236-49b0-8e83-063612b1f5a0 admin demo] Exception during me
ssage handling
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in
_process_data
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp **args)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 17
2, in dispatch
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp payload)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 73, in wrapped
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 243, in decorated_
function
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp pass
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 229, in decorated_
function
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 271, in decorated_
function
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info())
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 258, in decorated_
function
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3640, in attach_vo
lume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp context, instance, mountpoint)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3635, in attach_vo
lume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp mountpoint, instance)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3681, in _attach_v
olume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp connector)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 3671, in _attach_v
olume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp encryption=encryption)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 295, in atta
ch_volume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp mountpoint)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 277, in a
ttach_volume
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp self._attach_volume_vmdk(connection_info, instance, mountpoint)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 227, in _attach_volume_vmdk
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp unit_number=unit_number)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 71, in attach_disk_to_vm
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp self._session._wait_for_task(instance_uuid, reconfig_task)
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 900, in _wait_for_task
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp ret_val = done.wait()
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp return hubs.get_hub().switch()
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp return self.greenlet.switch()
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp NovaException: The attempted operation cannot be performed in the current state (Powered on).
2013-10-11 06:15:48.317 TRACE nova.openstack.common.rpc.amqp
2013-10-11 06:15:50.683 WARNING nova.virt.vmwareapi.driver [-] 任务 [ReconfigVM_Task] (returnval){
   value = "haTask-5-vim.VirtualMachine.reconfigure-364178225"
   _type = "Task"
 } 状态:错误 The attempted operation cannot be performed in the current state (Suspended).
2013-10-11 06:15:50.686 WARNING nova.virt.vmwareapi.driver [-] 在vmwareapi:_poll_task,得到这个错误 Trying to re-send() an already-triggered event.
2013-10-11 06:15:50.686 ERROR nova.openstack.common.loopingcall [-] in fixed duration looping call
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall Traceback (most recent call last):
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall File "/opt/stack/nova/nova/openstack/common/loopingcall.py", line 78, in _inner
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall self.f(*self.args, **self.kw)
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 929, in _poll_task
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall done.send_exception(excep)
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 208, in send_exception
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall return self.send(None, args)
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 150, in send
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.'
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall AssertionError: Trying to re-send() an already-triggered event.
2013-10-11 06:15:50.686 TRACE nova.openstack.common.loopingcall