kolla-ansible/ansible/roles/openvswitch/templates/openvswitch-vswitchd.json.j2
Michal Nasiadka 5aac09c9a2 openvswitch: Stop using intermediate scripts
This will fix exit codes - details in bug.

Basically openvswitch treats TERM as something fatal (exits
with 143) and the only solution for graceful exit is using
ovs-appctl and sending exit command, just like ovs-ctl utility
does.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/905189

Partial-Bug: #2048130
Change-Id: I523018cb98944de60d7b95404deb7cebd641f33a
2024-05-14 10:56:44 +00:00

5 lines
216 B
Django/Jinja

{
"command": "ovs_wrapper ovs-vswitchd unix:/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --log-file=/var/log/kolla/openvswitch/ovs-vswitchd.log --pidfile",
"config_files": []
}