Bug 1383735 - The "--all_content true" option isn't accepted
Summary: The "--all_content true" option isn't accepted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-cli
Classification: oVirt
Component: Core
Version: 3.6.9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ovirt-4.0.6
: 3.6.9.2
Assignee: Juan Hernández
QA Contact: Gonza
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 15:48 UTC by Juan Hernández
Modified: 2017-01-18 07:25 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-cli-3.6.9.2
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:25:02 UTC
oVirt Team: Infra
rule-engine: ovirt-4.0.z+
rule-engine: blocker+
mgoldboi: planning_ack+
juan.hernandez: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65371 0 master MERGED cli: Base should be None when there is no base 2016-10-13 14:55:40 UTC
oVirt gerrit 65437 0 cli_3.6 MERGED cli: Base should be None when there is no base 2016-10-13 14:56:03 UTC

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


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