Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1496805

Summary: GET to /api/disk return operation failed after importing VM with memory snapshot
Product: [oVirt] ovirt-engine Reporter: Raz Tamir <ratamir>
Component: RestAPIAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aefrat, amureini, bugs, ebenahar, eshenitz, tnisan
Target Milestone: ovirt-4.2.0Keywords: Automation, Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:45:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine and vdsm logs none

Description Raz Tamir 2017-09-28 12:44:50 UTC
Created attachment 1331974 [details]
engine and vdsm logs

Description of problem:
Import a VM with memory snapshot from export domain will cause that listing the disks collection via the REST api will return Operation failed status code 503.

Logs attached



Version-Release number of selected component (if applicable):
ovirt-engine-4.2.0-0.0.master.20170926175518.git0d20200.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with 1 disk + OS
2. Run it and create snapshot with memory
3. Export it to an export domain (no collapse, no override)
4. Remove the origin VM
5. Import the VM (no collapse, no clone)

Actual results:
Everything will work fine but the rest api /api/disks is no longer usabe


Expected results:


Additional info:

Comment 1 Raz Tamir 2017-09-28 13:11:28 UTC
*** Bug 1496809 has been marked as a duplicate of this bug. ***

Comment 2 Allon Mureinik 2017-09-28 13:48:21 UTC
Eyal, offhand this looks related to your patch c6d62293fcd.
Can you take a look please?

Comment 3 Red Hat Bugzilla Rules Engine 2017-09-28 13:48:28 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Eyal Shenitzky 2017-10-01 09:04:41 UTC
Open new bug with the root cause which responsible for this bug - 
https://bugzilla.redhat.com/show_bug.cgi?id=1497512

Comment 5 Raz Tamir 2017-10-15 13:43:33 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20171013142622.git15e767c.el7.centos

followed steps to reproduce and all works fine

Comment 6 Allon Mureinik 2017-10-23 08:22:42 UTC
*** Bug 1497620 has been marked as a duplicate of this bug. ***

Comment 7 Sandro Bonazzola 2017-12-20 11:45:32 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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