Description of problem: When clicking optimize start in VM subtab after optimizer is installed properly. GET request is redirected to secure https. As ui plugin in index.html is only counting with 200 OK proper parsing is not done. Version-Release number of selected component (if applicable): vt2.2 How reproducible: 100% Steps to Reproduce: 1. Set up ovirt-optimizer 2. Click optimize-start on VM 3. Actual results: GET http://10.34.63.60/ovirt-engine/api/vms [Mixed Content][HTTP/1.1 302 Moved Temporarily 6ms] Expected results: GET http://10.34.63.60/ovirt-engine/api/vms [Mixed Content][HTTP/1.1 302 Moved Temporarily 6ms] Detected vm: ..... Additional info: Code handling redirects is necessary statusCode: { 302: function(data) { // parsing }
it is sufficient not to force http protocol in GET url: "/ovirt-engine/api/vms" instead of url: "http://"+window.parent.location.host + "/ovirt-engine/api/vms" in get method of index.html page of plugin
not available in current release (vt4) moving back to assigned
verified in vt5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0210.html