live migration don`t work

Bug #1711568 reported by fxpester
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nova-lxd
New
Undecided
Unassigned

Bug Description

devstack ocata, on xenial, trace:

2017-08-18 13:25:43.931 ERROR object [req-51f26b6d-803d-44f6-aa6a-283e754d0515 admin admin] Unable to instantiate unregistered object type LXDLiveMigrateData
2017-08-18 13:25:43.932 ERROR oslo_messaging.rpc.server [req-51f26b6d-803d-44f6-aa6a-283e754d0515 admin admin] Exception during message handling
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server new_args[argname] = self.serializer.deserialize_entity(ctxt, arg)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/rpc.py", line 147, in deserialize_entity
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server return self._base.deserialize_entity(context, entity)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/objects/base.py", line 253, in deserialize_entity
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server entity = self._process_object(context, entity)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/objects/base.py", line 202, in _process_object
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server objinst = NovaObject.obj_from_primitive(objprim, context=context)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 414, in obj_from_primitive
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server objclass = cls.obj_class_from_name(objname, objver)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 365, in obj_class_from_name
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server raise exception.UnsupportedObjectError(objtype=objname)
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server UnsupportedObjectError: Unsupported object type LXDLiveMigrateData
2017-08-18 13:25:43.932 TRACE oslo_messaging.rpc.server

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

I have been running tempest against a new devstack and live migration seems fine. If this is still happening, can you re-open the bug. Thanks!

Changed in nova-lxd:
status: New → Incomplete
Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

Hello Chris,

This issue is happening in my environment.
I use the latest openstack of master branch.

In my understand, nova-compute and nova-conductor require registering the LXDLiveMigrateData object.

We can register it for nova-compute because nova-compute can imports nova-lxd driver. I attach a patch to do it.

But, nova-conductor cannot do it because nova-conductor don't use nova-lxd driver.
I currently don't have solutions for this issue.

Changed in nova-lxd:
status: Incomplete → New
Revision history for this message
Rikimaru Honjo (honjo-rikimaru-c6) wrote :

I sent a mail about this issue to openstack-discuss mailing list.

As a result, Matt Riedemann explained how power-vm driver addressed a similar issue.
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/004165.html

Changed in nova-lxd:
assignee: nobody → Rikimaru Honjo (honjo-rikimaru-c6)
Changed in nova-lxd:
assignee: Rikimaru Honjo (honjo-rikimaru-c6) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.