Red Hat Bugzilla – Bug 1290412
`show vm` does not accept --name
Last modified: 2016-05-10 06:29:08 EDT
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 22.214.171.124-0.3.20151119.git489d187.fc22 @ovirt-master-snapshot
ovirt-engine-sdk-python.noarch 126.96.36.199-0.2.20151123.git8ba204b.fc22 @ovirt-master-snapshot
Steps to Reproduce:
1. show vm --name test_25
List of vm parameters
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.
We don't plan any work on the CLI in 4.0.
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.