← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: libvirt

-- 
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):
  New

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


Follow ups

References