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

Bug 1290412

Summary: `show vm` does not accept --name
Product: [oVirt] ovirt-engine-cli Reporter: Petr Horáček <phoracek>
Component: GeneralAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.0.0CC: bugs, oourfali
Target Milestone: ovirt-4.1.0-alphaKeywords: Regression
Target Release: ---Flags: oourfali: ovirt-4.1?
rule-engine: blocker?
juan.hernandez: planning_ack?
juan.hernandez: devel_ack+
juan.hernandez: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 10:29:08 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 Petr Horáček 2015-12-10 13:08:23 UTC
Description of problem:
Command `ovirt-shell -E 'show vm --name test_25'` fails with:
================= ERROR ================
    vm identifier or name required.
========================================
When I call it without --name, just `ovirt-shell -E 'show vm test_25'`, it's ok. --name used to work in 3.6.

Version-Release number of selected component (if applicable):
ovirt-engine-cli.noarch            4.0.0.0-0.3.20151119.git489d187.fc22 @ovirt-master-snapshot
ovirt-engine-sdk-python.noarch     4.0.0.0-0.2.20151123.git8ba204b.fc22 @ovirt-master-snapshot

How reproducible:
Always

Steps to Reproduce:
1. show vm --name test_25

Actual results:
Error

Expected results:
List of vm parameters

Comment 1 Red Hat Bugzilla Rules Engine 2015-12-11 02:32:38 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Oved Ourfali 2016-03-13 07:35:37 UTC
We don't plan any work on the CLI in 4.0.

Comment 3 Juan Hernández 2016-05-10 10:29:08 UTC
The --name option was never intended for this usage, the right way to get the details of an object, by name or id is the following:

  # show vm the_name_or_id

That works correctly.