There can be a delay between the interface being created,
and an IP address getting assigned,
which previously caused a race condition where
the config could be rendered before the IP address was ready
resulting in the health manager bind_ip to be empty.
This ensures that the IP address will be ready before continuing,
which will ensure that the config rendering will not happen until ready,
and the configure-resources action will only return once it's all done.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- octavia/ +/858608 /opendev. org/openstack/ charm-octavia/ commit/ d8d8963667cb620 370e2c424dbe668 460ab99ff1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d8d8963667cb620 370e2c424dbe668 460ab99ff1
Author: Samuel Walladge <email address hidden>
Date: Wed Sep 21 14:36:17 2022 +0930
Wait for management interface IP to be assigned
There can be a delay between the interface being created,
and an IP address getting assigned,
which previously caused a race condition where
the config could be rendered before the IP address was ready
resulting in the health manager bind_ip to be empty.
This ensures that the IP address will be ready before continuing,
which will ensure that the config rendering will not happen until ready,
and the configure-resources action will only return once it's all done.
Closes-Bug: #1961088 d14f1831f3416d8 90ad604b705
Change-Id: I2cae5f0e307c8c