Bug 1383735

Summary: The "--all_content true" option isn't accepted
Product: [oVirt] ovirt-engine-cli Reporter: Juan Hernández <juan.hernandez>
Component: CoreAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.9.1CC: bugs, grafuls, lsvaty, mgoldboi
Target Milestone: ovirt-4.0.6Keywords: Rebase, Regression
Target Release: 3.6.9.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
mgoldboi: planning_ack+
juan.hernandez: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-cli-3.6.9.2 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:25:02 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:

Description Juan Hernández 2016-10-11 15:48:20 UTC
The "--all_content true" option isn't accepted:

  [oVirt shell (connected)]# show vm myvm --all_content true
  ================================= ERROR ===============================
    option "--all_content" is not supported, see help for more details.
  =======================================================================

Comment 1 Red Hat Bugzilla Rules Engine 2016-10-11 15:48:24 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 Juan Hernández 2016-12-07 15:20:26 UTC
Two things should be done to verify this bug:

1. Check that the '--all_content' option is displayed when the tab key for auto-completion:

  [oVirt shell (connected)]# show vm myvm <Tab><Tab>
  all_content  <-- This should appear
  parent-affinitygroup-identifier
  ...

2. Run the 'show vm' command with and without that option and check that when adding the option additional attributes like 'initialization-configuration-data' are populated:

  [oVirt shell (connected)]# show vm myvm --all_content true<Enter>
  ...
  initialization-configuration-data : <?xml ...
  ...

Comment 3 Gonza 2016-12-07 15:29:09 UTC
Verified with:
ovirt-engine-cli-3.6.9.3-0.1.20161124.git61c5da9.el7.centos.noarch

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

[oVirt shell (connected)]# show vm my_vm <TAB><TAB> 
all_content                      parent-affinitygroup-name        parent-cluster-name              parent-datacenter-name           parent-storagedomain-name        
parent-affinitygroup-identifier  parent-cluster-identifier        parent-datacenter-identifier     parent-storagedomain-identifier 

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

[oVirt shell (connected)]# show vm my_vm --all_content true
id                                : 8b9fc3c7-578f-4bb3-9638-90b8d6d788da
...
high_availability-priority        : 0
initialization-configuration-data : <?xml version="1.0" encoding="UTF-8"?><ovf:Envelope xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1/"

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

oVirt shell (connected)]# show vm my_vm
id                                : 8b9fc3c7-578f-4bb3-9638-90b8d6d788da
...
* missing initialization-configuration-data