Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Neutron: Use the pids subsystem to look up container id" into …
Browse files Browse the repository at this point in the history
…stable/victoria
  • Loading branch information
Zuul authored and openstack-gerrit committed Jul 16, 2021
2 parents 6ef8fbc + 46ad1e6 commit 63c1952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/neutron/kill-script
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ signal_container() {
{% raw -%}
if [ -f /proc/$PID/cgroup ]; then
# Get container ID based on process cgroups
CT_ID=$(awk 'BEGIN {FS="[-.]"} /name=/{print $3}' /proc/$PID/cgroup)
CT_ID=$(awk 'BEGIN {FS="[-.]"} /:pids:/{print $3}' /proc/$PID/cgroup)
CT_NAME=$($CLI inspect -f '{{.Name}}' $CT_ID)

case $SIG in
Expand Down

0 comments on commit 63c1952

Please sign in to comment.