Skip to content

Commit 61fc13d

Browse files
committed
neutron: keepalived wrapper script does not rm containers
keepalived wrapper script as the only one didn't have --rm in docker/podman invocation - so these didn't get deleted when stopped/crashed/etc. Closes-Bug: #2127170 Change-Id: I85ae37250ac4ef629b77ade04826a363e8047a91 Signed-off-by: Michal Nasiadka <[email protected]> (cherry picked from commit 90d255d)
1 parent 570b197 commit 61fc13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/neutron/neutron-base/keepalived

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LIST=$($CLI ps -a --filter name=${KOLLA_SERVICE}_keepalived_ --format '{{.ID}}:{
3030
printf "%s\n" "${LIST}" | grep -q "${NAME}$" && NAME="${NAME}_$(date +%Y-%m-%d-%H%M%S-%N)"
3131

3232
echo "Starting a new child container ${NAME} using image ${KOLLA_IMAGE}"
33-
$CLI run --detach \
33+
$CLI run --rm --detach \
3434
-v /etc/kolla/${KOLLA_SERVICE_NAME}:/etc/neutron:ro \
3535
-v /lib/modules:/lib/modules:ro \
3636
-v /sbin/modprobe:/sbin/modprobe:ro \

0 commit comments

Comments
 (0)