Red Hat Bugzilla – Bug 1468556
"Filter:true" hard coded in fence_rhevm prevents oVirt 3 connection
Last modified: 2017-07-07 09:18:41 EDT
Description of problem:
Using fence_rhevm with an oVirt 3.6 engine is failing with the error "Failed: Unable to obtain correct plug status or plug is not available".
Version-Release number of selected component (if applicable):
- RHEL 7.3 client (fence_rhevm source)
- oVirt 3.6.7 on RHEL 7.2 (fence_rhevm target)
- fence-agents-rhevm-4.0.11-47.el7_3.5.x86_64 is failing
- fence-agents-rhevm-4.0.11-27.el7_2.7.x86_64 was working
Steps to Reproduce:
1. Run :
fence_rhevm -a ovirt-engine -o status -l 'admin@internal' -p 'xxx' --ssl -n vm01 --ssl-insecure
Failed: Unable to obtain correct plug status or plug is not available
With fence-agents-rhevm-4.0.11-27, the result is "Status: ON".
This patch (https://github.com/ClusterLabs/fence-agents/pull/71/commits) added the hard-coded "Filter:true" into the HTTPHEADER connection options.
I tried with the admin@internal of with a dedicated user (with superuser rights).
In every cases, I get a connection in my engine logs, but the failing replies (see above).
When manually removing this Filter:true option, every command are working successfully.
This patch came after this BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1287059
AFAIR, this Filter header was made mandatory on oVirt 4.x generation.
It is a blocker for us people who are still maintaining oVirt 3.x stable DCs.
This would be nice to make this header optional (or better auto-detect).
We are aware of this issue and you can use 'disable_http_filter' (or --disable-http-filter from the command line).
The patch is available in upstream and should be part of the next minor release. If you need to have an official package sooner, feel free to open customer's ticket.
*** This bug has been marked as a duplicate of bug 1422499 ***