Bug 1328854 - [RFE] provide alphabetic order when displaying available vm consoles
Summary: [RFE] provide alphabetic order when displaying available vm consoles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-vmconsole
Classification: oVirt
Component: Host.Shell
Version: master
Hardware: All
OS: Linux
low
low
Target Milestone: ovirt-4.0.0-rc
: 1.0.3
Assignee: Francesco Romani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On: 1344272
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 12:26 UTC by exploit
Modified: 2016-07-05 08:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 08:05:27 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.0+
nsednev: testing_plan_complete+
mgoldboi: planning_ack+
rule-engine: devel_ack+
nsednev: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 56695 0 None None None 2016-04-27 14:34:43 UTC

Description exploit 2016-04-20 12:26:50 UTC
Description of problem:
Currently, ssh -t -p 2222  ovirt-vmconsole@engine gives a list of vms ordered by their ids. Should be more convinient to sort them by their name, overall when a long list is given.

Version-Release number of selected component (if applicable):
ovirt-vmconsole-1.0.0-1.el6.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.5-1.el6.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.5-1.el6.noarch
ovirt-vmconsole-proxy-1.0.0-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.ssh -t -p 2222  ovirt-vmconsole@engine
2.
3.

Actual results:
vm id order

Expected results:
vm name order

Additional info:

Comment 1 Yaniv Kaul 2016-04-21 05:49:13 UTC
Please ensure it is naturally sorted.

Comment 2 Francesco Romani 2016-04-27 14:35:47 UTC
addressing this bug because
1. it is very simple
2. it allows me to bootstrap the testsuite (https://gerrit.ovirt.org/#/c/56699/)
3. i'd like another build before 4.0, this may be the sweet spot.

Comment 3 Francesco Romani 2016-05-04 09:09:51 UTC
This usability improvement is (relatively) minor and self-describing, I dont't think deserves a doc_text.

Comment 6 Nikolai Sednev 2016-07-03 13:30:53 UTC
Available Serial Consoles:
00 A[6a1183b9-24ea-444e-bfd8-3a117dbd9e4e]
01 B[07d90003-c6d5-4bc0-8642-c001f892aa5f]
02 HostedEngine[280c4195-08ee-4385-a031-6288702a6aad]
03 VM1[43500052-354c-4217-957d-ca0d9d7612db]
SELECT>

 
Works for me on these components on host:
ovirt-setup-lib-1.0.2-1.el7ev.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.16.x86_64
mom-0.5.4-1.el7ev.noarch
rhev-release-4.0.0-19-001.noarch
vdsm-4.18.4-2.el7ev.x86_64
ovirt-vmconsole-host-1.0.3-1.el7ev.noarch
ovirt-hosted-engine-ha-2.0.0-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.7.0-1.el7ev.noarch
libvirt-client-1.2.17-13.el7_2.5.x86_64
ovirt-host-deploy-1.5.0-1.el7ev.noarch
ovirt-hosted-engine-setup-2.0.0.2-1.el7ev.noarch
sanlock-3.2.4-2.el7_2.x86_64
ovirt-vmconsole-1.0.3-1.el7ev.noarch
rhev-release-4.0.1-1-001.noarch
Linux version 3.10.0-327.22.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Thu Jun 9 10:09:10 EDT 2016
Linux 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.2 (Maipo)

Engine:
rhevm-doc-4.0.0-2.el7ev.noarch
rhevm-setup-plugins-4.0.0.1-1.el7ev.noarch
rhevm-spice-client-x64-msi-4.0-2.el7ev.noarch
rhevm-4.0.2-0.2.rc1.el7ev.noarch
rhev-release-4.0.0-19-001.noarch
rhev-release-4.0.1-1-001.noarch
rhevm-guest-agent-common-1.0.12-2.el7ev.noarch
rhevm-dependencies-4.0.0-1.el7ev.noarch
rhevm-branding-rhev-4.0.0-2.el7ev.noarch
rhevm-spice-client-x86-msi-4.0-2.el7ev.noarch
rhev-guest-tools-iso-4.0-2.el7ev.noarch
Linux version 3.10.0-327.22.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Thu Jun 9 10:09:10 EDT 2016
Linux 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.2 (Maipo)

I've successfully established serial-console connectivity with any of listed above VMs and they were displayed in alphabetical order.

Comment 7 Sandro Bonazzola 2016-07-05 08:05:27 UTC
oVirt 4.0.0 has been released, closing current release.


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