diff --git a/heat/cmd/all.py b/heat/cmd/all.py index 526bc7fa29..0182b49aad 100644 --- a/heat/cmd/all.py +++ b/heat/cmd/all.py @@ -22,6 +22,7 @@ import eventlet eventlet.monkey_patch(os=False) import sys +import warnings from oslo_config import cfg import oslo_i18n as i18n @@ -49,6 +50,9 @@ LAUNCH_SERVICES = { services_opt = cfg.ListOpt( 'enabled_services', default=['engine', 'api', 'api_cfn'], + deprecated_for_removal=True, + deprecated_reason='The heat-all console script has been deprecated.', + deprecated_since='24.0.0', help='Specifies the heat services that are enabled when running heat-all. ' 'Valid options are all or any combination of ' 'api, engine or api_cfn.' @@ -79,6 +83,9 @@ def launch_all(setup_logging=True): def main(): + warnings.warn("The heat-all script has been deprecated and will be " + "removed in the future.", + DeprecationWarning) try: threads = launch_all() services = [thread.wait() for thread in threads] diff --git a/releasenotes/notes/deprecate-heat-all-4d9abc588d8b1f7f.yaml b/releasenotes/notes/deprecate-heat-all-4d9abc588d8b1f7f.yaml new file mode 100644 index 0000000000..6472b412b8 --- /dev/null +++ b/releasenotes/notes/deprecate-heat-all-4d9abc588d8b1f7f.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The ``heat-all`` console script has been deprecated and will be removed + in a future release.