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

Bug 1537102

Summary: A storage domain 'Virtual Machines' subtab list is empty / GetVmsByStorageDomainQuery failed
Product: [oVirt] ovirt-engine Reporter: Jiri Belka <jbelka>
Component: Frontend.WebAdminAssignee: Maor <mlipchuk>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.1.1CC: amureini, bugs, jbelka, mlipchuk
Target Milestone: ovirt-4.2.2Keywords: 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: 2018-01-22 21:30:49 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
get storage domain
none
GetAllSnapshotsForStorageDomain none

Description Jiri Belka 2018-01-22 12:44:58 UTC
Description of problem:

'Virtual Machines' subtab for a storage domain is empty, even search 'Vms:  Storage = vms*' works OK.

     96 2018-01-22 13:35:39,583+01 ERROR [org.ovirt.engine.core.bll.GetVmsByStorageDomainQuery] (default ta        sk-31) [950349d8-85f5-431f-98b6-1ea14abd4e52] Failed to retrieve disks by storage domain id '219bc7        1f-c5ec-4ace-80f5-f07b2f892163': null


Version-Release number of selected component (if applicable):
ovirt-engine-4.2.1.1-0.1.el7.noarch

How reproducible:
1 in 1

Steps to Reproduce:
1. go to a storage domain 'Virtual Machines' subtab
2. see the list
3.

Actual results:
list of VMs is empty for a particular storage domain

Expected results:
VMs using this particular SD should be listed

Additional info:
iirc this storage domain was recently renamed via 'Manage' button

Comment 2 Allon Mureinik 2018-01-22 13:46:29 UTC
Maor - this sounds familiar. Didn't you handle something similar recently?

Comment 3 Red Hat Bugzilla Rules Engine 2018-01-22 13:46:35 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 4 Maor 2018-01-22 14:22:36 UTC
Hi Jiri,

Can you please provide the full engine log, including the "Manage" which was done on the storage domain?
It seems like the storage domain id 219bc71f-c5ec-4ace-80f5-f07b2f892163 is not valid for some reason.

Comment 7 Maor 2018-01-22 21:11:58 UTC
Created attachment 1384610 [details]
get storage domain

Comment 8 Maor 2018-01-22 21:12:54 UTC
Created attachment 1384611 [details]
GetAllSnapshotsForStorageDomain

Comment 9 Maor 2018-01-22 21:30:49 UTC
Found the issue, seems that it was fixed as part of https://bugzilla.redhat.com/1496809, closing the bug as duplicate

*** This bug has been marked as a duplicate of bug 1496809 ***