[openstack-dev] [tripleo] odl deployment failed due to opendaylight websocket config in haproxy

Janki Chhatbar jankihc91 at gmail.com
Wed Dec 27 04:33:29 UTC 2017


Hi Moshe

There is a corresponding ODL patch [1]. To verify if the rpm you are using
has it, see if 10-rest-connector.xml
<https://git.opendaylight.org/gerrit/#/c/64602/7/restconf/sal-rest-connector-config/src/main/resources/initial/10-rest-connector.xml>
has a line "<websocket-address><ip></websocket-address>"



[1]. https://git.opendaylight.org/gerrit/#/c/64602/

On Tue, Dec 26, 2017 at 4:29 PM, Moshe Levi <moshele at mellanox.com> wrote:

> Hi all,
>
>
>
> When I try to deploy tripleo with opendaylight oxygen release (we did a
> private build for master) it failed with haproxy failing
>
> that it can't bind the opendaylight_ws: cannot bind socket see [1]. This
> is failing all the deployment as the haproxy is down.
>
>
>
> The opendaylight_ws was introduced in this commit
> https://github.com/openstack/puppet-tripleo/commit/
> bc3feec75f8dc1bac6691ce8cd05a37c27aa5e42
>
> If I will try to deploy with puppet-tripleo before that commit everything
> is passing and working.
>
>
>
> Any Idea how to fix this? Maybe we should revert
> https://github.com/openstack/puppet-tripleo/commit/
> bc3feec75f8dc1bac6691ce8cd05a37c27aa5e42 ?
>

Deployment works fine with this patch.

>
>
> [1] -
>
> Dec 26 10:32:56 localhost systemd: Starting HAProxy Load Balancer...
>
> Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [WARNING] 359/103257
> (20629) : parsing [/etc/haproxy/haproxy.cfg:141] : 'option httplog' not
> usable with proxy 'nova_metadata' (needs 'mode http'). Falling back to
> 'option tcplog'.
>
> Dec 26 10:32:57 localhost haproxy[20629]: Proxy cinder started.
>
> Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [WARNING] 359/103257
> (20629) : Setting tune.ssl.default-dh-param to 1024 by default, if your
> workload permits it you should set it to at least 2048. Please set a value
> >= 1024 to make this warning disappear.
>
> Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [ALERT] 359/103257
> (20629) : Starting proxy opendaylight_ws: cannot bind socket [
> 172.16.2.11:8185]
>
> Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [ALERT] 359/103257
> (20629) : Starting proxy opendaylight_ws: cannot bind socket [
> 192.168.24.7:8185]
>
> Dec 26 10:32:57 localhost haproxy[20629]: Proxy glance_api started.
>
>
>
>
>
> Thanks,
>
> Moshe
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Thanking you

Janki Chhatbar
OpenStack | Docker | SDN
simplyexplainedblog.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171227/d1c5b59b/attachment.html>


More information about the OpenStack-dev mailing list