If setting ControllerCount: 3 , then dhcp_agents_per_network=1 in neutron.conf when --control-scale is not set in Red Hat OpenStack Platform 10
Issue
If setting ControllerCount: 3 , then dhcp_agents_per_network=1 in neutron.conf when --control-scale is not set
After deploying 3 controllers, with the Count parameters in the templates and not provided via CLI:
network-environment.yaml
parameter_defaults:
ControllerCount: 3
ComputeCount: 1
Without the --control-scale CLI parameter, the following is deployed:
[root@overcloud-controller-0 ~]# grep per /etc/neutron/* -R | grep dhcp
/etc/neutron/dhcp_agent.ini:root_helper=sudo neutron-rootwrap /etc/neutron/rootwrap.conf
/etc/neutron/neutron.conf:#dhcp_agents_per_network = 1
/etc/neutron/neutron.conf:dhcp_agents_per_network=1
[stack@undercloud-1 ~]$ neutron dhcp-agent-list-hosting-net private
+--------------------------------------+------------------------------------+----------------+-------+
| id | host | admin_state_up | alive |
+--------------------------------------+------------------------------------+----------------+-------+
| 98d52d00-0f10-4d6b-ada4-d32d2699cede | overcloud-controller-0.localdomain | True | :-) |
+--------------------------------------+------------------------------------+----------------+-------+
Meaning that redundancy for DHCP agent is missing.
Environment
Red Hat OpenStack Platform 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
