Use Keystone v3 credentials

Keystone v2.0 api's are removed and we need to use
keystone v3 credentials to communicate with keystone v3.
This patch makes use of Keystone v3 credentials in
glance_image provider.

Depends-On: I385e2f34dd925bdc2fdbc1553d49dce104f566f2
Change-Id: I5d90d17a8127eb6f563aca6c9adc33bccf80f9d5
This commit is contained in:
yatin 2017-10-10 10:08:00 +05:30 committed by Emilien Macchi
parent 63709c22f0
commit fc6fd4b50c

View File

@ -10,7 +10,7 @@ Puppet::Type.type(:glance_image).provide(
Provider to manage glance_image type.
EOT
@credentials = Puppet::Provider::Openstack::CredentialsV2_0.new
@credentials = Puppet::Provider::Openstack::CredentialsV3.new
# TODO(flaper87): v2 is now the default. Force the use of v2,
# to avoid supporting both versions and other edge cases.