Bug 1428498

Summary: [RFE] Allow to search VMs by specific host they are pinned to.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ashton Davis <asdavis>
Component: ovirt-engineAssignee: Andrej Krejcir <akrejcir>
Status: CLOSED ERRATA QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apinnick, dfediuck, fgarciad, kshukla, lsurette, mavital, mgoldboi, rbalakri, Rhev-m-bugs, rzaleski, spower, srevivo, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: EasyFix, FutureFeature, Triaged
Target Release: 4.2.0Flags: mavital: testing_plan_complete+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
You can now view virtual machines that are pinned to a host, even when they are shut down.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 17:41:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1548826    

Description Ashton Davis 2017-03-02 16:57:46 UTC
Description of problem:
Presently, if a VM if offline, there's no way to know what host it "lives" on (or was last on). This is especially pertinent to VMs created on local disk (current VDSM hook, future RHV-M functionality). 

Use Case:
In an environment where VMs are pinned to individual hosts, knowing what VMs lived on that host is necessary.
For example: There may be ~30-40 offline VMs at any given time for whatever reason. A host must be taken offline for maintenance, adding another ~15 VMs to the offline VMs list. Once the host is back online, there is currently no simple way to correlate which VMs were running on it before they were shut down.

Ideal outcome:
When viewing "Virtual Machines" tab of a host, show offline VMs.
In Virtual Machines view, show last used host (perhaps in gray/italics, to differentiate?) instead of a blank entry in the table.

Comment 7 Andrej Krejcir 2017-08-24 13:20:58 UTC
I added a design page to ovirt-site to discuss how this RFE can be added to REST API and webadmin. Here is the pull request: 

https://github.com/oVirt/ovirt-site/pull/1169

Comment 8 Artyom 2018-01-10 13:54:52 UTC
Verified on ovirt-engine-webadmin-portal-4.2.1-0.2.el7.noarch

Comment 11 errata-xmlrpc 2018-05-15 17:41:09 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-2018:1488

Comment 12 Franta Kust 2019-05-16 13:03:18 UTC
BZ<2>Jira Resync