[ovirt-users] Could not connect to the optimizer service
Kapetanakis Giannis
bilias at edu.physics.uoc.gr
Wed May 25 07:32:35 EDT 2016
On 25/05/16 14:28, Kapetanakis Giannis wrote:
> 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
>
Forgot to mention versions:
optimizer is Centos 7 ovirt-optimizer-jboss-0.9.1-2.el7.centos.noarch
engine is Centos 6 ovirt-engine-3.6.6.2-1.el6.noarch,
ovirt-optimizer-ui-0.9.1-2.el6.noarch
G
More information about the Users
mailing list