Thank you Brian,
your latest WIP patch (https://review.opendev.org/c/openstack/neutron/+/883193) together with the "transparent" binding option does allow haproxy to spawn in each DHCP netns even if dadfailure nics get deleted.
for i in $(ip netns ls | awk '/qdhcp-/ { print $1 }'); do if [ $(ip netns pids $i | wc -l | grep 2) ]; 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-25aadba7-44bf-41bf-aaff-015a581e2d21 qdhcp-6810dff4-b8c0-40c3-a755-62b5ebaf8369 qdhcp-6bd9cbec-4b84-4adc-ac9c-901cb90a8eec qdhcp-79c41e38-5a10-4de3-83e9-bd69c8f97092 qdhcp-8c15292e-9335-438b-b166-0a3cffd5f233 qdhcp-a88e1f6d-df26-49c7-b562-52354decb3d2 qdhcp-c32bbe2e-bbdf-4ad7-87ff-1ab05881a3e5 qdhcp-cd696a35-adc7-4a8e-aa81-fdabd0ceafde qdhcp-e346b34b-2e47-4221-888a-4d1880cb34d8 qdhcp-e81fa39a-79af-4028-a5dd-df7cbc6ad762
docker exec -ti neutron_dhcp_agent ls /var/lib/neutron/ns-metadata-proxy/ | sort 0614c965-c47d-47b4-bae2-acf24b191605.conf 0b62624a-4be2-479a-9fe6-40d7fc5c9b83.conf 0fb9e437-9d62-4144-9d5d-b2b062680b89.conf 211261df-4c82-4d30-b460-7296e555758f.conf 25aadba7-44bf-41bf-aaff-015a581e2d21.conf 6810dff4-b8c0-40c3-a755-62b5ebaf8369.conf 6bd9cbec-4b84-4adc-ac9c-901cb90a8eec.conf 79c41e38-5a10-4de3-83e9-bd69c8f97092.conf 8c15292e-9335-438b-b166-0a3cffd5f233.conf a88e1f6d-df26-49c7-b562-52354decb3d2.conf c32bbe2e-bbdf-4ad7-87ff-1ab05881a3e5.conf cd696a35-adc7-4a8e-aa81-fdabd0ceafde.conf e346b34b-2e47-4221-888a-4d1880cb34d8.conf e81fa39a-79af-4028-a5dd-df7cbc6ad762.conf
I will try to create a complete patch asap.
Thank you Brian,
your latest WIP patch (https:/ /review. opendev. org/c/openstack /neutron/ +/883193) together with the "transparent" binding option does allow haproxy to spawn in each DHCP netns even if dadfailure nics get deleted.
for i in $(ip netns ls | awk '/qdhcp-/ { print $1 }'); do if [ $(ip netns pids $i | wc -l | grep 2) ]; 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 44bf-41bf- aaff-015a581e2d 21 b8c0-40c3- a755-62b5ebaf83 69 4b84-4adc- ac9c-901cb90a8e ec 5a10-4de3- 83e9-bd69c8f970 92 9335-438b- b166-0a3cffd5f2 33 df26-49c7- b562-52354decb3 d2 bbdf-4ad7- 87ff-1ab05881a3 e5 adc7-4a8e- aa81-fdabd0ceaf de 2e47-4221- 888a-4d1880cb34 d8 79af-4028- a5dd-df7cbc6ad7 62
qdhcp-0614c965-
qdhcp-0b62624a-
qdhcp-0fb9e437-
qdhcp-211261df-
qdhcp-25aadba7-
qdhcp-6810dff4-
qdhcp-6bd9cbec-
qdhcp-79c41e38-
qdhcp-8c15292e-
qdhcp-a88e1f6d-
qdhcp-c32bbe2e-
qdhcp-cd696a35-
qdhcp-e346b34b-
qdhcp-e81fa39a-
docker exec -ti neutron_dhcp_agent ls /var/lib/ neutron/ ns-metadata- proxy/ | sort c47d-47b4- bae2-acf24b1916 05.conf 4be2-479a- 9fe6-40d7fc5c9b 83.conf 9d62-4144- 9d5d-b2b062680b 89.conf 4c82-4d30- b460-7296e55575 8f.conf 44bf-41bf- aaff-015a581e2d 21.conf b8c0-40c3- a755-62b5ebaf83 69.conf 4b84-4adc- ac9c-901cb90a8e ec.conf 5a10-4de3- 83e9-bd69c8f970 92.conf 9335-438b- b166-0a3cffd5f2 33.conf df26-49c7- b562-52354decb3 d2.conf bbdf-4ad7- 87ff-1ab05881a3 e5.conf adc7-4a8e- aa81-fdabd0ceaf de.conf 2e47-4221- 888a-4d1880cb34 d8.conf 79af-4028- a5dd-df7cbc6ad7 62.conf
0614c965-
0b62624a-
0fb9e437-
211261df-
25aadba7-
6810dff4-
6bd9cbec-
79c41e38-
8c15292e-
a88e1f6d-
c32bbe2e-
cd696a35-
e346b34b-
e81fa39a-
I will try to create a complete patch asap.