Bug 1194185
| Summary: | Document All-Content header in RSDL and add it to SDKs | |||
|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Martin Sivák <msivak> | |
| Component: | ovirt-engine-api | Assignee: | Juan Hernández <juan.hernandez> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.5 | CC: | bugs, ecohen, eedri, gklein, juan.hernandez, lsurette, msivak, rbalakri, yeylon | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | 3.5.2 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | sla | |||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1194216 1194218 1194228 (view as bug list) | Environment: | ||
| Last Closed: | 2015-04-29 06:16:07 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1196980 | |||
| Bug Blocks: | 1193058, 1194216, 1194218, 1196662, 1197441 | |||
|
Description
Martin Sivák
2015-02-19 09:56:44 UTC
this ovirt bug was fixed during 3.5.1 cycle and is included in the build, and therefore should be verified. Martin can you please provide information how I verify this bug? Also I checked python sdk(brokers.py) and class Hosts under get method still not have default parameter all_content. rhevm-3.5.1-0.1.el6ev.noarch Artyom, this is an oVirt bug, and the fix is included in ovirt-engine-sdk-python-3.5.2.0, see bug 1194216. It will be fixed in the RHEV-M SDK when it is rebased using version 3.5.2.0 of the oVirt SDK, see bug 1196980. mm so why build id equal to vt14, can you please check it? Not sure. Eyal do you know why the build id in this upstream bug is vt14? This bug can be verified requesting the RSDL document from a live engine (version 3.5.2 RC1 or newer) and checking if the RSDL document contains the description for the header. Go to the following URL: http://.../ovirt-engine/api?rsdl That XML document should contain the following: <link href="/ovirt-engine/api/hosts/{host:id}" rel="get"> <description>get the details of the specified host in the system</description> <request> <http_method>GET</http_method> <headers> <header required="false"> <name>Filter</name> <value>true|false</value> </header> <header required="false"> <name>All-Content</name> <value>true|false</value> </header> </headers> ... </request> </link> To verify the corresponding Python SDK bug 1194216 download version 3.5.2.0 and check that the method to get a host has the "all_content" parameter. Alternatively it can be verified inspecting the source code: https://github.com/oVirt/ovirt-engine-sdk/blob/3.5.2.0/src/ovirtsdk/infrastructure/brokers.py#L13283 Same for the Java SDK bug 1194218: https://github.com/oVirt/ovirt-engine-sdk-java/blob/3.5.2.0/ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/decorators/Hosts.java#L194 Thanks
Verified on rhevm-3.5.1-0.1.el6ev.noarch
<link href="/ovirt-engine/api/hosts/{host:id}" rel="get"><description>get the details of the specified host in the system</description><request><http_method>GET</http_method><headers><header required="false"><name>Filter</name><value>true|false</value></header><header required="false"><name>All-Content</name><value>true|false</value></header></headers>
ovirt 3.5.2 was GA'd. closing current release. |