From dcef0aa666a05e0053c928dd0fca0354f0f61f72 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 23 Aug 2017 17:06:53 +0100 Subject: [PATCH] nova-manage: Deprecate 'cell' commands The Cells v1 feature is deprecated, meaning we can also deprecate the respective commands in nova-manage. Do this. Change-Id: I6db62a16272c74215944db164830515b774f5085 --- nova/cmd/manage.py | 8 +++++++- .../deprecate-nova-manage-commands-569835050b675180.yaml | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate-nova-manage-commands-569835050b675180.yaml diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py index 4fae174a60..89494bcf3b 100644 --- a/nova/cmd/manage.py +++ b/nova/cmd/manage.py @@ -1028,7 +1028,13 @@ class GetLogCommands(object): class CellCommands(object): - """Commands for managing cells.""" + """Commands for managing cells v1 functionality.""" + + # TODO(stephenfin): Remove this when cells v1 is removed + description = ('DEPRECATED: The cell commands, which configure cells v1 ' + 'functionality, are deprecated as Cells v1 itself has ' + 'been deprecated. They will be removed in an upcoming ' + 'release.') def _create_transport_hosts(self, username, password, broker_hosts=None, hostname=None, port=None): diff --git a/releasenotes/notes/deprecate-nova-manage-commands-569835050b675180.yaml b/releasenotes/notes/deprecate-nova-manage-commands-569835050b675180.yaml new file mode 100644 index 0000000000..42c1e10819 --- /dev/null +++ b/releasenotes/notes/deprecate-nova-manage-commands-569835050b675180.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + The `nova-manage cell` command has been deprecated. This command + configures various aspects of the Cells v1 functionality. Cells v1 has + been deprecated, thus, this command is also deprecated. It will be removed + in its entirety when Cells v1 is removed.