Bug 1164235 - Sort VM by IP fails if more than one IP listed for any VM entry
Summary: Sort VM by IP fails if more than one IP listed for any VM entry
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.6.0
Assignee: Michal Skrivanek
QA Contact: sefi litmanovich
URL:
Whiteboard: virt
: 1085832 1258764 1293386 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-14 12:12 UTC by Zordrak
Modified: 2016-02-10 19:50 UTC (History)
16 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764
Clone Of:
Environment:
Last Closed: 2015-11-04 11:21:38 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 36946 0 master MERGED core: Fix splitting logic for ip addresses Never

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. ***


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