2017-07-06 04:06:37 |
cokabug |
description |
dhcp_agents_per_network does not effect when service_plugins config hae segments value
without segments, if dhcp_agents_per_network = 2, the dhcp-agent-scheduler will choose 2 compute node with neutron-dhcp-agent running to create q-dhcp namespace and start a dnsmasq process
after add segments value to service_plugins in the neutron.conf then restart neutron-server, if you choose another compute node that neutron-dhcp-agent on it but no dnsmasq process running, then restart the neutron-dhcp-agent service, you will find that the dnsmasq running after neutron-dhcp-agent service restart.
neutron dhcp-agent-list-hosting-net <network_name>
you will find there are 3 items in the list, but the dhcp_agents_per_network = 2. |
dhcp_agents_per_network does not effect when service_plugins config have segments value
without segments, if dhcp_agents_per_network = 2, the dhcp-agent-scheduler will choose 2 compute node with neutron-dhcp-agent running to create q-dhcp namespace and start a dnsmasq process
after add segments value to service_plugins in the neutron.conf then restart neutron-server, if you choose another compute node that neutron-dhcp-agent on it but no dnsmasq process running, then restart the neutron-dhcp-agent service, you will find that the dnsmasq running after neutron-dhcp-agent service restart.
neutron dhcp-agent-list-hosting-net <network_name>
you will find there are 3 items in the list, but the dhcp_agents_per_network = 2. |
|