Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1887893

Summary: [REST-API] all_content ignored when specified as query parameter
Product: [oVirt] ovirt-engine Reporter: Liran Rotenberg <lrotenbe>
Component: RestAPIAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: low    
Version: 4.4.1.4CC: ahadas, bugs, dfodor, mperina, nsoffer, oliel
Target Milestone: ovirt-4.4.3Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.3.8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-22 12:52:46 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:
Embargoed:

Description Liran Rotenberg 2020-10-13 14:35:43 UTC
The engine check if all content is provided only to the string "All-content" and when it's provided as a header to the request.
This is wrong since the documentation points out to use "all_content" boolean query parameter.

The engine should check also the boolean query parameter to align with the documentation.

Reproduce is possible by sending:
GET /vms/id?all_content=true

Which will result the same as:
GET /vms/id

While it should show additional information such as:
- console
- initialization.configuration.data
- rng_source
- soundcard
- virtio_scsi

Comment 2 Sandro Bonazzola 2020-11-11 06:45:47 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.