Skip to content

Commit

Permalink
rhel: Fix ovn-controller-vtep systemd-unit parameter
Browse files Browse the repository at this point in the history
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: #45
Signed-off-by: Vladislav Odintsov <odivlad@gmail.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
odivlad authored and numansiddique committed May 11, 2020
1 parent ffbe0b6 commit 1e2f4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhel/usr_lib_systemd_system_ovn-controller-vtep.service
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 1e2f4aa

Please sign in to comment.