Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1144110

Summary: Miss schedulingpolicies in list auto-completion via rhevm-shell
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: ovirt-engine-cliAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aberezin, ecohen, gklein, iheim, lsurette, oramraz, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Rebase
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: rhevm-cli-3.5.0.5-1.el6ev Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 13:38:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1156162    

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