diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst index 8321fdded42b..8f4892a2f2da 100644 --- a/doc/source/cli/nova-manage.rst +++ b/doc/source/cli/nova-manage.rst @@ -282,20 +282,6 @@ Nova Shell Runs the named script from the specified path with flags set. -.. _nova-manage-quota: - -Nova Quota -~~~~~~~~~~ - -.. deprecated:: 16.0.0 - - This will be removed in 17.0.0 (Queens) - -``nova-manage quota refresh`` - - This command has been deprecated and is now a no-op since quota usage is - counted from resources instead of being tracked separately. - Nova Project ~~~~~~~~~~~~ diff --git a/nova/cmd/manage.py b/nova/cmd/manage.py index dbb923b6d656..b8ec70eadd9c 100644 --- a/nova/cmd/manage.py +++ b/nova/cmd/manage.py @@ -224,26 +224,6 @@ def _db_error(caught_exception): sys.exit(1) -class QuotaCommands(object): - """Class for managing quotas.""" - - # TODO(melwitt): Remove this during the Queens cycle - description = ('DEPRECATED: The quota commands are deprecated since ' - 'Pike as quota usage is counted from resources instead ' - 'of being tracked separately. They will be removed in an ' - 'upcoming release.') - - @args('--project', dest='project_id', metavar='', - help='Project Id', required=True) - @args('--user', dest='user_id', metavar='', - help='User Id') - @args('--key', metavar='', help='Key') - def refresh(self, project_id, user_id=None, key=None): - """DEPRECATED: This command is deprecated and no longer does anything. - """ - pass - - class ProjectCommands(object): """Class for managing projects.""" @@ -1917,7 +1897,6 @@ CATEGORIES = { 'network': NetworkCommands, 'project': ProjectCommands, 'shell': ShellCommands, - 'quota': QuotaCommands, } diff --git a/releasenotes/notes/remove-deprecated-nova-manage-commands-2826e6b50eccfef1.yaml b/releasenotes/notes/remove-deprecated-nova-manage-commands-2826e6b50eccfef1.yaml new file mode 100644 index 000000000000..c5e8e9f968c0 --- /dev/null +++ b/releasenotes/notes/remove-deprecated-nova-manage-commands-2826e6b50eccfef1.yaml @@ -0,0 +1,8 @@ +--- +upgrade: + - | + The following ``nova-manage`` commands have been removed. + + - ``quota`` + + These were previously deprecated in 16.0.0.