<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">So I did some investigation and it seem that the problem is with puppet-opendaylight.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The was a change to allow configure the ip address for the web sockets which uses
<a href="https://git.opendaylight.org/gerrit/#/c/64242/1/restconf/sal-rest-connector-config/src/main/resources/initial/restconf.cfg">
<span style="color:#1F497D;text-decoration:none">restconf.cfg</span></a> config file see [1].<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This change was backport to nitrogen as well.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The carbon change for allowing configure websocket ip address is different [2] and uses
<a href="https://git.opendaylight.org/gerrit/#/c/64602/7/restconf/sal-rest-connector-config/src/main/resources/initial/10-rest-connector.xml">
<span style="color:#1F497D;text-decoration:none">10-rest-connector.xml</span></a></span>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">In the puppet opendaylight the change that was introduce is according to carbon to create
<a href="https://git.opendaylight.org/gerrit/#/c/64602/7/restconf/sal-rest-connector-config/src/main/resources/initial/10-rest-connector.xml">
<span style="color:#1F497D;text-decoration:none">10-rest-connector.xml</span></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I create a patch that configure the
<a href="https://git.opendaylight.org/gerrit/#/c/64242/1/restconf/sal-rest-connector-config/src/main/resources/initial/restconf.cfg">
<span style="color:#1F497D;text-decoration:none">restconf.cfg</span></a> [4]. I tested and it solve  my issue. It should be backport to nitrogen as well.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[1] -
<a href="https://git.opendaylight.org/gerrit/#/c/64242">https://git.opendaylight.org/gerrit/#/c/64242</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[2] -
<a href="https://git.opendaylight.org/gerrit/#/c/64602/">https://git.opendaylight.org/gerrit/#/c/64602/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[3] - https://git.opendaylight.org/gerrit/#/c/64775/   <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[4] -
<a href="https://git.opendaylight.org/gerrit/#/c/66777/">https://git.opendaylight.org/gerrit/#/c/66777/</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Janki Chhatbar [mailto:jankihc91@gmail.com]
<br>
<b>Sent:</b> Wednesday, December 27, 2017 6:33 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org>; Moshe Levi <moshele@mellanox.com><br>
<b>Subject:</b> Re: [openstack-dev] [tripleo] odl deployment failed due to opendaylight websocket config in haproxy<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Moshe<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">There is a corresponding ODL patch [1]. To verify if the rpm you are using has it, see if
<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.opendaylight.org%2Fgerrit%2F%23%2Fc%2F64602%2F7%2Frestconf%2Fsal-rest-connector-config%2Fsrc%2Fmain%2Fresources%2Finitial%2F10-rest-connector.xml&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=%2FK0hyyD8yOx%2BhZNBA8j8k6qpoNXTvArOCk8CO%2FaVa40%3D&reserved=0">
10-rest-connector.xml</a> has a line "<websocket-address><ip></websocket-address>"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[1]. <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.opendaylight.org%2Fgerrit%2F%23%2Fc%2F64602%2F&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=NLNE%2BjsILG6Q2111Mn7RLqUAjTMcQQHZvIQNRiFwSik%3D&reserved=0">
https://git.opendaylight.org/gerrit/#/c/64602/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Dec 26, 2017 at 4:29 PM, Moshe Levi <<a href="mailto:moshele@mellanox.com" target="_blank">moshele@mellanox.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">When I try to deploy tripleo with opendaylight oxygen release (we did a private build for master) it failed with haproxy failing
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">that it can't bind the opendaylight_ws: cannot bind socket see [1]. This is failing all the deployment as the haproxy is down.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The opendaylight_ws was introduced in this commit
<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenstack%2Fpuppet-tripleo%2Fcommit%2Fbc3feec75f8dc1bac6691ce8cd05a37c27aa5e42&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=dDxT%2FzvezgY%2ByExVNiLDsPq4eh21gXZnr7WnUllrIDc%3D&reserved=0" target="_blank">
https://github.com/openstack/puppet-tripleo/commit/bc3feec75f8dc1bac6691ce8cd05a37c27aa5e42</a>
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">If I will try to deploy with puppet-tripleo before that commit everything is passing and working.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any Idea how to fix this? Maybe we should revert
<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenstack%2Fpuppet-tripleo%2Fcommit%2Fbc3feec75f8dc1bac6691ce8cd05a37c27aa5e42&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=dDxT%2FzvezgY%2ByExVNiLDsPq4eh21gXZnr7WnUllrIDc%3D&reserved=0" target="_blank">
https://github.com/openstack/puppet-tripleo/commit/bc3feec75f8dc1bac6691ce8cd05a37c27aa5e42</a> ?
<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Deployment works fine with this patch. <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[1] -
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dec 26 10:32:56 localhost systemd: Starting HAProxy Load Balancer...<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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'.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dec 26 10:32:57 localhost haproxy[20629]: Proxy cinder started.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [ALERT] 359/103257 (20629) : Starting proxy opendaylight_ws: cannot bind socket [<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F172.16.2.11%3A8185&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=jzlQoiNBJISasoL2yEuFg5hs2%2BZ8TtJDhuZKTsyT9sg%3D&reserved=0" target="_blank">172.16.2.11:8185</a>]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dec 26 10:32:57 localhost haproxy-systemd-wrapper: [ALERT] 359/103257 (20629) : Starting proxy opendaylight_ws: cannot bind socket [<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F192.168.24.7%3A8185&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=1Taklqxm64AqIerpXgnhI6phsoM932ywqmhFHoCr%2BoY%3D&reserved=0" target="_blank">192.168.24.7:8185</a>]<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dec 26 10:32:57 localhost haproxy[20629]: Proxy glance_api started.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Moshe<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2FOpenStack-dev-request%40lists.openstack.org%3Fsubject%3Aunsubscribe&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=0wRSc09lVkRx4%2ByFVVwEkOGVDQdVcowMBCtzjfgJgkQ%3D&reserved=0" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=q0PjbS5KGcHx8GJOHjru0MWLuRfisLieZeVBphDPIP4%3D&reserved=0" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Thanking you<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Janki Chhatbar<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OpenStack | Docker | SDN<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsimplyexplainedblog.wordpress.com&data=02%7C01%7Cmoshele%40mellanox.com%7C3f265f35ab734eeccb5a08d54ce2fb98%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636499460131485309&sdata=L1hQ5LVbdolj%2BKqF3XgmPGZCq1iESpSj7RdkKHykIHo%3D&reserved=0" target="_blank">simplyexplainedblog.wordpress.com</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>