Bug 1040711 - GlusterFS online snap deletion may loop endlessly
Summary: GlusterFS online snap deletion may loop endlessly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 4.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: z1
: 4.0
Assignee: Eric Harney
QA Contact: Yogev Rabl
URL:
Whiteboard:
: 1052969 (view as bug list)
Depends On: 1056037
Blocks: 1033652 1033714 1045196 1052969
TreeView+ depends on / blocked
 
Reported: 2013-12-12 00:09 UTC by Eric Harney
Modified: 2019-09-09 13:29 UTC (History)
8 users (show)

Fixed In Version: openstack-nova-2013.2.1-2.el6ost
Doc Type: Bug Fix
Doc Text:
Prior to this update, Compute's method of tracking libvirt block jobs may have resulted in certain jobs not completing as expected. As a result, Block Storage snapshot delete operations would timeout without finalizing the snapshot delete process. With this fix, Compute polls the block job until the job is completed, and then marks it as finished. Consequently, snapshot deletion for attached Block Storage GlusterFS-backed volumes now completes successfully. Note that the "libvirt-0.10.2-29.el6_5.2" update from RHEL 6.5.z is required for this fix.
Clone Of:
Environment:
Last Closed: 2014-01-23 14:22:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1260123 0 None None None Never
OpenStack gerrit 63221 0 None None None Never
Red Hat Bugzilla 1033652 0 high CLOSED GlusterFS: can't create a second snapshot (online) after deleting the first one (online) 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2014:0046 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 4 Bug Fix and Enhancement Advisory 2014-01-23 00:51:59 UTC

Internal Links: 1033652

Description Eric Harney 2013-12-12 00:09:20 UTC
Description of problem:
Online snap deletion may loop endlessly

I have not encountered this on RHOS yet, but I'm filing this so I can look into it and see if it is an issue on RHOS as well.

If libvirt returns an empty dict indicating no block job, the delete process will interpret this as "in progress" rather than "complete" and may not complete as expected.

May appear with libvirt-0.10.2-29.el6_5.2 on RHEL 6.5, related bug: 1038815.

Comment 1 Eric Harney 2013-12-19 20:36:59 UTC
Confirmed broken with:

libvirt-0.10.2-29.el6_5.2.x86_64
libvirt-python-0.10.2-29.el6_5.2.x86_64

Comment 2 Ayal Baron 2014-01-15 14:33:18 UTC
*** Bug 1052969 has been marked as a duplicate of this bug. ***

Comment 7 Dafna Ron 2014-01-21 18:03:48 UTC
delete of snapshot when it's the only snapshot for a volume fails. 

after discussion with devel, this bug was verified using a volume with more than one snapshot:

1. create a volume
2. boot instance from the volume
3. create two snapshots
4. delete one. 

the delete succeeded. 

moving to verified on openstack-cinder-2013.2.1-5.el6ost.noarch

Comment 10 Lon Hohberger 2014-02-04 17:19:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-0046.html


Note You need to log in before you can comment on or make changes to this bug.