I checked live environment and confirm that dhcp_agent for 'net04' network are running only on 2 controllers, because dhcp_agents_per_network parameter is set to 2:
So looks like the tests which try to ping/access instances using DHCP agent net namespace from random controller should be fixed: list of nodes with running agents for specific network must be fetched from neutron:
I checked live environment and confirm that dhcp_agent for 'net04' network are running only on 2 controllers, because dhcp_agents_ per_network parameter is set to 2:
https:/ /github. com/stackforge/ fuel-library/ blob/master/ deployment/ puppet/ openstack/ manifests/ network. pp#L182 /github. com/stackforge/ fuel-library/ commit/ 89ef0dadcbb8bf7 b4b9ec36110f0a9 7848f99eff
https:/
So looks like the tests which try to ping/access instances using DHCP agent net namespace from random controller should be fixed: list of nodes with running agents for specific network must be fetched from neutron:
root@node-4:~# neutron agent-list | grep DHCP dbdf-4bfb- bbfd-79737df121 0d | DHCP agent | node-6. test.domain. local | :-) | True | neutron-dhcp-agent | 0cb3-4f53- af3c-f3ea26bf21 c0 | DHCP agent | node-5. test.domain. local | :-) | True | neutron-dhcp-agent | 6549-4289- be14-aa20bd6311 99 | DHCP agent | node-4. test.domain. local | :-) | True | neutron-dhcp-agent |
| 1b233ec4-
| 5394460f-
| e5d21dd2-
root@node-4:~# neutron dhcp-agent- list-hosting- net net04 ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------+ ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------+ ------- + dbdf-4bfb- bbfd-79737df121 0d | node-6. test.domain. local | True | :-) | 0cb3-4f53- af3c-f3ea26bf21 c0 | node-5. test.domain. local | True | :-) | ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------+ ------- +
+------
| id | host | admin_state_up | alive |
+------
| 1b233ec4-
| 5394460f-
+------