← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439423] Re: live-migration --block-migrate fails without config drive

 

thanks to dims, I understood that my devstack were too old.

The change Idecf7966968369d2f372abffcab85fbf9aa097c7 in devstack is
fixing this bug

https://github.com/openstack-
dev/devstack/commit/d2287cfb9f4dfac71f14f3374514f5b8c2b0c70b

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1439423

Title:
  live-migration --block-migrate fails without config drive

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I'm using the libvirt driver

  I've configured libvirtd and nova so that block migration can occur.

  I boot a simple cirros, with no config drive; when I ask for a live-
  migration I get this error on my source node, concerning the
  incompatibily between live-migration and the config-drive attached to
  my VM  :


    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
      executor_callback))

    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
      executor_callback)

    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
      result = func(ctxt, **new_args)

    File "/opt/stack/nova/nova/compute/manager.py", line 440, in decorated_function
      return function(self, context, *args, **kwargs)

    File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
      payload)

    File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
      six.reraise(self.type_, self.value, self.tb)

    File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
      return f(self, context, *args, **kw)

    File "/opt/stack/nova/nova/compute/manager.py", line 352, in decorated_function
      kwargs['instance'], e, sys.exc_info())

    File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
      six.reraise(self.type_, self.value, self.tb)

    File "/opt/stack/nova/nova/compute/manager.py", line 340, in decorated_function
      return function(self, context, *args, **kwargs)

    File "/opt/stack/nova/nova/compute/manager.py", line 5120, in pre_live_migration
      migrate_data)

    File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5734, in pre_live_migration
      raise exception.NoLiveMigrationForConfigDriveInLibVirt()

  NoLiveMigrationForConfigDriveInLibVirt: Live migration of instances
  with config drives is not supported in libvirt unless libvirt instance
  path and drive data is shared across compute nodes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1439423/+subscriptions


References