Deprecate and remove heat_deferred_auth_method variable

According to documentation this variable have the only option of using
trusts [1]. Moreover, defenition of variable is deprecated and cause a
deprecation warning in service startup logs.

[1] https://docs.openstack.org/heat/latest/configuration/config-options.html#DEFAULT.deferred_auth_method

Change-Id: I0cc68bd8e5961559391be8c2f5a17330ef4ede2f
This commit is contained in:
Dmitriy Rabotyagov 2024-01-09 13:10:29 +01:00
parent a78b40a491
commit 835d2add96
3 changed files with 9 additions and 2 deletions

View File

@ -135,7 +135,6 @@ heat_stack_domain_description: Owns users and projects created by heat
heat_stack_user_domain_name: heat heat_stack_user_domain_name: heat
heat_max_nested_stack_depth: 5 heat_max_nested_stack_depth: 5
heat_deferred_auth_method: trusts
heat_trusts_delegated_roles: [] heat_trusts_delegated_roles: []
## Cinder backups ## Cinder backups

View File

@ -0,0 +1,9 @@
---
deprecations:
- |
Variable ``heat_deferred_auth_method`` has been deprecated and has no
effect.
Default behaviour is to use trusts as deferred method, and that is the
only working option as of today.
Usage of password is broken with keystonev3 and should not be used.

View File

@ -16,7 +16,6 @@ heat_waitcondition_server_url = {{ heat_waitcondition_server_url }}
heat_metadata_server_url = {{ heat_metadata_server_url }} heat_metadata_server_url = {{ heat_metadata_server_url }}
server_keystone_endpoint_type = public server_keystone_endpoint_type = public
deferred_auth_method = {{ heat_deferred_auth_method }}
trusts_delegated_roles = {{ heat_trusts_delegated_roles | join(',') }} trusts_delegated_roles = {{ heat_trusts_delegated_roles | join(',') }}
auth_encryption_key = {{ heat_auth_encryption_key }} auth_encryption_key = {{ heat_auth_encryption_key }}