Bug 1063782

Summary: VMs do not appear in virtual machine tab if host is selected in side pane (data-center > cluster > host > )
Product: Red Hat Enterprise Virtualization Manager Reporter: Prasad Mukhedkar <pmukhedk>
Component: ovirt-engine-webadmin-portalAssignee: Ravi Nori <rnori>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.3.0CC: acathrow, anande, audgiri, bazulay, ecohen, emesika, iheim, michal.skrivanek, Rhev-m-bugs, rnori, sbonazzo, shavivi, sherold, tpoitras, ukar, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the virtual machines on a host would not display when that host was selected using the side pane. Now, the logic for displaying the virtual machines on a host has been revised so that the list displays correctly.
Story Points: ---
Clone Of:
: 1069898 (view as bug list) Environment:
Last Closed: 2014-06-09 15:03:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1069898, 1078909, 1142926    

Description Prasad Mukhedkar 2014-02-11 12:28:46 UTC
Description of problem:

Vms do not appear in 'virtual machine' main tab if host is selected in RHEV-M side pane. screen shows empty (0 item) despite there are large number of vms running on the host.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization 3.3

How reproducible:

Steps to Reproduce:
1. Expand the side pan and select a host in a cluster.
2. click on 'virtual machine' tab main tab. 

Actual results:
No vms listed 

Expected results:

Should list all the running virtual machines. I have tested this on RHEV 3.2 and it works properly.

Additional info:

1) I see below warning message in engine.log file upon clicking the virtual machine when a host is selected in side pane: 

2014-02-11 17:57:12,725 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/ ResourceManager::searchBusinessObjects - erroneous search text - Vms: Hosts.name = rhev1 

2) issue screenshot attached.

Comment 3 Shahar Havivi 2014-02-14 13:12:14 UTC
its not working on upstream as well.

Comment 6 Shahar Havivi 2014-02-23 12:15:43 UTC
There is a fix for the UI,
its Fix this bug but we may have another issue in the Search infrastructure.

Comment 7 Omer Frenkel 2014-02-24 08:08:11 UTC
*** Bug 1068478 has been marked as a duplicate of this bug. ***

Comment 8 Ravi Nori 2014-02-24 14:46:37 UTC
Hi Shahar,

The patch http://gerrit.ovirt.org/#/c/24899/ seems to be the right way to fix the issue described in this bug.

Can you explain what other issue you have as stated in commend #6.

Comment 9 Shahar Havivi 2014-02-24 14:51:13 UTC
The reasons is that other tabs use the following:

prefix.argvalue = "Storage: host.name ="
prefix.argvalue = "Template: Hosts.name ="

Vms was written like that as well, ie the ability to enumerate running VMs via hosts properties.

Again I am not sure that it is needed for Vms but it does like it do.

Comment 10 Shahar Havivi 2014-02-25 09:24:09 UTC
Should we push the UI patch as well?

Comment 11 Ravi Nori 2014-02-25 12:46:12 UTC
(In reply to Shahar Havivi from comment #10)
> Should we push the UI patch as well?
> http://gerrit.ovirt.org/#/c/24899/

No we don't need the UI patch, the backend patch takes care of it

Comment 15 Ravi Nori 2014-02-28 13:51:14 UTC
Yes it is fixed, merged to 3.4 on Feb 25th. Moving to modified

Comment 16 Jiri Belka 2014-03-06 15:48:50 UTC
ok, av2.

Comment 17 errata-xmlrpc 2014-06-09 15:03:49 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.