commit 5b0ea0320236d05bc3af0cb338e03f3c3cde040a
Author: Hong Hui Xiao <email address hidden>
Date: Wed Jun 8 12:18:53 2016 +0000
Mark port as ready after enabling dhcp at agent
When subnet is created and network is scheduled to dhcp agent, the
dhcp agent will request neutron server to create dhcp port.
Neutron server will create and mark port as BUILD and wait for the
ready signal from dhcp agent.
dhcp agent will create 'real' dhcp port after getting response from
neutron server. But after that, dhcp agent will not tell neutron server
that the dhcp port is ready. So, the reported bug can be observed.
If ports are created before dhcp is enabled for network, dhcp agent will
not mark ports as 'ready' as there is no network cache. This patch also
marks all ports in network as ready, in case that happens.
Reviewed: https:/ /review. openstack. org/327062 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5b0ea032023 6d05bc3af0cb338 e03f3c3cde040a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5b0ea0320236d05 bc3af0cb338e03f 3c3cde040a
Author: Hong Hui Xiao <email address hidden>
Date: Wed Jun 8 12:18:53 2016 +0000
Mark port as ready after enabling dhcp at agent
When subnet is created and network is scheduled to dhcp agent, the
dhcp agent will request neutron server to create dhcp port.
Neutron server will create and mark port as BUILD and wait for the
ready signal from dhcp agent.
dhcp agent will create 'real' dhcp port after getting response from
neutron server. But after that, dhcp agent will not tell neutron server
that the dhcp port is ready. So, the reported bug can be observed.
If ports are created before dhcp is enabled for network, dhcp agent will
not mark ports as 'ready' as there is no network cache. This patch also
marks all ports in network as ready, in case that happens.
Change-Id: I363d8727f7ef6e 6e08be4b0022c64 64d51692b85
Closes-bug: #1588906