Browse Source

Introducing the nova-cell environments

Adding default parameters when adding a new nova compute cell.

Change-Id: I538ae9aea155cdb730a3b947c28dedd085bc330a
changes/66/792366/3
David Vallee Delisle 1 year ago
parent
commit
c42ba433aa
  1. 23
      environments/nova-cell.yaml
  2. 20
      sample-env-generator/nova-cell.yaml

23
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

20
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
Loading…
Cancel
Save