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

Bug 1164235

Summary: Sort VM by IP fails if more than one IP listed for any VM entry
Product: [Retired] oVirt Reporter: Zordrak <redhat.bugzilla>
Component: ovirt-engine-webadminAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5CC: adevolder, bugs, dmc, ecohen, fdelorey, gklein, hmatsumo, istein, jvandewege, lsurette, mgoldboi, michal.skrivanek, rbalakri, stefano.stagnaro, wwu, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:21:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zordrak 2014-11-14 12:12:41 UTC
Description of problem:

In any VM list where IPs are present as reported by the ovirt-guest-agent, if any listed host reports more than one IP, it is not possible to sort the list of VMs by IP address.

If you specify a search that includes an IP sort the search fails.

If you click the IP column header to sort by IP, the header changes to reflect the requested sort order but the order of the list of VMs does not change. 

Version-Release number of selected component (if applicable):

3.5.0-0.0.master.20140911085455.gite1c5ffd.el6

How reproducible:
Always

Steps to Reproduce:
1. Have more than one VM
2. Have >=1 VM report >1 IP via ovirt-guest-agent
3. Select VM tab in admin interface
4. Click "IP" column header

Actual results:

No change to VM sort

Expected results:

VMs sorted by IP 

Additional info:

Comment 2 Omer Frenkel 2015-06-02 08:42:09 UTC
*** Bug 1219557 has been marked as a duplicate of this bug. ***

Comment 3 sefi litmanovich 2015-07-20 08:52:53 UTC
Verified with ovirt-engine-3.6.0-0.0.master.20150627185750.git6f063c1.el6.noarch.
VMs are sorted by IP when clicking the ip address column, sorting against other columns is working fine as well.

Comment 4 Stefano Stagnaro 2015-08-04 14:04:02 UTC
This bug also affects Tags. VMs listing hangs when clicking on a tag with at least 1 VM with two IPs. Page refresh is required.

Please consider backporting the patch in the 3.5 branch. For those like us in production with oVirt 3.5.3 it's a plight.

Comment 5 Omer Frenkel 2015-09-02 09:19:43 UTC
*** Bug 1085832 has been marked as a duplicate of this bug. ***

Comment 6 Omer Frenkel 2015-09-02 09:20:15 UTC
*** Bug 1258764 has been marked as a duplicate of this bug. ***

Comment 7 Sandro Bonazzola 2015-11-04 11:21:38 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.

Comment 8 Michal Skrivanek 2016-01-29 12:01:12 UTC
*** Bug 1293386 has been marked as a duplicate of this bug. ***