External processes, such as radvd, can refuse to start
and throw an exception such as:
"Unable to convert value in $pidfile"
because the given pidfile has more than one PID in it.
The situation can happen when the neutron node is reset
and the obsolete PID files are not cleaned before neutron
is started.
This commit adds PID file cleanup before external
process start.
Closes-bug: #2033980
Change-Id: Id62bf18067d0b144c3e8825c7603cc1e51dca052
(cherry picked from commit c3b855a10080ab5b7d33f42aaee02e5ed50a4fdf)
Signed-off-by: Sven Kieske <email address hidden>
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/903149 /opendev. org/openstack/ neutron/ commit/ 7c7a99acb89dd6c 6c800f0b0ac1bac f515312438
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 7c7a99acb89dd6c 6c800f0b0ac1bac f515312438
Author: Brian Haley <email address hidden>
Date: Tue Sep 19 13:25:41 2023 -0400
Remove obsolete PID files before start
External processes, such as radvd, can refuse to start
and throw an exception such as:
"Unable to convert value in $pidfile"
because the given pidfile has more than one PID in it.
The situation can happen when the neutron node is reset
and the obsolete PID files are not cleaned before neutron
is started.
This commit adds PID file cleanup before external
process start.
Closes-bug: #2033980 44c3e8825c7603c c1e51dca052 b7d33f42aaee02e 5ed50a4fdf)
Change-Id: Id62bf18067d0b1
(cherry picked from commit c3b855a10080ab5
Signed-off-by: Sven Kieske <email address hidden>