Bug 1194216

Summary: [REGENERATE PYTHON SDK] Document All-Content header in RSDL and add it to SDKs
Product: [Retired] oVirt Reporter: Juan Hernández <juan.hernandez>
Component: ovirt-engine-sdkAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Antonin Pagac <apagac>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: bugs, ecohen, gklein, lsurette, msivak, pstehlik, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-engine-sdk-python-3.5.2.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1194185 Environment:
Last Closed: 2015-04-29 06:20:28 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:
Bug Depends On: 1194185    
Bug Blocks: 1193058    

Description Juan Hernández 2015-02-19 10:55:35 UTC
+++ This bug was initially created as a clone of Bug #1194185 +++

Description of problem:

Some information is hidden from REST unless All-Content is set, but the header is not documented and the SDK does not support it.

One example is HA score (hosted engine) of a Host. It is set in org.ovirt.engine.api.restapi.resource.BackendHostResource#doPopulate and not present in HostMapper.

There is no way to get this data using Java SDK.

Version-Release number of selected component (if applicable):

oVirt 3.4, oVirt 3.5 components (engine, Java SDK)

How reproducible:

Always.

Additional info:

I consider HA score to be important value and I would prefer if it was always present. But that is another issue. Also the All-Content header is not properly documented anywhere and if it is then our documentation is a mess...

Comment 1 Antonin Pagac 2015-03-26 13:02:42 UTC
ovirt-engine-sdk-python-3.5.2.0-1.el6.noarch

All-Content header now can be used with api.hosts.list() as well as api.hosts.get() method.

Comment 2 Eyal Edri 2015-04-29 06:20:28 UTC
ovirt 3.5.2 was GA'd. closing current release.