Merge "Deprecate usage of authtoken parameters in providers"

This commit is contained in:
Zuul 2022-03-11 17:07:48 +00:00 committed by Gerrit Code Review
commit 00e988439b
2 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class Puppet::Provider::Mistral < Puppet::Provider::MistralWorkflowRequester
end
def self.mistral_request(service, action, error, properties=nil)
warning('Usage of keystone_authtoken parameters is deprecated.')
properties ||= []
@credentials.username = mistral_credentials['username']
@credentials.password = mistral_credentials['password']

View File

@ -0,0 +1,9 @@
---
deprecations:
- |
The ``mistral_workflow`` resource type has been using the credential
written in the ``[keystone_authtoken]`` section of ``mistral.conf``.
However this behavior has been deprecated and now the resource types 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.