Bug 1144110 - Miss schedulingpolicies in list auto-completion via rhevm-shell
Summary: Miss schedulingpolicies in list auto-completion via rhevm-shell
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.5.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Juan Hernández
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks: rhev3.5beta3
TreeView+ depends on / blocked
 
Reported: 2014-09-18 16:48 UTC by Artyom
Modified: 2016-02-10 19:14 UTC (History)
10 users (show)

Fixed In Version: rhevm-cli-3.5.0.5-1.el6ev
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-16 13:38:46 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 33070 0 master MERGED cli: Calculate singulars and plurals correctly Never
oVirt gerrit 33383 0 cli_3.5 MERGED cli: Calculate singulars and plurals correctly Never

Description Artyom 2014-09-18 16:48:27 UTC
Description of problem:
Miss schedulingpolicies in list auto-completion via rhevm-shell

Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.12.beta.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Enter to rhevm-shell
2. Type list and click TAB to see auto-completion options
3.

Actual results:
No schedulingpolicies

Expected results:
schedulingpolicies exist in auto-completion options

Additional info:
Auto-completion also missed for add and show commands

Comment 1 Artyom 2014-09-18 16:53:31 UTC
Also miss auto-completion options when add and update schedulingpolicies, so now you really don't know what parameters you can give on adding and updating.

Comment 2 Juan Hernández 2014-09-19 08:59:13 UTC
This happens because the CLI calculates the name of the resource removing the "s" at the end of the collection. This works for most resources, but it doesn't work for "SchedulingPolicies", as the result is "SchedulingPolicie" which doesn't exist.

Comment 3 Petr Beňas 2014-10-09 10:00:18 UTC
in rhevm-cli-3.5.0.5-1.el6ev.noarch


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