Merge "Squashed backport for 'NovaAllowResizeToSameHost' parameter" into stable/ussuri

This commit is contained in:
Zuul 2020-10-10 10:52:56 +00:00 committed by Gerrit Code Review
commit d754a27341
2 changed files with 10 additions and 0 deletions

View File

@ -101,6 +101,10 @@ parameters:
e.g. { nova-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
default: {}
type: json
NovaAllowResizeToSameHost:
default: false
description: Allow destination machine to match source for resize.
type: boolean
parameter_groups:
- label: deprecated
@ -227,6 +231,7 @@ outputs:
nova_enable_db_purge: {get_param: NovaEnableDBPurge}
nova_enable_db_archive: {get_param: NovaEnableDBArchive}
nova::policy::policies: {get_param: NovaApiPolicies}
nova::api::allow_resize_to_same_host: {get_param: NovaAllowResizeToSameHost}
-
if:
- nova_workers_zero

View File

@ -0,0 +1,5 @@
---
features:
- |
Add parameter ``NovaAllowResizeToSameHost`` to allow instances to resize
to the host they are currently on. Normally the source host is excluded.