Bug 1502619 - Memory disks (memory and metadata) status is unassigned after VM registered from data storage domain
Summary: Memory disks (memory and metadata) status is unassigned after VM registered f...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Eyal Shenitzky
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-16 11:12 UTC by Eyal Shenitzky
Modified: 2017-12-20 11:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:39:56 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine and vdsm logs (1.11 MB, application/zip)
2017-10-16 11:12 UTC, Eyal Shenitzky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 82899 0 master MERGED core: Create memory disks in the DB correctly when importing a VM 2017-10-18 08:55:43 UTC
oVirt gerrit 82919 0 master MERGED core: Set imported memory snapshots status 'OK' 2017-10-18 08:56:23 UTC

Description Eyal Shenitzky 2017-10-16 11:12:44 UTC
Created attachment 1339163 [details]
engine and vdsm logs

Description of problem:

When having un-registered VM with disk and live snapshot with memory.
After registering the VM to the environment the memory disks (memory and metadata)
status is 'unassigned' on the UI and '0' on the DB.

Also, disk the disks alias doesn't appear under disks tab. 

Version-Release number of selected component (if applicable):
4.2.0_master from commit - 4c7f086a319d5c523e4baffc3a1042afd154b0d0

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with disk
2. Run the VM
3. Create live snapshot with memory
4. Deactivate and detach the storage domain that contains the VM disk
5. Attach the storage domain from step 5
6. register the VM from step 1

Actual results:
Memory disks status is 'unassigned', disk alias does not under disks tab

Expected results:
Memory disks status should be 'OK', disk alias should appear under disks tab

Additional info:
Engine and VDSM logs attached

Comment 1 Eyal Shenitzky 2017-10-18 06:30:54 UTC
*** Bug 1503212 has been marked as a duplicate of this bug. ***

Comment 2 Raz Tamir 2017-10-30 17:12:10 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20171027213842.gitded437c.el7.centos

Registered VM's memory disks are with status ok

Comment 3 Sandro Bonazzola 2017-12-20 11:39:56 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.


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