Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1356941 - [Docs][RHEVM Shell] Correct syntax of "show" in rhevm-shell guide
[Docs][RHEVM Shell] Correct syntax of "show" in rhevm-shell guide
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.6.7
Unspecified Unspecified
medium Severity medium
: ovirt-3.6.10
: ---
Assigned To: Tahlia Richardson
Byron Gravenorst
:
: 1391203 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-15 06:32 EDT by Alexandros Gkesos
Modified: 2016-12-05 21:48 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-05 21:48:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Docs
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexandros Gkesos 2016-07-15 06:32:37 EDT
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
Comment 4 Lucy Bopf 2016-11-17 20:17:14 EST
Assigning to Tahlia for review.
Comment 7 Tahlia Richardson 2016-11-29 20:18:29 EST
*** Bug 1391203 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.