Bug 1156122

Summary: No error message on authentication error from optimizer
Product: Red Hat Enterprise Virtualization Manager Reporter: Lukas Svaty <lsvaty>
Component: ovirt-optimizerAssignee: Martin Sivák <msivak>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: dfediuck, gklein
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-26 15:29:46 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 Lukas Svaty 2014-10-23 15:31:37 UTC
Description of problem:
When authentication from ovirt-optimizer fails (for example on incorrect password) no error is displayed in engine ui plugin.

Version-Release number of selected component (if applicable):
vt7

How reproducible:
100%

Steps to Reproduce:
1. Set up ovirt optimizer
2. put wrong password to /etc/ovirt-optimizer/ovirt-optimizer.properties
3. See status in engine webadmin portal clusters/ovirt-optimizer

Actual results:
Status: Solution received
No VM starts are requested at this moment.

Expected results:
Status: Authentication error


Additional info:
console.log of optimizer:
17:30:36,832 ERROR [org.ovirt.optimizer.service.OptimizerServiceBean] (http-/0.0.0.0:8080-1) Cluster 00000001-0001-0001-0001-000000000024 does not exist
17:30:36,833 INFO  [stdout] (http-/0.0.0.0:8080-1) 2014-10-23 17:30:36,832 ERROR [org.ovirt.optimizer.service.OptimizerServiceBean] Cluster 00000001-0001-0001-0001-000000000024 does not exist

it would be good to reflect this issue in webadmin portal (if possible)

Comment 1 Doron Fediuck 2014-10-26 15:29:46 UTC
This should be resolved as a prt of bug 1140293.

*** This bug has been marked as a duplicate of bug 1140293 ***