Bug 1088294

Summary: VM list of export domain should be populated in alphabetical order
Product: Red Hat Enterprise Virtualization Manager Reporter: Lukas Svaty <lsvaty>
Component: ovirt-engine-webadmin-portalAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: acanan, amureini, ecohen, gklein, iheim, rbalakri, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_vt5 Doc Type: Enhancement
Doc Text:
Feature: Reason: Result (if any):
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 19:10:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1156162    
Attachments:
Description Flags
Screen of VM Info subtab none

Description Lukas Svaty 2014-04-16 11:46:31 UTC
Description of problem:
VMs in Export domain listed in Storage -> VM Info subtab seems to be populated in a random order (probably are ordered by id). This might be a problem for storages with bigger amount of VMs when you are looking for a VM by name (or by size of memory...) I suggest populating the list in alphabetical order (or other similar way more user-friendly like creation/export date or memory size)

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

How reproducible:
100%

Steps to Reproduce:
1. have export storage domain assigned to engine (NFS)
2. navigate to Storage -> Click on Domain -> Vm Info
3. see list of VMs

Actual results:
see screenshot

Expected results:
VMs ordered from a to z

Additional info:
screenshot attached

Comment 1 Lukas Svaty 2014-04-16 11:47:06 UTC
Created attachment 886858 [details]
Screen of VM Info subtab

Comment 2 Allon Mureinik 2014-04-23 05:37:36 UTC
Maor, this is probably a nice enhancement to consider for importing a data domain too (hopefully, the code can be shared between both screens).

Comment 3 Maor 2014-07-08 10:03:53 UTC
Currently it looks that SearchableListModel#setItems already takes care of that.
I have varified this by exporting three VMs (In a different alphabetiacal order) although it seems that this is not supported for templates

Comment 4 Elad 2014-10-22 11:17:56 UTC
VMs are listed alphabetically in the 'VM Import' list under the export domain


Verified using rhev 3.5 vt5

Comment 5 Allon Mureinik 2015-02-16 19:10:51 UTC
RHEV-M 3.5.0 has been released, closing this bug.