From 5ad2be715e7409d23635b15cc59250eaba2beff0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 21 Sep 2022 12:44:10 +0900 Subject: [PATCH] Undercloud: Deprecate [DEFAULT] enable_swift_encryption The parameter should have been deprecated by [1] but the option was not properly updated by the change. This adds the missing property to mark the option as deprecated one. [1] a769aa7649c5043f5940a7e019a26dbf55f1217b Change-Id: I3e73d15c724141808c0856684519cd4e28d57ed1 --- tripleoclient/config/undercloud.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tripleoclient/config/undercloud.py b/tripleoclient/config/undercloud.py index b88dcc09f..ee653de0a 100644 --- a/tripleoclient/config/undercloud.py +++ b/tripleoclient/config/undercloud.py @@ -309,6 +309,9 @@ class UndercloudConfig(StandaloneConfig): 'Enable support for routed ctlplane networks.')), cfg.BoolOpt('enable_swift_encryption', default=False, + deprecated_for_removal=True, + deprecated_reason=_( + 'Swift has been disabled in undercloud.'), help=_( 'Whether to enable Swift encryption at-rest or ' 'not.'