DescriptionAlexandros Gkesos
2016-07-15 10:32:37 UTC
Description of problem:
RHEVM-SHELL Guide:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html-single/RHEVM_Shell_Guide/index.html
In "3.2.2. Show a Resource (show)"
the syntax is correct:
[RHEVM shell (connected)]# show vm fcadfd5f-9a12-4a1e-bb9b-2b9d5c2e04c3
[RHEVM shell (connected)]# show vm RHEL6-Server
but in "1.5. Interacting with the CLI"
the syntax is different and doesn't work:
[RHEVM shell (connected)]# show vm --name desktop_vms
eg. in my test environment:
[RHEVM shell (connected)]# list vms
id : 09746170-a035-46b4-86dc-e8aeb3c3e1d6
name : testVM
id : ddc35fd2-7309-4f7c-8109-eae23727a595
name : testVM2
[RHEVM shell (connected)]# show vm testVM
id : 09746170-a035-46b4-86dc-e8aeb3c3e1d6
name : testVM
...
...
...
[RHEVM shell (connected)]# show vm --name testVM
=========================================================================================================================================================== ERROR =========================================================================================================================================================
vm identifier or name required.
===========================================================================================================================================================================================================================================================================================================================
The same happens with other resources:
[RHEVM shell (connected)]# show host rhel7
id : 5a9f2318-4843-46ea-baae-0aaa4eed420d
name : rhel7
...
...
[RHEVM shell (connected)]# show host
all_content id name
[RHEVM shell (connected)]# show host --name rhel7
=========================================================================================================================================================== ERROR =========================================================================================================================================================
host identifier or name required.
===========================================================================================================================================================================================================================================================================================================================
[RHEVM shell (connected)]#
Version-Release number of selected component (if applicable):
3.6 RHEVM-SHELL GUIDE