Hide Forgot
Description of problem: On 3.6 in order to refresh host capabilities we send GET with: /ovirt-engine/api/hosts/<host_id>;force In 4.0 this is not working (no error) and only the new method working: POST with: /ovirt-engine/api/hosts/host_id/refresh <action> </action> Version-Release number of selected component (if applicable): oVirt Engine Version: 4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos How reproducible: 100% Steps to Reproduce: 1. Send GET with /ovirt-engine/api/hosts/<host_id>;force
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.