[DHCP] AgentBinding for network will be created no matter the state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Neutron creates N NetworkDhcpAgen
Reproduce steps:
$ source demo_rc
$ openstack network create 111
$ openstack subnet create --no-dhcp --subnet-range 1.1.1.0/24 --network 871c588b-
$ source admin_rc
$ openstack network agent list --network 871c588b-
+------
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+------
| c9921687-
+------
Then this behavior has a result is that HA network for HA routers will also have such bindings.
Because the external network will not have VM created normally, so its subnets' enable_dhcp are all disabled. Again, the bindings are created.
Good news is that in DHCP agent side dhcp-namespace and dnsmasq are not created.
So, basically this is inconsitent between neutron server side and DHCP agent side.
So, I have some thoughts about this is to add config option to disable some types of network's dhcp agent binding.
I'm classifying this as RFE.