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.
Reviewed: https:/ /review. openstack. org/128672 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=288170085b2 4ee797b27aec739 bf5e11fcedf2e9
Committed: https:/
Submitter: Jenkins
Branch: stable/5.1
commit 288170085b24ee7 97b27aec739bf5e 11fcedf2e9
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/ a9837cc2141c293 efd8adfd68e
Change-Id: I9eaaaf0f63db36
Closes-bug: 1375254