I am testing this patch with stable/zed, but it looks like this patch does delete those "dadfailed" interfaces but it does not start/restart the haproxy process in an affected netns.
for i in $(ip netns ls | awk '/qdhcp-/ { print $1}'); do PIDS="$(ip netns pids $i | xargs ps co command=)"; if [[ ! "$PIDS" =~ "haproxy" ]]; then echo $i; fi;done | sort
qdhcp-0614c965-c47d-47b4-bae2-acf24b191605
qdhcp-0b62624a-4be2-479a-9fe6-40d7fc5c9b83
qdhcp-0fb9e437-9d62-4144-9d5d-b2b062680b89
qdhcp-211261df-4c82-4d30-b460-7296e555758f
qdhcp-79c41e38-5a10-4de3-83e9-bd69c8f97092
qdhcp-a88e1f6d-df26-49c7-b562-52354decb3d2
qdhcp-c32bbe2e-bbdf-4ad7-87ff-1ab05881a3e5
qdhcp-e81fa39a-79af-4028-a5dd-df7cbc6ad762
Hi,
I am testing this patch with stable/zed, but it looks like this patch does delete those "dadfailed" interfaces but it does not start/restart the haproxy process in an affected netns.
for i in $(ip netns ls | awk '/qdhcp-/ { print $1}'); do PIDS="$(ip netns pids $i | xargs ps co command=)"; if [[ ! "$PIDS" =~ "haproxy" ]]; then echo $i; fi;done | sort c47d-47b4- bae2-acf24b1916 05 4be2-479a- 9fe6-40d7fc5c9b 83 9d62-4144- 9d5d-b2b062680b 89 4c82-4d30- b460-7296e55575 8f 5a10-4de3- 83e9-bd69c8f970 92 df26-49c7- b562-52354decb3 d2 bbdf-4ad7- 87ff-1ab05881a3 e5 79af-4028- a5dd-df7cbc6ad7 62
qdhcp-0614c965-
qdhcp-0b62624a-
qdhcp-0fb9e437-
qdhcp-211261df-
qdhcp-79c41e38-
qdhcp-a88e1f6d-
qdhcp-c32bbe2e-
qdhcp-e81fa39a-
cat /var/lib/ docker/ volumes/ kolla_logs/ _data/neutron/ neutron- dhcp-agent. log | awk '/DAD failed/ { print $17}' | sort | uniq c47d-47b4- bae2-acf24b1916 05 4be2-479a- 9fe6-40d7fc5c9b 83 9d62-4144- 9d5d-b2b062680b 89 4c82-4d30- b460-7296e55575 8f 5a10-4de3- 83e9-bd69c8f970 92 df26-49c7- b562-52354decb3 d2 bbdf-4ad7- 87ff-1ab05881a3 e5 79af-4028- a5dd-df7cbc6ad7 62
qdhcp-0614c965-
qdhcp-0b62624a-
qdhcp-0fb9e437-
qdhcp-211261df-
qdhcp-79c41e38-
qdhcp-a88e1f6d-
qdhcp-c32bbe2e-
qdhcp-e81fa39a-
So every qdhcp netns with a dadfailed interface does not have its haproxy started.