Support ovn-controller configuration file

Bug #1588969 reported by Richard Theis
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Confirmed
Low
Unassigned

Bug Description

The OVN controller is currently configured used ovs-vsctl commands as part of the DevStack plugin. To improve the deployment experience, it would be nice to provide an OVN controller configuration file to replace some of these commands.

Here are some of the commands to consider replacing:
ovs-vsctl --no-wait set open_vswitch . system-type="devstack"
ovs-vsctl --no-wait set open_vswitch . external-ids:system-id="$OVN_UUID"
ovs-vsctl --no-wait set open_vswitch . external-ids:ovn-remote="$OVN_SB_REMOTE"
ovs-vsctl --no-wait set open_vswitch . external-ids:ovn-bridge="br-int"
ovs-vsctl --no-wait set open_vswitch . external-ids:ovn-encap-type="geneve"
ovs-vsctl --no-wait set open_vswitch . external-ids:ovn-encap-ip="$HOST_IP"

Tags: ovn-upstream
tags: added: ovn-upstream
Changed in networking-ovn:
status: New → Confirmed
importance: Undecided → Low
Sanjay Verma (sanverm2)
Changed in networking-ovn:
assignee: nobody → Sanjay Verma (sanverm2)
Revision history for this message
Numan Siddique (numansiddique) wrote :

@Sanjay - I assume you are working on this. In case not, let me know I can take it up :)

Revision history for this message
Sanjay Verma (sanverm2) wrote :

@Numan - I am currently not working on this. You may take it up.

Revision history for this message
Numan Siddique (numansiddique) wrote :

@Sanjay - Thanks for the reply

Changed in networking-ovn:
assignee: Sanjay Verma (sanverm2) → Numan Siddique (numansiddique)
Revision history for this message
Numan Siddique (numansiddique) wrote :

Unassigning as i am not able to look into this activity.

Changed in networking-ovn:
assignee: Numan Siddique (numansiddique) → nobody
Pranab (pranabjb)
Changed in networking-ovn:
assignee: nobody → Pranab (pranabjb)
Revision history for this message
Russell Bryant (russellb) wrote :

One way to approach this would be to add it to ovn-ctl (a shell script for starting/stopping ovn services). If it finds a config file, it could set the values in the db for you before starting ovn-controller. That seems like an easy way to do this...

Revision history for this message
Pranab (pranabjb) wrote :

Hi Russell,
This is my bug fix attempt, so please bear with me. These questions might sound silly.

1) Isn't the script ovn-ctl part of the package openvswitch ? And, we have tried experimenting openvswitch-ovn in a non-openstack set-up. This bug affects there too. So, I am guessing this bug should affect openvswitch project too and we should resolve this as a part of openvswitch project?

2) I don't think networking-ovn project has any way to configure the ovn-ctl script ? I might be wrong here.

Thanks

Revision history for this message
Numan Siddique (numansiddique) wrote :

You are right. This bug needs to be addressed in openvswitch and not networking-ovn. Hence we have tagged this bug as "ovn-upstream" for us to track :)

Revision history for this message
Pranab (pranabboruah) wrote :

Unable to spend time on this. Sorry.

Changed in networking-ovn:
assignee: Pranab (pranabjb) → nobody
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.