commit 36e95189217d1cd68de34985e90382cb39020006
Author: Liam Young <email address hidden>
Date: Mon Oct 2 10:43:13 2017 +0000
Block endpoint reg if cluster partially formed
When an existing cluster of the service is scaled out the new unit
will join with keystone before it is fully clustered. In identity
joined hook the charmhelpers function canonical_url is called which
in turn uses another charmhelpers function, resolve_address.
resolve_address will only return the vip if the vip is set in config
AND the unit is clustered. This means that the units local address
is returned and that is then registered with keystone.
This change gates registering an endpoint if the cluster is
partially formed.
Reviewed: https:/ /review. openstack. org/508845 /git.openstack. org/cgit/ openstack/ charm-nova- cloud-controlle r/commit/ ?id=36e95189217 d1cd68de34985e9 0382cb39020006
Committed: https:/
Submitter: Jenkins
Branch: master
commit 36e95189217d1cd 68de34985e90382 cb39020006
Author: Liam Young <email address hidden>
Date: Mon Oct 2 10:43:13 2017 +0000
Block endpoint reg if cluster partially formed
When an existing cluster of the service is scaled out the new unit
will join with keystone before it is fully clustered. In identity
joined hook the charmhelpers function canonical_url is called which
in turn uses another charmhelpers function, resolve_address.
resolve_address will only return the vip if the vip is set in config
AND the unit is clustered. This means that the units local address
is returned and that is then registered with keystone.
This change gates registering an endpoint if the cluster is
partially formed.
Change-Id: Ibe7d2286de130f 045257ad6552f7a 5b1279958b6
Partial-Bug: #1544959