[ovirt-users] Could not connect to the optimizer service

Kapetanakis Giannis bilias at edu.physics.uoc.gr
Wed May 25 11:28:45 UTC 2016


Hi,

I've just setup optimizer service following

http://www.ovirt.org/develop/release-management/features/sla/optaplanner/ 
and
https://github.com/oVirt/ovirt-optimizer

I can access optimizer's interface and get the the solution result from 
both http and https.
I can access it from both my pc and from ovirt-engine host with a 
browser at url
ovirt-optimizer/result/Cluster_ID

However in ovirt-engine interface I see
Status: Could not connect to the optimizer service [status code: 0]

Also I see no connection attempt from ovirt-engine to optimizer (with 
logging on optimizer's firewall).

Engine is loading the conf:
2016-05-25 13:54:40,395 INFO 
[org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager] 
(default task-20) [] Reading UI plugin configuration 
'/etc/ovirt-engine/ui-plugins/ovirt-optimizer-config.json'

/etc/ovirt-engine/ui-plugins/ovirt-optimizer-config.json:
"config": { "baseurl": 
"https://optimizer.example.com/ovirt-optimizer/result/"

tried also
"config": { "baseurl": 
"http://optimizer.example.com/ovirt-optimizer/result/"
incase there was a problem with optimizer's certificate.

Any ideas? How can I debug why the engine is not doing any attempt to 
get optimizer's result?

best regards,

Giannis




More information about the Users mailing list