<div dir="ltr"><div><div>Numan,<br></div>Details as requested:<br></div><div><br>___________<br>ml2_conf.ini:|<br>```````````````````<br>ovn_nb_connection = tcp:<a href="http://192.168.10.10:6641" target="_blank">192.168.10.10:6641</a><br>ovn_sb_connection = tcp:<a href="http://192.168.10.10:6642" target="_blank">192.168.10.10:6642</a><br>ovn_l3_mode = True<br>ovn_l3_scheduler = chance<br>ovn_l3_admin_net_cidr = <a href="http://169.254.128.0/30" target="_blank">169.254.128.0/30</a><br>ovn_native_dhcp = True<br><br></div><div>Note: 192.168.10.10 is the management ip of controller. Firewall, NetworkManager and SElinux are disabled on all nodes.<br></div><div><font face="arial, helvetica, sans-serif">____________________________<br>output of "ps -aef | grep ovsdb" : |<br>``````````````````````````````<wbr>```````````````````<br>root 21220 21219 0 Feb01 ? 00:00:44 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/<wbr>openvswitch/db.sock --private-key=db:Open_vSwitch,<wbr>SSL,private_key --certificate=db:Open_vSwitch,<wbr>SSL,certificate --bootstrap-ca-cert=db:Open_<wbr>vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/<wbr>openvswitch/ovsdb-server.log --pidfile=/var/run/<wbr>openvswitch/ovsdb-server.pid --detach --monitor<br><br>root 21324 21323 0 Feb01 ? 00:00:03 ovsdb-server --detach --monitor -vconsole:off --log-file=/var/log/<wbr>openvswitch/ovsdb-server-nb.<wbr>log --remote=punix:/var/run/<wbr>openvswitch/ovnnb_db.sock --pidfile=/var/run/<wbr>openvswitch/ovnnb_db.pid --remote=db:OVN_Northbound,NB_<wbr>Global,connections --unixctl=ovnnb_db.ctl --private-key=db:OVN_<wbr>Northbound,SSL,private_key --certificate=db:OVN_<wbr>Northbound,SSL,certificate --ca-cert=db:OVN_Northbound,<wbr>SSL,ca_cert /etc/openvswitch/ovnnb_db.db<br><br>root 21332 21331 0 Feb01 ? 00:00:03 ovsdb-server --detach --monitor -vconsole:off --log-file=/var/log/<wbr>openvswitch/ovsdb-server-sb.<wbr>log --remote=punix:/var/run/<wbr>openvswitch/ovnsb_db.sock --pidfile=/var/run/<wbr>openvswitch/ovnsb_db.pid --remote=db:OVN_Southbound,SB_<wbr>Global,connections --unixctl=ovnsb_db.ctl --private-key=db:OVN_<wbr>Southbound,SSL,private_key --certificate=db:OVN_<wbr>Southbound,SSL,certificate --ca-cert=db:OVN_Southbound,<wbr>SSL,ca_cert /etc/openvswitch/ovnsb_db.db<br><br></font></div><div><font face="arial, helvetica, sans-serif">Note: NB and SB databases are supposed to be listening on a tcp socket. But it isn't. <br><br></font>_________________________<br><font face="arial, helvetica, sans-serif"><font face="arial, helvetica, sans-serif">output of logs |<br>```````````````````````````````````````````<br></font>Neutron server log :<br> - <a href="http://paste.openstack.org/show/597320/">http://paste.openstack.org/show/597320/</a><br></font></div><div><font face="arial, helvetica, sans-serif">ovs-nothd log:<br> - <a href="http://paste.openstack.org/show/597322/">http://paste.openstack.org/show/597322/</a><br>ovs-vswitchd log on Controller:<br> - <a href="http://paste.openstack.org/show/597324/">http://paste.openstack.org/show/597324/</a><br>_________________________________________<br></font></div><div><font face="arial, helvetica, sans-serif"># ovn-nbctl and ovn-sbctl show no output. |<br>```````````````````````````````````````````````````````````````````````<br></font></div><div><font face="arial, helvetica, sans-serif">________________________________________<br>OVN RPMS installation and download details: |<br>``````````````````````````````````````````````````````````````````````<br></font></div><div><font face="arial, helvetica, sans-serif">On controller:<br></font></div><div><font face="arial, helvetica, sans-serif"># git clone </font><a id="gmail-LPlnk244053" href="https://github.com/openvswitch/ovs.git" class="gmail-OWAAutoLink">https://github.com/openvswitch/ovs.git</a></div><div><font face="arial, helvetica, sans-serif"># </font><code><span>.<span style="font-family:arial,helvetica,sans-serif">/boot.sh</span></span><span style="font-family:arial,helvetica,sans-serif"><br>
<span># ./configure </span><br>
</span><div><span style="font-family:arial,helvetica,sans-serif"># make rpm-fedora RPMBUILD_OPT="--without check"<br></span>
</div><span style="font-family:arial,helvetica,sans-serif">
</span><span><span style="font-family:arial,helvetica,sans-serif"># make rpm-fedora-km</span>od</span></code><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><br></div><div>ALL nodes:<br></div><div><code><pre><span style="font-family:arial,helvetica,sans-serif"><code class="gmail-bash"><span class="gmail-line"># <span style="font-family:arial,helvetica,sans-serif">rpm -i openvswitch-kmod-2.6.90-1.el7.centos.x86_64.rpm
</span></span><span style="font-family:arial,helvetica,sans-serif"><span class="gmail-line"># rpm -U openvswitch-2.6.90-1.el7.centos.x86_64.rpm<br></span></span></code><br></span><code><span style="font-family:arial,helvetica,sans-serif">Only Controller:</span><pre><span style="font-family:arial,helvetica,sans-serif"><code class="gmail-bash"><span class="gmail-line"><span style="font-family:arial,helvetica,sans-serif"># rpm -i openvswitch-ovn-common-*.x86_64.rpm</span>
</span><span class="gmail-line"><span style="font-family:arial,helvetica,sans-serif"># rpm -i openvswitch-ovn-central-*.x86_64.rpm</span><br></span></code></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><code class="gmail-bash"><span class="gmail-line"><span style="font-family:arial,helvetica,sans-serif">Only Compute:</span><br></span></code></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><code><pre><code class="gmail-bash"><span class="gmail-line"><span style="font-family:arial,helvetica,sans-serif"># rpm -i openvswitch-ovn-common-*.x86_64.rpm</span>
</span><span style="font-family:arial,helvetica,sans-serif"><span class="gmail-line"># rpm -i openvswitch-ovn-host-*.x86_64.rpm<br><br></span></span></code></pre><pre><span style="font-family:arial,helvetica,sans-serif"># lsmod | grep open</span> <span style="font-family:arial,helvetica,sans-serif"> <br> - shows all the required modules<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Let me know if you need anything else.</span></pre><pre><code class="gmail-bash"><span style="font-family:arial,helvetica,sans-serif"><span class="gmail-line">Thanks. <br>pjb<br></span></span></code></pre></code></span><br></pre></code><br><br></pre></code></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span><br></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 February 2017 at 15:23, Numan Siddique <span dir="ltr"><<a href="mailto:nusiddiq@redhat.com" target="_blank">nusiddiq@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Adding openstack-dev ML with [networking-ovn] tag.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Please see comments inline</font></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Feb 2, 2017 at 3:01 PM, pranab boruah <span dir="ltr"><<a href="mailto:pranabjyotiboruah@gmail.com" target="_blank">pranabjyotiboruah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi guys, <br></div>We have a OpenStack multi-node lab. Everything was working, until I tried integrating with OVN.<br></div>Followed the official guide for integration:<br><br><a href="http://docs.openstack.org/developer/networking-ovn/install.html" target="_blank">http://docs.openstack.org/deve<wbr>loper/networking-ovn/install.<wbr>html</a><br><br></div>Lab details:<br></div>1 Controller, 2 computes<br><br></div>CentOS-7.3, OpenStack Newton, separate network for mgmt and tunnel. <br><br></div>Error details :<br></div>Neutron Server log shows :<br><br> ERROR networking_ovn.ovsdb.impl_idl_<wbr>ovn
[-] OVS database connection to OVN_Northbound failed with error:
'{u'error': u'unknown database', u'details': u'get_schema request
specifies unknown database OVN_Northbound', u'syntax': u'["OVN_Northbound"]'}'.
Verify that the OVS and OVN services are available and that the
'ovn_nb_connection' and 'ovn_sb_connection' configuration options are
correct.
<p>Stuck in this for more than 2 week. Starting to hate my life.
Please help. Before I tried installing in physical machines, followed
the same guide and installed in VMs. Everything was working then.</p>
<p>Solutions I tried:<br>
1) Completely fresh installing everything.<br>
2) Rebuilding ovs<br>
3) Check SB and NB configuration options in plugin.ini are exactly correct.</p><p><br></p></div></blockquote><div><br></div></span><div><div class="gmail_default" style="font-family:monospace,monospace;display:inline"></div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif">Could you please share</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif"> - the values of ovn_nb_connection and ovn_sb_connection defined in ml2_conf.ini.</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif"> - the output of "ps -aef | grep ovsdb" on the node where you are running the ovn-northd server.</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif"> - If you could share the output of neutron-server logs in some paste link, it would be helpful.</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif"><br></font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif">Are you able to run "ovn-nbctl show" ? I presume you have installed the appropriate ovn RPMS ? If not so, please let me know how you have installed it.</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif"><br></font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif">Thanks</font></div></div><div><div class="gmail_default" style="display:inline"><font face="arial, helvetica, sans-serif">Numan</font></div></div><div><div class="gmail_default" style="font-family:monospace,monospace;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:monospace,monospace;display:inline"></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><p></p><p>Let me know if additional details are required.</p><p><br></p><p>-pjb<br></p>
<h2><br></h2><br></div>
<br></span>______________________________<wbr>_________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/m<wbr>ailman/listinfo/ovs-discuss</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>