Merge "Deprecate usage of authtoken parameters in providers"
This commit is contained in:
@@ -18,6 +18,7 @@ class Puppet::Provider::Glance < Puppet::Provider::Openstack
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.glance_request(service, action, error, properties=nil)
|
def self.glance_request(service, action, error, properties=nil)
|
||||||
|
warning('Usage of keystone_authtoken parameters is deprecated.')
|
||||||
properties ||= []
|
properties ||= []
|
||||||
@credentials.username = glance_credentials['username']
|
@credentials.username = glance_credentials['username']
|
||||||
@credentials.password = glance_credentials['password']
|
@credentials.password = glance_credentials['password']
|
||||||
|
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The ``glance_image`` resource type has been using the credential written in
|
||||||
|
the ``[keystone_authtoken]`` section of ``glance-api.conf``. However this
|
||||||
|
behavior has been deprecated and now the resource type first looks for
|
||||||
|
the yaml files in ``/etc/openstack/puppet``. Make sure one of
|
||||||
|
``clouds.yaml`` or ``admin-clouds.yaml`` (which is created by
|
||||||
|
puppet-keystone) is created in that directory.
|
Reference in New Issue
Block a user