diff --git a/deployment/nova/nova-api-container-puppet.yaml b/deployment/nova/nova-api-container-puppet.yaml index a6b4863a12..07451b2abe 100644 --- a/deployment/nova/nova-api-container-puppet.yaml +++ b/deployment/nova/nova-api-container-puppet.yaml @@ -105,6 +105,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 conditions: @@ -224,6 +228,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 diff --git a/releasenotes/notes/allow-resize-to-same-host-62f05a5370993425.yaml b/releasenotes/notes/allow-resize-to-same-host-62f05a5370993425.yaml new file mode 100644 index 0000000000..262f324a8f --- /dev/null +++ b/releasenotes/notes/allow-resize-to-same-host-62f05a5370993425.yaml @@ -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.