Merge "Deprecate usage of authtoken parameters in providers"

This commit is contained in:
Zuul
2022-03-13 14:20:20 +00:00
committed by Gerrit Code Review
2 changed files with 17 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,16 @@
---
deprecations:
- |
The following resource types have been using the credential written in
the ``[keystone_authtoken]`` section of ``neutron.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.
- ``neutron_network``
- ``neutron_subnet``
- ``neutron_port``
- ``neutron_router``
- ``neutron_router_interface``
- ``neutron_security_group``