Hide Forgot
Description of problem: when activating an active host the expected REST call should be : 2013-11-19 13:43:13,036 - MainThread - hosts - DEBUG - Response body for action request is: <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> <status> <state>failed</state> </status> <fault> <reason>Operation Failed</reason> <detail>[Cannot activate Host. Host in Up status.]</detail> </fault> </action> on RHEV3.4 nothing returns
Unable to reproduce Sending a POST request to an active Host with the following body <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> </action> Resulted in the following respond : <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> <status> <state>failed</state> </status> <fault> <reason>Operation Failed</reason> <detail>[Cannot activate Host. Host in Up status.]</detail> </fault> </action> Looking in the code , there is a canDoAction code that generates an error when Activate is called and the Host is UP Please check that Host did not change status between the time the last status is retrieved and the call to activate the host
I See it also in other tests. meaning it's not specific to activate hosts for example, set host to maintenance also doesn't respond
related to the caching mechanism added lately. Please check again after the following revert patches are merged : http://gerrit.ovirt.org/#/c/21473/ http://gerrit.ovirt.org/#/c/21474/ http://gerrit.ovirt.org/#/c/21475/ http://gerrit.ovirt.org/#/c/21476/
kiril - can you update status on this after fixed qe code?
Please check if still hapenning after reverting Host caching Thanks
it's still happening. we believe it's bug in QE code, following ticket opened on comment #7.
Elena , please update if this is a QE BZ so I can close it