Bug 947482
| Summary: | [RHEVM-CLI] 'list' command - throw error on extra param | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Shruti Sampat <ssampat> |
| Component: | ovirt-engine-cli | Assignee: | Ravi Nori <rnori> |
| Status: | CLOSED WONTFIX | QA Contact: | Elena <edolinin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, dtsang, iheim, jkt, knarra, mmahoney, mpastern, oramraz, pprakash, pstehlik, Rhev-m-bugs, sdharane, srevivo |
| Target Milestone: | --- | Keywords: | Improvement, Triaged |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-16 12:00:11 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: | |||
|
Description
Shruti Sampat
2013-04-02 14:32:51 UTC
(In reply to comment #0) > Description of problem: > --------------------------------------- > list command gives unexpected output in the following cases - > > 1. list clusters xyz > > [RHEVM shell (connected)]# list clusters xyz > > id : 99408929-82cf-4dc7-a532-9d998063fa95 > name : Default > description: The default server cluster > > This command should result in a proper error message. > > 2. list clusters --max x > > [RHEVM shell (connected)]# list clusters --max x > > id : 99408929-82cf-4dc7-a532-9d998063fa95 > name : Default > description: The default server cluster > > This command should result in an error message saying that the option max > expects a numeric input. > this is api issue, please file separate bug. > Version-Release number of selected component (if applicable): > Pasting the output of the info command - > > backend version: 3.2 > sdk version : 3.2.0.5 > cli version : 3.2.0.5 > python version : 2.6.6.final.0 > > How reproducible: > Always > > Steps to Reproduce: > 1. > 2. > 3. > > Actual results: > > > Expected results: > An appropriate error message should be displayed for cases like the ones > described above. > > Additional info: Shruti, We have continues discussion on this issue, the thing is that we obviously can block unknown options/arguments in cli, but avoid doing that to not block new functionalities in cli that might not be exposed at rsdl/sdk yet, therefore we won't fix this bug in this stage, but may reconsider this in future, thanks. |