Bug 1328404
Summary: | [REST-API] refresh host capabilities not working | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Meni Yakove <myakove> |
Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.0.0 | CC: | bugs, pstehlik, sbonazzo |
Target Milestone: | ovirt-4.0.0-beta | Keywords: | Automation, Regression |
Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ juan.hernandez: devel_ack+ pstehlik: testing_ack+ |
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-05 07:52:10 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
Meni Yakove
2016-04-19 10:30:16 UTC
same when setting version: 3 in the header This happens because the code that handles parameters ignores them if they don't have a value. This needs to be fixed, we should assume that the value is an empty string instead. We will fix that. Meanwhile the expected result can be obtained including explicitly the value of the parameter: GET /ovirt-engine/api/hosts/<host_id>;force=true This will work with version 3 of the API, including the "Version: 3" header. The "force" parameter has been completely removed from version 4 of the API, replaced by the "refresh" action. 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. Verified on - 4.0.0.4-0.1.el7ev oVirt 4.0.0 has been released, closing current release. |