Bug 1383084 - Live merge with illegal/missing delta-qcow2 fails
Summary: Live merge with illegal/missing delta-qcow2 fails
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.0.7
: ---
Assignee: Ala Hino
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-09 18:37 UTC by Markus Stockhausen
Modified: 2023-09-14 03:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-25 13:52:17 UTC
oVirt Team: Storage
Embargoed:
tnisan: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
VDSM log (53.51 KB, text/plain)
2016-10-09 18:40 UTC, Markus Stockhausen
no flags Details
ENGINE log (22.00 KB, text/plain)
2016-10-09 18:40 UTC, Markus Stockhausen
no flags Details

Description Markus Stockhausen 2016-10-09 18:37:23 UTC
Description of problem:

A previous live merge operation succeeded in qemu but engine did not recognize it. Engine set snapshot to illegal. Looking with lsof at qemu we can see that qemu is only working an the base raw image. So we have the following situation

qemu: works as expected now delta-qcow2 image in use
ovirt: disk snapshot is illegal
Storage: delta qcow2 image has been removed manually from NFS server to avoid messing up things

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

Ovirt 4.0.4.4
VDSM: 4.17.28 (still from 3.6.6!)

How reproducible:

100%

Steps to Reproduce:
1. Do live merge

Actual results:

Live merge fails

Expected results:

Engine should get in sync with qemu

Additional info:

Logs attached

Comment 1 Markus Stockhausen 2016-10-09 18:40:12 UTC
Created attachment 1208637 [details]
VDSM log

Comment 2 Markus Stockhausen 2016-10-09 18:40:31 UTC
Created attachment 1208638 [details]
ENGINE log

Comment 3 Markus Stockhausen 2016-10-09 18:41:50 UTC
Storage content:

Running VMs [root@colovn07 3129b139-dca4-49c3-acaf-cc55fa404f58]# ls -al
drwxr-xr-x.   2 vdsm kvm         332  9. Okt 19:29 .
drwxr-xr-x. 170 vdsm kvm       12288  5. Okt 20:02 ..
-rw-rw----.   1 vdsm kvm 37580963840  9. Okt 20:40 377b406e-bbca-4b89-b23e-4902e48ba733
-rw-rw----.   1 vdsm kvm     1048576  8. Sep 10:52 377b406e-bbca-4b89-b23e-4902e48ba733.lease
-rw-r--r--.   1 vdsm kvm         269  8. Sep 11:02 377b406e-bbca-4b89-b23e-4902e48ba733.meta

Comment 4 Ala Hino 2016-11-08 11:31:05 UTC
Hi Markus,

Can you please to live merge the snapshot that marked as illegal?
Basically, if there is no 'real' storage issue and merge completed at vdsm/storage side, retrying live merge should recover from the failure - update the database and remove the snapshot.

Comment 5 Tal Nisan 2016-12-25 13:52:17 UTC
There's a pending needinfo for a month and a half, closing as insufficient data, feel free to reopen if you have new findings

Comment 6 Red Hat Bugzilla 2023-09-14 03:32:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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