Support DNS for ovn_{nb,sb}_connection

Bug #2028442 reported by Mohammed Naser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
High
Unassigned

Bug Description

At the moment, it seems that when using a DNS hostname for `ovn_nb_connection` or `ovn_sb_connection`, the connection never seems to go up.

It seems that the `ovs` library does not resolve an IP address before proceeding, I'm not sure if we should be resolving things and passing them on resolved to OVS, or tryign to look for fix upstream.

This is pretty critical for HA deployments that rely on multiple replicas with hostnames (i.e. a Kubernetes StatefulSet)

Revision history for this message
yatin (yatinkarel) wrote :

@mnaser, it's recently implemented in OVS[1] by Terry, can you check/confirm if that's what works for your case.

[1] https://github.com/openvswitch/ovs/commit/4d55a364ff60d894dce4e2e97a489d81520dc663

Revision history for this message
Mohammed Naser (mnaser) wrote :

Nice, this seems to have recently been brought in.. I think we’ll have to somehow use a newer version of the ovs binding to support it

Changed in neutron:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Terry Wilson (otherwiseguy) wrote :

My patch for adding DNS resolution to python-ovs was recently merged: http://patchwork.ozlabs<email address hidden>/

We'll just need to wait for it to show up in a release.

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Thx Terry and Yatin for confirmation. I'm closing this bug as it's nothing to do in Neutron.

Changed in neutron:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.