yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52654
[Bug 1593055] Re: Retype an in-use volume failed in mitaka
*** This bug is a duplicate of bug 1381153 ***
https://bugs.launchpad.net/bugs/1381153
Just for reference, this is a well know issue with some QEMU versions
that don't support blockcopy command. You just need to get the right
QEMU binary built and installed if you don't have the right one
available in your distro. There are some instructions around that may
help you: https://www.jrssite.com/wordpress/?p=302
** Changed in: nova
Status: New => Invalid
** This bug has been marked a duplicate of bug 1381153
Cannot create instance live snapshots in Centos7 (icehouse)
--
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/1593055
Title:
Retype an in-use volume failed in mitaka
Status in Cinder:
Invalid
Status in OpenStack Compute (nova):
Invalid
Bug description:
reproduce:
1 create an vm
2 create a volume in lvm
3 attach volume to vm
4 retype volume to another backend
Look at the log like qemu version problem.My qemu version is like this:
[root@localhost logs]# rpm -qa | grep qemu
qemu-img-1.5.3-105.el7_2.4.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.4.x86_64
ipxe-roms-qemu-20130517-8.gitc4bce43.el7_2.1.noarch
qemu-kvm-1.5.3-105.el7_2.4.x86_64
qemu-kvm-common-1.5.3-105.el7_2.4.x86_64
error logs:
2016-06-16 19:03:46.892 ERROR oslo_messaging.rpc.server [req-8c37204e-3484-448a-8aed-35f38403178d admin admin] Exception during handling message
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 153, in dispatch
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/exception.py", line 110, in wrapped
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server payload)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self.force_reraise()
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/exception.py", line 89, in wrapped
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server return f(self, context, *args, **kw)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 359, in decorated_function
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server LOG.warning(msg, e, instance=instance)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self.force_reraise()
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 328, in decorated_function
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 387, in decorated_function
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self.force_reraise()
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 375, in decorated_function
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 4991, in swap_volume
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server resize_to)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 4943, in _swap_volume
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self.volume_api.unreserve_volume(context, new_volume_id)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self.force_reraise()
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 4924, in _swap_volume
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server resize_to)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1429, in swap_volume
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self._swap_volume(guest, disk_dev, conf.source_path, resize_to)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1385, in _swap_volume
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server dev.rebase(new_path, copy=True, reuse_ext=True)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 529, in rebase
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server self._disk, base, self.REBASE_DEFAULT_BANDWIDTH, flags=flags)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server result = proxy_call(self._autowrap, f, *args, **kwargs)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server rv = execute(f, *args, **kwargs)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server six.reraise(c, e, tb)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server rv = meth(*args, **kwargs)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server File "/usr/lib64/python2.7/site-packages/libvirt.py", line 924, in blockRebase
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server if ret == -1: raise libvirtError ('virDomainBlockRebase() failed', dom=self)
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server libvirtError: unsupported configuration: block copy is not supported with this QEMU binary
2016-06-16 19:03:46.892 TRACE oslo_messaging.rpc.server
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1593055/+subscriptions