From 87936baaac3a1b5227ab779398dc26b4546e1af1 Mon Sep 17 00:00:00 2001 From: jay Date: Mon, 6 Apr 2020 16:03:17 +0200 Subject: [PATCH] Support for --force flag for nova-manage placement heal_allocations command Use this flag to forcefully heal allocation for a specific instance Change-Id: I54147d522c86d858f938df509b333b6af3189e52 Closes-Bug: #1868997 --- doc/source/cli/nova-manage.rst | 5 +- nova/cmd/manage.py | 37 ++++-- nova/tests/functional/test_nova_manage.py | 115 ++++++++++++++++++ ...rce-heal-allocations-7834f3156be90c94.yaml | 4 + 4 files changed, 152 insertions(+), 9 deletions(-) create mode 100644 releasenotes/notes/force-heal-allocations-7834f3156be90c94.yaml diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst index 7c3fff787ac2..e85b5b323ede 100644 --- a/doc/source/cli/nova-manage.rst +++ b/doc/source/cli/nova-manage.rst @@ -546,7 +546,7 @@ Placement .. _heal_allocations_cli: -``nova-manage placement heal_allocations [--max-count ] [--verbose] [--skip-port-allocations] [--dry-run] [--instance ] [--cell ] [--verbose] [--skip-port-allocations] [--dry-run] [--instance ] [--cell