Neutron-server gives ERROR

Asked by Pranab

Following http://networkop.co.uk/blog/2016/11/27/ovn-part1/ for deploying a multi-node set-up of OpenStack Newton(OVN).

Integration of OVN fails. Checked in Neutron LOG to find this :
 ERROR networking_ovn.ovsdb.impl_idl_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.

Stuck in this for more than 1 week one. 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.

Solutions I tried:
1) Completely fresh installing everything.
2) Rebuilding ovs
3) Check SB and NB configuration options are exactly correct.

Question information

Language:
English Edit question
Status:
Solved
For:
networking-ovn Edit question
Assignee:
No assignee Edit question
Solved by:
Pranab
Solved:
Last query:
Last reply:
Revision history for this message
Salman Sikandar (salsikandar) said :
#1

I have the exact same problem. I deployed OpenStack on Centos using Packstack, built ovs and integrated using the official guide from http://docs.openstack.org/developer/networking-ovn/install.html. Let me know if you resolve this, I'm also working on it.

Revision history for this message
Pranab (pranabjb) said :
#2

Hi Salman,
I posted the same query here:
https://mail.openvswitch.org/pipermail/ovs-discuss/2017-February/043588.html

Feel free to add your additional inputs, if any, to the thread.

Will let you know if it is resolved.

-Pranab

On 2 February 2017 at 15:37, Salman Sikandar <
<email address hidden>> wrote:

> Your question #449475 on networking-ovn changed:
> https://answers.launchpad.net/networking-ovn/+question/449475
>
> Salman Sikandar posted a new comment:
> I have the exact same problem. I deployed OpenStack on Centos using
> Packstack, built ovs and integrated using the official guide from
> http://docs.openstack.org/developer/networking-ovn/install.html. Let me
> know if you resolve this, I'm also working on it.
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Salman Sikandar (salsikandar) said :
#3

Hi Pranab,

I can see the following connection error in /var/log/openvswitch/ovsdb-server.log:

2017-02-02T11:17:15.030Z|00033|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:15.056Z|00034|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:17.533Z|00035|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:20.036Z|00036|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:22.538Z|00037|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:25.041Z|00038|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:27.544Z|00039|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address
2017-02-02T11:17:30.046Z|00040|socket_util|ERR|6641:192.168.10.3: bind: Cannot assign requested address

I was wondering if you can see the same.

Revision history for this message
Salman Sikandar (salsikandar) said :
#4

Hi Pranab,

Please make sure that on the controllers where OVN North DB is running, you do not have conf.db running. Conf.db should run only on the compute nodes (reference: http://docs.openstack.org/developer/networking-ovn/refarch/refarch.html).

Port 6641 is bound by conf.db which is why OVN NorthDB cannot connect to the OVN ML2 plugin.

Let me know if this helps.

Revision history for this message
Pranab (pranabjb) said :
#5

Hi Salman,
Thanks for the input. I did a fresh install again and used an older OVS 2.6 package.(was using TOT earlier).
Things are working now.