yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35379
[Bug 1475202] [NEW] Snapshot deleting of attached volume fails with remotefs volume drivers
Public bug reported:
cinder create --image-id 3dc83685-ed82-444c-8863-1e962eb33de8 1 # ID of
cirros image
nova boot qwe --flavor m1.tiny --block-device id=d62c5786-1d13-46bb-
be13-3b110c144de7,source=volume,dest=volume,type=disk,bootindex=0
cinder snapshot-create --force=True 46b22595-31b0-41ca-8214-8ad6b81a06b6
cinder snapshot-delete 43fb72a4-963f-45f7-8b42-89e7c2cbd720
Then check nova-compute log:
2015-07-16 08:44:26.841 ERROR nova.virt.libvirt.driver [req-f92f3dd2-1bef-4c2c-8208-54d765592985 nova service] Error occurred during volume_snapshot_delete, sending error status to Cinder.
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver Traceback (most recent call last):
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2004, in volume_snapshot_delete
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver self._volume_snapshot_delete(context, instance, volume_id,
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 1939, in _volume_snapshot_delete
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver dev = guest.get_block_device(rebase_disk)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/guest.py", line 302, in rebase
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver self._disk, base, self.REBASE_DEFAULT_BANDWIDTH, flags=flags)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver result = proxy_call(self._autowrap, f, *args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver rv = execute(f, *args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver six.reraise(c, e, tb)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver rv = meth(*args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/libvirt.py", line 865, in blockRebase
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver if ret == -1: raise libvirtError ('virDomainBlockRebase() failed', dom=self)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver libvirtError: invalid argument: flag VIR_DOMAIN_BLOCK_REBASE_RELATIVE is valid only with non-null base
** Affects: nova
Importance: Critical
Assignee: Dmitry Guryanov (dguryanov)
Status: In Progress
--
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/1475202
Title:
Snapshot deleting of attached volume fails with remotefs volume
drivers
Status in OpenStack Compute (nova):
In Progress
Bug description:
cinder create --image-id 3dc83685-ed82-444c-8863-1e962eb33de8 1 # ID
of cirros image
nova boot qwe --flavor m1.tiny --block-device id=d62c5786-1d13-46bb-
be13-3b110c144de7,source=volume,dest=volume,type=disk,bootindex=0
cinder snapshot-create --force=True
46b22595-31b0-41ca-8214-8ad6b81a06b6
cinder snapshot-delete 43fb72a4-963f-45f7-8b42-89e7c2cbd720
Then check nova-compute log:
2015-07-16 08:44:26.841 ERROR nova.virt.libvirt.driver [req-f92f3dd2-1bef-4c2c-8208-54d765592985 nova service] Error occurred during volume_snapshot_delete, sending error status to Cinder.
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver Traceback (most recent call last):
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2004, in volume_snapshot_delete
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver self._volume_snapshot_delete(context, instance, volume_id,
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 1939, in _volume_snapshot_delete
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver dev = guest.get_block_device(rebase_disk)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/opt/stack/new/nova/nova/virt/libvirt/guest.py", line 302, in rebase
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver self._disk, base, self.REBASE_DEFAULT_BANDWIDTH, flags=flags)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver result = proxy_call(self._autowrap, f, *args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver rv = execute(f, *args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver six.reraise(c, e, tb)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver rv = meth(*args, **kwargs)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver File "/usr/lib/python2.7/site-packages/libvirt.py", line 865, in blockRebase
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver if ret == -1: raise libvirtError ('virDomainBlockRebase() failed', dom=self)
2015-07-16 08:44:26.841 29626 ERROR nova.virt.libvirt.driver libvirtError: invalid argument: flag VIR_DOMAIN_BLOCK_REBASE_RELATIVE is valid only with non-null base
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1475202/+subscriptions
Follow ups