Bug 1085832

Summary: [RFE] Sort ip addresses as they are reported from the guest agent when using multiple nics
Product: [Retired] oVirt Reporter: Joop van de Wege <jvandewege>
Component: ovirt-engine-webadminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bugs, dmc, ecohen, gklein, iheim, mgoldboi, ofrenkel, rbalakri, vfeenstr, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-02 09:19:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joop van de Wege 2014-04-09 13:11:37 UTC
Description of problem:
Ip addresses reported from the guest-agent aren't sorted when displayed in the webui

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

How reproducible:
always

Steps to Reproduce:
1. install multiple vm with multple nics, install guest-agent/vm

Actual results:
Not all ips reported are in the same order

Expected results:
sorted ips

Two vms with the following ips:
Vm1: 192.168.4.1, 172.16.16.1
Vm2: 192.168.4.2, 172.16.16.2
Shows up in the webui as:
Vm1 192.168.4.1 172.16.16.1
Vm2 172.16.16.2 192.168.4.2

Comment 1 Joop van de Wege 2014-07-11 19:12:44 UTC
I cloned ovirt-guest-agent on github and did a pull request. Is anyone willing to give comments and maybe accept the request :-)

Comment 2 Vinzenz Feenstra [evilissimo] 2014-07-15 10:43:07 UTC
Hi Joop,

I am sorry for the delay with the response on GitHub. We don't use github for patch reviews and bug tracking. Please consider http://gerrit.ovirt.org for patches.

The proper place to sort the IP's would be in the oVirt webadmin portal itself as this is a matter of displaying it appropriately.
The webadmin portal is part of the ovirt-engine project, in case you're interested to fix this.

Comment 3 Omer Frenkel 2015-09-02 09:19:43 UTC
fixed in 3.6 for more info please see bug 1164235

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