← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381153] Re: Cannot create instance live snapshots in Centos7 (icehouse)

 

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

** Changed in: nova
       Status: Opinion => Confirmed

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

Title:
  Cannot create instance live snapshots in Centos7 (icehouse)

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  When trying to create a snapshot through horizon from a running
  instance I get this error:

  2014-10-14 17:45:19.602 33435 INFO nova.virt.libvirt.driver [req-4cce8ec4-e5ae-4614-b82a-4aac602aa110 977d2518de7042369d6f9fdf505326d3 89382cc045ad415684985bbfb0a02fee] [instance: 0816d148-d271-42d8-9bba-da78927d0eff] Beginning live snapshot process
  2014-10-14 17:45:19.919 33435 INFO nova.virt.libvirt.driver [req-4cce8ec4-e5ae-4614-b82a-4aac602aa110 977d2518de7042369d6f9fdf505326d3 89382cc045ad415684985bbfb0a02fee] [instance: 0816d148-d271-42d8-9bba-da78927d0eff] Snapshot extracted, beginning image upload
  2014-10-14 17:45:20.167 33435 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: unsupported configuration: block copy is not supported with this QEMU binary
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     payload)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 274, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     pass
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 260, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 303, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 290, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 353, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     % image_id, instance=instance)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 343, in decorated_function
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     *args, **kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2736, in snapshot_instance
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     task_states.IMAGE_SNAPSHOT)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2767, in _snapshot_instance
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     update_task_state)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1570, in snapshot
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     image_format)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1664, in _live_snapshot
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     libvirt.VIR_DOMAIN_BLOCK_REBASE_SHALLOW)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 179, in doit
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 139, in proxy_call
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     rv = execute(f,*args,**kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 77, in tworker
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     rv = meth(*args,**kwargs)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 646, in blockRebase
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher     if ret == -1: raise libvirtError ('virDomainBlockRebase() failed', dom=self)
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher libvirtError: unsupported configuration: block copy is not supported with this QEMU binary
  2014-10-14 17:45:20.167 33435 TRACE oslo.messaging.rpc.dispatcher
  2014-10-14 17:45:20.169 33435 ERROR oslo.messaging._drivers.common [-] Returning exception unsupported configuration: block copy is not supported with this QEMU binary to caller
  2014-10-14 17:45:20.169 33435 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped\n    payload)\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped\n    return f(self, context, *args, **kw)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 274, in decorated_function\n    pass\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 260, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 303, in decorated_function\n    e, sys.exc_info())\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 290, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 353, in decorated_function\n    % image_id, instance=instance)\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 343, in decorated_function\n    *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2736, in snapshot_instance\n    task_states.IMAGE_SNAPSHOT)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2767, in _snapshot_instance\n    update_task_state)\n', '  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1570, in snapshot\n    image_format)\n', '  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1664, in _live_snapshot\n    libvirt.VIR_DOMAIN_BLOCK_REBASE_SHALLOW)\n', '  File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 179, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 139, in proxy_call\n    rv = execute(f,*args,**kwargs)\n', '  File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 77, in tworker\n    rv = meth(*args,**kwargs)\n', '  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 646, in blockRebase\n    if ret == -1: raise libvirtError (\'virDomainBlockRebase() failed\', dom=self)\n', 'libvirtError: unsupported configuration: block copy is not supported with this QEMU binary\n']

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


References