Merge "Introducing the nova-cell environments"

This commit is contained in:
Zuul 2021-06-23 00:39:22 +00:00 committed by Gerrit Code Review
commit 666e5fd03d
2 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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