Message ID | 1441802234-9968-1-git-send-email-rbryant@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > I added a variable called OVN_DB, but had mixed up what this parameter > to ovn-controller was for. This parameter is the location of the db > for the local ovs-vswitchd. It then gets the OVN database location > from *that* db. It seems fine to keep the env var in case someone > needs to override it for some reason, but correct the name and > description of what it is. > > Signed-off-by: Russell Bryant <rbryant@redhat.com> Applied to master, thanks!
On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > I added a variable called OVN_DB, but had mixed up what this parameter > to ovn-controller was for. This parameter is the location of the db > for the local ovs-vswitchd. It then gets the OVN database location > from *that* db. It seems fine to keep the env var in case someone > needs to override it for some reason, but correct the name and > description of what it is. > > Signed-off-by: Russell Bryant <rbryant@redhat.com> > --- LGTM Acked-by: Flavio Leitner <fbl@redhat.com>
On Wed, Sep 09, 2015 at 11:39:55AM -0400, Flavio Leitner wrote: > On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > > I added a variable called OVN_DB, but had mixed up what this parameter > > to ovn-controller was for. This parameter is the location of the db > > for the local ovs-vswitchd. It then gets the OVN database location > > from *that* db. It seems fine to keep the env var in case someone > > needs to override it for some reason, but correct the name and > > description of what it is. > > > > Signed-off-by: Russell Bryant <rbryant@redhat.com> > > --- > > LGTM > Acked-by: Flavio Leitner <fbl@redhat.com> Too late, sorry ;-)
On Wed, Sep 09, 2015 at 08:43:35AM -0700, Ben Pfaff wrote: > On Wed, Sep 09, 2015 at 11:39:55AM -0400, Flavio Leitner wrote: > > On Wed, Sep 09, 2015 at 08:37:14AM -0400, Russell Bryant wrote: > > > I added a variable called OVN_DB, but had mixed up what this parameter > > > to ovn-controller was for. This parameter is the location of the db > > > for the local ovs-vswitchd. It then gets the OVN database location > > > from *that* db. It seems fine to keep the env var in case someone > > > needs to override it for some reason, but correct the name and > > > description of what it is. > > > > > > Signed-off-by: Russell Bryant <rbryant@redhat.com> > > > --- > > > > LGTM > > Acked-by: Flavio Leitner <fbl@redhat.com> > > Too late, sorry ;-) No worries, a bug is fixed, I am happy :-) fbl
diff --git a/rhel/usr_lib_systemd_system_ovn-controller.service b/rhel/usr_lib_systemd_system_ovn-controller.service index 48dd194..6b53ced 100644 --- a/rhel/usr_lib_systemd_system_ovn-controller.service +++ b/rhel/usr_lib_systemd_system_ovn-controller.service @@ -1,9 +1,10 @@ # # You may override the following variables to customize ovn-controller behavior: # -# OVN_DB - Set this variable to the location of the ovsdb server that is -# serving the OVN_Southbound database. See the manpage for -# ovn-controller for more details on the format for the db location. +# OVS_DB - Set this variable to the location of the ovsdb server that is +# serving the Open_vSwitch database for the local ovs-vswitchd. +# See the manpage for ovn-controller for more details on the +# format for the db location. # [Unit] @@ -15,7 +16,7 @@ After=openvswitch.service [Service] Type=simple Environment=OVS_RUNDIR=%t/openvswitch -Environment=OVN_DB=unix:%t/openvswitch/db.sock +Environment=OVS_DB=unix:%t/openvswitch/db.sock ExecStart=/usr/bin/ovn-controller -vconsole:emer -vsyslog:err -vfile:info \ --log-file=/var/log/openvswitch/ovn-controller.log \ - --no-chdir --pidfile=${OVS_RUNDIR}/ovn-controller.pid ${OVN_DB} + --no-chdir --pidfile=${OVS_RUNDIR}/ovn-controller.pid ${OVS_DB}
I added a variable called OVN_DB, but had mixed up what this parameter to ovn-controller was for. This parameter is the location of the db for the local ovs-vswitchd. It then gets the OVN database location from *that* db. It seems fine to keep the env var in case someone needs to override it for some reason, but correct the name and description of what it is. Signed-off-by: Russell Bryant <rbryant@redhat.com> --- rhel/usr_lib_systemd_system_ovn-controller.service | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)