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

Yaniv Kaul ykaul at redhat.com
Thu May 26 02:49:05 EDT 2016


On Wed, May 25, 2016 at 7:17 PM, Martin Sivak <msivak at redhat.com> wrote:

> Hi,
>
> > The connection to optimizer is being done by client's browser and not the
> > engine...
> > I used a private network which was not accessible from the browser.
>
> That is exactly the case. Glad to see you were able to fix it.
>

Perhaps worth adding a one-liner to the oVirt website mentioning this.
Y.


> --
> Martin Sivak
> SLA / oVirt
>
>
> On Wed, May 25, 2016 at 5:38 PM, Kapetanakis Giannis
> <bilias at edu.physics.uoc.gr> wrote:
> > On 25/05/16 14:32, Kapetanakis Giannis wrote:
> >>
> >> 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
> >
> >
> > I think I figured this out.
> > The connection to optimizer is being done by client's browser and not the
> > engine...
> > I used a private network which was not accessible from the browser.
> >
> >
> > G
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160526/eff5072a/attachment.html>


More information about the Users mailing list