34a2e1ebc9
This change removes the following parameters, which were used by undercloud Nova. - KeyName - Overcloud{{role.name}}Flavor - {{role.name}}SchedulerHints - {{role.name}}Image This also removes the NodeUserData resource because it depends on cloud-init and nova metadata and is no longer used since Nova was removed from baremetal node provisioning. Finally, this change makes deployed server method used by default, and removes remaining implementation to keep the resource compatible with OS::Nova::Server. Change-Id: I571b401ab2ca3c77352f4849eb2b99de20292032
140 lines
4.7 KiB
YAML
140 lines
4.7 KiB
YAML
#
|
|
# This environment generator is used to generate some sample composable role
|
|
# environment files.
|
|
#
|
|
environments:
|
|
-
|
|
name: composable-roles/monolithic-nonha
|
|
title: Monolithic Controller Non-HA deployment
|
|
description: |
|
|
A Heat environment that can be used to deploy controller and compute
|
|
services in an Non-HA configuration with SSL undercloud only and a
|
|
flat network.
|
|
This should be used with a roles_data.yaml containing the Controller,
|
|
Compute and CephStorage roles.
|
|
openstack overcloud roles generate -o ~/roles_data.yaml Controller Compute CephStorage
|
|
files:
|
|
overcloud.yaml:
|
|
parameters:
|
|
- ControllerHostnameFormat
|
|
- ComputeHostnameFormat
|
|
- CephStorageHostnameFormat
|
|
- ControllerCount
|
|
- ComputeCount
|
|
- CephStorageCount
|
|
deployment/timesync/chrony-baremetal-ansible.yaml:
|
|
parameters:
|
|
- NtpServer
|
|
sample-env-generator/composable-roles.yaml:
|
|
parameters:
|
|
- DnsServers
|
|
sample_values:
|
|
ControllerCount: 1
|
|
ComputeCount: 1
|
|
CephStorageCount: 1
|
|
|
|
-
|
|
name: composable-roles/monolithic-ha
|
|
title: Monolithic Controller HA deployment
|
|
description: |
|
|
A Heat environment that can be used to deploy controller and compute
|
|
services in an HA configuration with SSL everywhere and network
|
|
isolation.
|
|
This should be used with a roles_data.yaml containing the Controller,
|
|
Compute and CephStorage roles.
|
|
openstack overcloud roles generate -o ~/roles_data.yaml Controller Compute CephStorage
|
|
files:
|
|
overcloud.yaml:
|
|
parameters:
|
|
- ControllerHostnameFormat
|
|
- ComputeHostnameFormat
|
|
- CephStorageHostnameFormat
|
|
- ControllerCount
|
|
- ComputeCount
|
|
- CephStorageCount
|
|
deployment/timesync/chrony-baremetal-ansible.yaml:
|
|
parameters:
|
|
- NtpServer
|
|
sample-env-generator/composable-roles.yaml:
|
|
parameters:
|
|
- DnsServers
|
|
sample_values:
|
|
ControllerCount: 3
|
|
ComputeCount: 3
|
|
CephStorageCount: 1
|
|
|
|
-
|
|
name: composable-roles/standalone
|
|
title: Controller HA deployment with standalone Database, Messaging and Networker nodes.
|
|
description: |
|
|
A Heat environment that can be used to deploy controller, database,
|
|
messaging, networker and compute services in an HA configuration with SSL
|
|
everywhere and network isolation.
|
|
This should be used with a roles_data.yaml containing the
|
|
ControllerOpenstack, Database, Messaging, Networker, Compute and
|
|
CephStorage roles.
|
|
openstack overcloud roles generate -o ~/roles_data.yaml ControllerOpenstack Database Messaging Networker Compute CephStorage
|
|
files:
|
|
overcloud.yaml:
|
|
parameters:
|
|
- ComputeHostnameFormat
|
|
- CephStorageHostnameFormat
|
|
- ComputeCount
|
|
- CephStorageCount
|
|
deployment/timesync/chrony-baremetal-ansible.yaml:
|
|
parameters:
|
|
- NtpServer
|
|
sample-env-generator/composable-roles.yaml:
|
|
parameters:
|
|
- ControllerOpenstackHostnameFormat
|
|
- DnsServers
|
|
- ControllerOpenstackCount
|
|
- DatabaseCount
|
|
- MessagingCount
|
|
- NetworkerCount
|
|
sample_values:
|
|
ControllerOpenstackCount: 3
|
|
ComputeCount: 1
|
|
CephStorageCount: 1
|
|
DatabaseCount: 3
|
|
MessagingCount: 3
|
|
NetworkerCount: 2
|
|
|
|
|
|
# NOTE(aschultz): So because these are dynamic based on the roles used, we
|
|
# do not currently define these in any heat files. So we're defining them here
|
|
# so that the sample env generator can still provide these configuration items
|
|
# in the generated config files.
|
|
parameters:
|
|
DnsServers:
|
|
default: []
|
|
description: >
|
|
DNS servers to use for the Overcloud (2 max for some implementations).
|
|
If not set the nameservers configured in the ctlplane subnet(s) on the
|
|
undercloud will be used.
|
|
type: comma_delimited_list
|
|
# Dynamic vars based on roles
|
|
ControllerOpenstackCount:
|
|
default: 0
|
|
description: Number of ControllerOpenstack nodes
|
|
type: number
|
|
DatabaseCount:
|
|
default: 0
|
|
description: Number of Database nodes
|
|
type: number
|
|
MessagingCount:
|
|
default: 0
|
|
description: Number of Messaging nodes
|
|
type: number
|
|
NetworkerCount:
|
|
default: 0
|
|
description: Number of Networker nodes
|
|
type: number
|
|
ControllerOpenstackHostnameFormat:
|
|
type: string
|
|
description: >
|
|
Format for ControllerOpenstack node hostnames
|
|
Note %index% is translated into the index of the node, e.g 0/1/2 etc
|
|
and %stackname% is replaced with the stack name e.g overcloud
|
|
default: "%stackname%-controller-%index%"
|