Bug 1388394 - Cancel optimizer/ start here buttons doesn't work properly
Summary: Cancel optimizer/ start here buttons doesn't work properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-optimizer
Classification: Retired
Component: General
Version: 0.12
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.0.5
: 0.13
Assignee: Martin Sivák
QA Contact: Shira Maximov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-25 08:46 UTC by Shira Maximov
Modified: 2017-01-18 07:38 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2017-01-18 07:38:39 UTC
oVirt Team: SLA
Embargoed:
msivak: ovirt-4.0.z?
msivak: ovirt-4.1?
rule-engine: planning_ack?
msivak: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.