commit 24e359957214893326aa5940bccc8b7399d35350
Author: Liam Young <email address hidden>
Date: Tue Oct 3 13:21:39 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/509172 /git.openstack. org/cgit/ openstack/ charm-ceilomete r/commit/ ?id=24e35995721 4893326aa5940bc cc8b7399d35350
Committed: https:/
Submitter: Jenkins
Branch: master
commit 24e359957214893 326aa5940bccc8b 7399d35350
Author: Liam Young <email address hidden>
Date: Tue Oct 3 13:21:39 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: Icf2753b6b21347 af8106ebad03d81 309177d09f2
Partial-Bug: #1544959