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