Description of problem: Additional features are configured at cluster level and can be enabled per cluster (for a cluster that's at defined cluster level) in engine Enabling/disabling this should be available via the API Version-Release number of selected component (if applicable): 4.1 How reproducible: NA
Verified with: ovirt-engine-4.2.0-0.0.master.20170906185835.gitcee3e58.el7.centos.noarch # curl -vvvv -X POST -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/22f3c88b-3e9c-43bd-bf03-ecc467528a6c/enabledfeatures \ -d "<cluster_feature id=\"00000020-0020-0020-0020-000000000300\"/>" ... > POST /ovirt-engine/api/clusters/22f3c88b-3e9c-43bd-bf03-ecc467528a6c/enabledfeatures HTTP/1.1 ... { "name" : "libgfapi_supported", "id" : "00000020-0020-0020-0020-000000000300" * Connection #0 to host engine.com left intact }% # curl -vvvv -X DELETE -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/22f3c88b-3e9c-43bd-bf03-ecc467528a6c/enabledfeatures/00000020-0020-0020-0020-000000000300 ... > DELETE /ovirt-engine/api/clusters/22f3c88b-3e9c-43bd-bf03-ecc467528a6c/enabledfeatures/00000020-0020-0020-0020-000000000300 ... { "status" : "complete" * Connection #0 to host engine.com left intact }%
(In reply to Gonza from comment #1) > Verified with: > ovirt-engine-4.2.0-0.0.master.20170906185835.gitcee3e58.el7.centos.noarch This bug is targeted 4.1.6 and should be tested with 4.1.6 engine. Moving back to QE
Verified with: ovirt-engine-4.1.6.2-0.1.el7.noarch # curl -vvvv -X GET -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures ... > GET /ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures HTTP/1.1 ... { }% # curl -vvvv -X POST -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures \ -d "<cluster_feature id=\"00000020-0020-0020-0020-000000000300\"/>" ... > POST /ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures HTTP/1.1 ... { "name" : "libgfapi_supported", "id" : "00000020-0020-0020-0020-000000000300" }% # curl -vvvv -X GET -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures ... > GET /ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures HTTP/1.1 ... { "cluster_feature" : [ { "name" : "libgfapi_supported", "id" : "00000020-0020-0020-0020-000000000300" } ] }% # curl -vvvv -X DELETE -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures/00000020-0020-0020-0020-000000000300 ... > DELETE /ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures/00000020-0020-0020-0020-000000000300 HTTP/1.1 ... { "status" : "complete" }% # curl -vvvv -X GET -H "Content-type: application/xml" -H "Accept: application/json" -k -u admin@internal https://engine.com/ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures ... > GET /ovirt-engine/api/clusters/59b63c22-03e2-0368-00c2-00000000018f/enabledfeatures HTTP/1.1 ... { }%