From c42ba433aaf5468b9156605a532a09317b14c67f Mon Sep 17 00:00:00 2001 From: David Vallee Delisle Date: Thu, 20 May 2021 08:21:56 -0400 Subject: [PATCH] Introducing the nova-cell environments Adding default parameters when adding a new nova compute cell. Change-Id: I538ae9aea155cdb730a3b947c28dedd085bc330a --- environments/nova-cell.yaml | 23 +++++++++++++++++++++++ sample-env-generator/nova-cell.yaml | 20 ++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 environments/nova-cell.yaml create mode 100644 sample-env-generator/nova-cell.yaml diff --git a/environments/nova-cell.yaml b/environments/nova-cell.yaml new file mode 100644 index 0000000000..9d1e85ea1f --- /dev/null +++ b/environments/nova-cell.yaml @@ -0,0 +1,23 @@ +# ******************************************************************* +# This file was created automatically by the sample environment +# generator. Developers should use `tox -e genconfig` to update it. +# Users are recommended to make changes to a copy of the file instead +# of the original, if any customizations are needed. +# ******************************************************************* +# title: Nova Compute Cell Stack +# description: | +# Environment file for deploying additional compute cell +# in a separate stack (multi-stack) deployment. +parameter_defaults: + # Manage the network and related resources (subnets and segments) with either create, update, or delete operations (depending on the stack operation). Does not apply to ports which will always be managed as needed. Defaults to true. For multi-stack use cases where the network related resources have already been managed by a separate stack, this parameter can be set to false. + # Type: boolean + ManageNetworks: False + + # Whether this is an cell additional to the default cell. + # Type: boolean + NovaAdditionalCell: True + + # Indicates that the nova-metadata API service has been deployed per-cell, so that we can have better performance and data isolation in a multi-cell deployment. Users should consider the use of this configuration depending on how neutron is setup. If networks span cells, you might need to run nova-metadata API service globally. If your networks are segmented along cell boundaries, then you can run nova-metadata API service per cell. When running nova-metadata API service per cell, you should also configure each Neutron metadata-agent to point to the corresponding nova-metadata API service. + # Type: boolean + NovaLocalMetadataPerCell: True + diff --git a/sample-env-generator/nova-cell.yaml b/sample-env-generator/nova-cell.yaml new file mode 100644 index 0000000000..8d3dc34546 --- /dev/null +++ b/sample-env-generator/nova-cell.yaml @@ -0,0 +1,20 @@ +environments: + - name: nova-cell + title: Nova Compute Cell Stack + description: |- + Environment file for deploying additional compute cell + in a separate stack (multi-stack) deployment. + files: &cell_files + network/external.yaml: + parameters: + - ManageNetworks + deployment/nova/nova-metadata-container-puppet.yaml: + parameters: + - NovaLocalMetadataPerCell + deployment/nova/nova-base-puppet.yaml: + parameters: + - NovaAdditionalCell + sample_values: &sample_values + NovaAdditionalCell: True + NovaLocalMetadataPerCell: True + ManageNetworks: False