From 1e2f4aaab67090935bba6347358ad9c56b0868bf Mon Sep 17 00:00:00 2001 From: Vladislav Odintsov Date: Sun, 10 May 2020 23:41:01 +0300 Subject: [PATCH] rhel: Fix ovn-controller-vtep systemd-unit parameter In patch [1] running OVN services with supplying user was added. Since ovn-controller-vtep is started directly from systemd unit, unlike other OVN services (whitch use ovn-ctl script), user parameter should be passed as `--user`, not `--ovn-user`. [1] - cfb62bb ("rhel: Run ovn services with the 'openvswitch' user") Submitted-at: https://github.com/ovn-org/ovn/pull/45 Signed-off-by: Vladislav Odintsov Signed-off-by: Numan Siddique --- rhel/usr_lib_systemd_system_ovn-controller-vtep.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhel/usr_lib_systemd_system_ovn-controller-vtep.service b/rhel/usr_lib_systemd_system_ovn-controller-vtep.service index 09ad0612cc..c6601cb461 100644 --- a/rhel/usr_lib_systemd_system_ovn-controller-vtep.service +++ b/rhel/usr_lib_systemd_system_ovn-controller-vtep.service @@ -43,7 +43,7 @@ Environment=VTEP_DB=unix:%t/openvswitch/db.sock EnvironmentFile=-/etc/sysconfig/ovn-controller-vtep ExecStart=/usr/bin/ovn-controller-vtep -vconsole:emer -vsyslog:err -vfile:info \ --log-file=/var/log/ovn/ovn-controller-vtep.log \ - --ovn-user=${OVN_USER_ID} \ + --user=${OVN_USER_ID} \ --no-chdir --pidfile=${OVN_RUNDIR}/ovn-controller-vtep.pid \ --ovnsb-db=${OVN_DB} --vtep-db=${VTEP_DB}