Comment 8 for bug 1375254

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/128672
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=288170085b24ee797b27aec739bf5e11fcedf2e9
Submitter: Jenkins
Branch: stable/5.1

commit 288170085b24ee797b27aec739bf5e11fcedf2e9
Author: Aleksandr Didenko <email address hidden>
Date: Tue Oct 14 21:03:31 2014 +0300

    Fix keystone_endpoint provider

    Provider logic was broken for the new style keystone_endpoints
    (the ones with "region/service" resource names). Due to this
    puppet created new keystone endpoint even for existing ones on the
    2nd+ runs.

    We need to use common hash key for endpoint_hash in the provider
    for both resource types ("region/service" and "service":region =>)
    So we just force endpoint_hash to use "region/service" as hash key
    for any "keystone_endpoint" resource type.

    This patch and the problem will go away after we sync keystone
    module with upstream.

    Cherry-picked from: https://review.openstack.org/#/c/128384/
    Change-Id: I9eaaaf0f63db36a9837cc2141c293efd8adfd68e
    Closes-bug: 1375254