[Openstack] resizing - migrating instance

Afef Mdhaffar afef.mdhaffar at gmail.com
Tue Jun 10 16:04:57 UTC 2014


Hi all,

I have installed openstack (folsom release) via devstack on Ubuntu 12.04
with XCP.
The actions of resizing / migrating instances generate the following error:
*****
2014-06-10 15:47:46 ERROR nova.compute.manager
[req-99ebb850-b681-412b-a06b-d7c266b81bdc afef cep4cma] [instance:
0696f1c0-8e3f-4b19-a1bb-afc9828ad38f] ['XENAPI_PLUGIN_FAILURE', 'parse
failure', 'expected root element line 1']. Setting instance vm_state to
ERROR
2014-06-10 15:47:46 DEBUG nova.utils
[req-99ebb850-b681-412b-a06b-d7c266b81bdc afef cep4cma] Got semaphore
"compute_resources" for method "update_usage"... from (pid=25391) inner
/opt/stack/nova/nova/utils.py:764
2014-06-10 15:47:46 DEBUG nova.utils
[req-99ebb850-b681-412b-a06b-d7c266b81bdc afef cep4cma] Got semaphore
"compute_resources" for method "update_usage"... from (pid=25391) inner
/opt/stack/nova/nova/utils.py:764
2014-06-10 15:47:46 ERROR nova.openstack.common.rpc.amqp [-] Exception
during message handling
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp Traceback (most
recent call last):
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 276, in
_process_data
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     rval =
self.proxy.dispatch(ctxt, version, method, **args)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 145, in
dispatch
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
getattr(proxyobj, method)(ctxt, **kwargs)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/exception.py", line 117, in wrapped
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     temp_level,
payload)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/exception.py", line 92, in wrapped
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
f(*args, **kw)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 176, in decorated_function
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     pass
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 162, in decorated_function
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
function(self, context, *args, **kwargs)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 197, in decorated_function
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp
kwargs['instance']['uuid'], e, sys.exc_info())
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 191, in decorated_function
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
function(self, context, *args, **kwargs)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 1758, in finish_resize
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp
self._set_instance_error_state(context, instance['uuid'])
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 1746, in finish_resize
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     disk_info,
image)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 1715, in _finish_resize
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp
block_device_info)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 204, in finish_migration
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     network_info,
image_meta, resize_instance)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 194, in finish_migration
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     root_vdi =
vm_utils.move_disks(self._session, instance, disk_info)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 2159, in move_disks
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp
sr_path=get_sr_path(session), uuid_stack=_make_uuid_stack())
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 742, in
call_plugin_serialized
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     rv =
self.call_plugin(plugin, fn, params)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 738, in call_plugin
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     host, plugin,
fn, args)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 752, in
_unwrap_plugin_exceptions
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
func(*args, **kwargs)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     return
self.__send(self.__name, args)
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in
xenapi_request
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     result =
_parse_result(getattr(self, methodname)(*full_params))
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp   File
"/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in
_parse_result
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp     raise
Failure(result['ErrorDescription'])
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp Failure:
['XENAPI_PLUGIN_FAILURE', 'parse failure', 'expected root element line 1']
2014-06-10 15:47:46 TRACE nova.openstack.common.rpc.amqp
****

Do you have some ideas to solve this issue?

Thank you

Best regards,
Afef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140610/a3763aa2/attachment.html>


More information about the Openstack mailing list