[openstack-dev] [Kuryr] [Neutron] Waiting until Neutron Port isActive

Rick Jones rick.jones2 at hpe.com
Mon Jun 13 19:00:31 UTC 2016


On 06/10/2016 03:13 PM, Kevin Benton wrote:
> Polling should be fine. get_port operations a relatively cheap operation
> for Neutron.

Just in principle, I would suggest this polling have a back-off built 
into it.  Poll once, see the port is not yet "up" - wait a semi-random 
short length of time,  poll again, see it is not yet "up" wait a longer 
semi-random length of time, lather, rinse, repeat until you've either 
gotten to the limits of your patience or the port has become "up."

Fixed, short poll intervals can run the risk of congestive collapse "at 
scale."

rick jones




More information about the OpenStack-dev mailing list