Comment 14 for bug 1544959

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder (master)

Reviewed: https://review.openstack.org/509133
Committed: https://git.openstack.org/cgit/openstack/charm-cinder/commit/?id=1975c4127121bd026bcbc128c21aeb8585e242a2
Submitter: Jenkins
Branch: master

commit 1975c4127121bd026bcbc128c21aeb8585e242a2
Author: Liam Young <email address hidden>
Date: Tue Oct 3 09:54:35 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: If483147e17dab8de2883058ee0f2718a3b7f8ca6
    Partial-Bug: #1544959