Bug 1744507 - [downstream clone - 4.3.6] Snapshot creation was successful, but snapshot remains locked
Summary: [downstream clone - 4.3.6] Snapshot creation was successful, but snapshot rem...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.8-4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.6
: 4.3.6
Assignee: Benny Zlotnik
QA Contact: Shir Fishbain
URL:
Whiteboard:
Depends On: 1730436
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-22 10:07 UTC by RHV bug bot
Modified: 2020-08-03 15:30 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-4.3.6.4
Doc Type: No Doc Update
Doc Text:
Clone Of: 1730436
Environment:
Last Closed: 2019-10-10 15:36:58 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4289401 0 None None None 2019-08-22 10:08:24 UTC
Red Hat Product Errata RHEA-2019:3010 0 None None None 2019-10-10 15:37:11 UTC
oVirt gerrit 102160 0 'None' MERGED core: suspend transaction when execution child end action 2020-06-16 12:45:42 UTC
oVirt gerrit 102298 0 'None' MERGED core: suspend transaction when execution child end action 2020-06-16 12:45:42 UTC

Description RHV bug bot 2019-08-22 10:07:59 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1730436 +++
======================================================================

Description of problem:

Snapshot creation seemingly completed successfully, yet the snapshot remained 'LOCKED'. 

This VM consisted of two disks, each with three volumes, prior to the snapshot creation. The new volume for both disks was then successfully created and linked to each volume chain, marked as LEAF and set as the writable volume by 'qemu-kvm'.

All volume chains (d/b, volume metadata, XML, qcow headers) reflected the newly-added volumes correctly.

There were no tasks, jobs, steps or command entities in the d/b by the time it was captured.

It looks like the snapshot creation was successful, other than the snapshot (snapshots table entry) being unlocked.


Version-Release number of selected component (if applicable):

RHV 4.2.8
RHEL 7.6 hosts
  vdsm-4.30.13-4 (VM host)
  vdsm-4.20.47-1 (SPM)


How reproducible:

Not.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

(Originally by Gordon Watson)

Comment 8 RHV bug bot 2019-08-22 10:08:13 UTC
Yep, reproduced successfully

Steps to reproduce for QE, similar to [1]
1. Place a sleep in /usr/lib/python2.7/site-packages/vdsm/API.py Volume#getInfo() for about 90 seconds
2. Reduce transaction timeout to 60 seconds (see [1] for instructions)
3. Create a live snapshot




[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1590218#c15

(Originally by Benny Zlotnik)

Comment 9 RHV bug bot 2019-08-22 10:08:15 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops

(Originally by rhv-bugzilla-bot)

Comment 10 RHV bug bot 2019-08-22 10:08:17 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops

(Originally by rhv-bugzilla-bot)

Comment 12 Nisim Simsolo 2019-08-28 12:02:49 UTC
Verification builds:
rhvm-4.3.6.3-0.1.el7
vdsm-4.30.25-1.el7ev.x86_64
qemu-kvm-rhev-2.12.0-33.el7.x86_64
libvirt-4.5.0-23.el7.x86_64
sanlock-3.7.3-1.el7.x86_64

Verification scenario:
1. Place a sleep in /usr/lib/python2.7/site-packages/vdsm/API.py Volume#getInfo() for about 90 seconds
2. Reduce transaction timeout to 60 seconds (see [1] for instructions)
3. Create a live snapshot
4. Verify snapshot does not remain in "locked" state.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1590218#c15

Comment 13 Daniel Gur 2019-08-28 13:14:55 UTC
sync2jira

Comment 14 Daniel Gur 2019-08-28 13:19:58 UTC
sync2jira

Comment 15 RHV bug bot 2019-09-25 08:46:50 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Tag 'ovirt-engine-4.3.5.6' doesn't contain patch 'https://gerrit.ovirt.org/102298']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.3.5.6

For more info please contact: rhv-devops

Comment 17 errata-xmlrpc 2019-10-10 15:36:58 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://access.redhat.com/errata/RHEA-2019:3010


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