Description of problem: When a request to the Image Upload proxy is made, WebAdmin generates a new signed ticket and sends it in the Authorization header of the request. This should only be done for the first request, as subsequent requests can use the session id that is sent by the proxy. This will reduce overhead in both the UI and the proxy. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Perform an Image Upload (The headers are IMHO an implementation detail; verification can consist of "the upload works". However, if you want to check the headers, you can look for the Authorization header being sent during each request either via the browser's development tools or the proxy debug log.) Actual results: The Authorization header is sent every request, and no X-Session-Id header is sent. Expected results: The first request should result in an Authorization header; subsequent requests should send the X-Session-Id header instead. Additional info:
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Daniel, is this still relevant?
(In reply to Allon Mureinik from comment #3) > Daniel, is this still relevant? Relevant, but can be moved to 4.3. Not much gain here.
Verified, using: rhvm-4.2.1.4-0.1.el7.noarch ovirt-imageio-proxy-1.2.1-0.el7ev.noarch ovirt-imageio-common-1.2.1-0.el7ev.noarch * Upload image works. * image-proxy.log doesn't show _create_update_session and _decode_proxy_ticket anymore.
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.