Merge "Deprecate usage of authtoken parameters in providers"

This commit is contained in:
Zuul 2022-03-12 15:21:04 +00:00 committed by Gerrit Code Review
commit 2a189bc7a9
2 changed files with 13 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class Puppet::Provider::Cinder < Puppet::Provider::Openstack
end
def self.cinder_request(service, action, error, properties=nil)
warning('Usage of keystone_authtoken parameters is deprecated.')
properties ||= []
@credentials.username = cinder_credentials['username']
@credentials.password = cinder_credentials['password']

View File

@ -0,0 +1,12 @@
---
deprecations:
- |
The following resource types have been using the credential written in
the ``[keystone_authtoken]`` section of ``cinder.conf``. However this
behavior has been deprecated and now these resource types first look 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.
- ``cinder_type``
- ``cinder_qos``