Remove no longer used NovaNfsEnabled parameter and condtion

With Id5503ed274bd5dc0c5365cc994de7e5cdcbc2fb6 the handling of
/var/lib/nova on NFS changed and NovaNfsEnabled and nova_nfs_enabled
condition is no longer used in most of the deployment files.

This cleans up the no longer used parameter and condition in
nova-compute-container-puppet.yaml, nova-ironic-container-puppet.yaml
nova-libvirt-container-puppet.yaml and nova-migration-target-container-puppet.yaml

Change-Id: I542956aef6da63a376790ec87d4767196ff85067
This commit is contained in:
Martin Schuppert 2021-03-25 17:05:57 +01:00
parent b5ecde2f27
commit d2f6a3be26
4 changed files with 0 additions and 46 deletions

View File

@ -989,13 +989,6 @@ conditions:
is_not_additional_cell: {equals: [{get_param: NovaAdditionalCell}, false]} is_not_additional_cell: {equals: [{get_param: NovaAdditionalCell}, false]}
nova_nfs_enabled:
or:
- and:
- equals: [{get_param: NovaNfsEnabled}, true]
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, '']
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, true]
reserved_huge_pages_set: reserved_huge_pages_set:
not: not:
and: and:

View File

@ -45,12 +45,6 @@ parameters:
default: false default: false
description: Whether to enable the multipath daemon description: Whether to enable the multipath daemon
type: boolean type: boolean
NovaNfsEnabled:
default: false
description: Whether to enable or not the NFS backend for Nova
type: boolean
tags:
- role_specific
IronicApiMaxRetries: IronicApiMaxRetries:
description: The number of times to retry when a request conflicts. If set to 0, only try once, no retries. description: The number of times to retry when a request conflicts. If set to 0, only try once, no retries.
type: number type: number
@ -66,12 +60,6 @@ parameters:
conditions: conditions:
nova_nfs_enabled:
or:
- and:
- equals: [{get_param: NovaNfsEnabled}, true]
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, '']
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, true]
ironic_api_max_retry_cond: ironic_api_max_retry_cond:
equals: [{get_param: IronicApiMaxRetries}, -1] equals: [{get_param: IronicApiMaxRetries}, -1]

View File

@ -229,12 +229,6 @@ parameters:
description: The password for the libvirt service when TLS is enabled description: The password for the libvirt service when TLS is enabled
type: string type: string
hidden: true hidden: true
NovaNfsEnabled:
default: false
description: Whether to enable or not the NFS backend for Nova
type: boolean
tags:
- role_specific
LibvirtLogFilters: LibvirtLogFilters:
description: Defines a filter in libvirt daemon to select a different description: Defines a filter in libvirt daemon to select a different
logging level for a given category log outputs, as specified logging level for a given category log outputs, as specified
@ -339,13 +333,6 @@ conditions:
- {get_param: QemuCACert} - {get_param: QemuCACert}
- '' - ''
nova_nfs_enabled:
or:
- and:
- equals: [{get_param: NovaNfsEnabled}, true]
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, '']
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, true]
key_size_libvirt_override_unset: {equals: [{get_param: LibvirtCertificateKeySize}, '']} key_size_libvirt_override_unset: {equals: [{get_param: LibvirtCertificateKeySize}, '']}
key_size_libvirtvnc_override_unset: {equals: [{get_param: LibvirtVNCServerCertificateKeySize}, '']} key_size_libvirtvnc_override_unset: {equals: [{get_param: LibvirtVNCServerCertificateKeySize}, '']}
key_size_qemu_client_override_unset: {equals: [{get_param: QemuClientCertificateKeySize}, '']} key_size_qemu_client_override_unset: {equals: [{get_param: QemuClientCertificateKeySize}, '']}

View File

@ -51,12 +51,6 @@ parameters:
default: 2022 default: 2022
description: Target port for migration over ssh description: Target port for migration over ssh
type: number type: number
NovaNfsEnabled:
default: false
description: Whether to enable or not the NFS backend for Nova
type: boolean
tags:
- role_specific
resources: resources:
@ -71,14 +65,6 @@ resources:
RoleName: {get_param: RoleName} RoleName: {get_param: RoleName}
RoleParameters: {get_param: RoleParameters} RoleParameters: {get_param: RoleParameters}
conditions:
nova_nfs_enabled:
or:
- and:
- equals: [{get_param: NovaNfsEnabled}, true]
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, '']
- equals: [{get_param: [RoleParameters, NovaNfsEnabled]}, true]
outputs: outputs:
role_data: role_data:
description: Role data for the Nova Migration Target service. description: Role data for the Nova Migration Target service.