Bug 1388394

Summary: Cancel optimizer/ start here buttons doesn't work properly
Product: [Retired] ovirt-optimizer Reporter: Shira Maximov <mshira>
Component: GeneralAssignee: Martin Sivák <msivak>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.12CC: bugs
Target Milestone: ovirt-4.0.5Flags: msivak: ovirt-4.0.z?
msivak: ovirt-4.1?
rule-engine: planning_ack?
msivak: devel_ack+
rule-engine: testing_ack+
Target Release: 0.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-optimizer-0.13 Doc Type: Bug Fix
Doc Text:
Cause: Non-needed extra header was included in the cancel optimization request. Some small v4 REST incompatibilities. Consequence: CORS configuration prevented the cancel optimization request and other requests were using invalid (old) API. Fix: The extra header for cancel optimization was removed and the other API calls were updated to the new API. Result: Buttons work now.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:38:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shira Maximov 2016-10-25 08:46:56 UTC
Description of problem:

In the optimizer tab, there's list of vms that should start, When canceling one of them it doesn't work.

In the console log : 
XMLHttpRequest cannot load https://10.35.162.207/ovirt-optimizer/result/ea2595dd-7d9f-4fe4-abdb-132a728d4034/cancel. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.

Version-Release number of selected component (if applicable):
ovirt-optimizer-ui-0.12-1.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. have a env with optimizer install  
2. optimize start 
3. go the the optimizer tab - > cancel the optimize start

Actual results:


Expected results:


Additional info:

Comment 1 Shira Maximov 2016-10-31 14:56:54 UTC
verified on :
Red Hat Virtualization Manager Version: 4.0.5.4-0.1.el7ev
ovirt-optimizer-0.13-1.el7ev.noarch
ovirt-optimizer-ui-0.13-1.el7ev.noarch

verification steps :
1. have a env with optimizer install  
2. optimize start 
3. go the the optimizer tab - > cancel the optimize start