From: Vladislav Odintsov <[email protected]>

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 <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
---
 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 09ad0612c..c6601cb46 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}
 
-- 
2.26.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to