02772ba287
Overcloud bootstrap_nodeid is now specified by parameter BootStrapNodeResource with default value controller0. This avoids the need to use Fn::Select on the mergy.py built list of controllers to specify the first controller. Change-Id: Id9cfeab50b90ceeeae51ea0e35997b7495b28cc4 Partial-Blueprint: tripleo-juno-remove-mergepy
63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
heat_template_version: 2014-10-16
|
|
parameters:
|
|
ComputeImage:
|
|
type: string
|
|
RabbitUserName:
|
|
type: string
|
|
RabbitPassword:
|
|
type: string
|
|
hidden: true
|
|
resources:
|
|
ComputeAccessPolicy:
|
|
type: OS::Heat::AccessPolicy
|
|
properties:
|
|
AllowedResources: [ NovaCompute0 ]
|
|
NovaCompute0Key:
|
|
type: AWS::IAM::AccessKey
|
|
properties:
|
|
UserName:
|
|
get_param: ComputeUser
|
|
NovaCompute0CompletionCondition:
|
|
type: AWS::CloudFormation::WaitCondition
|
|
depends_on: notcompute
|
|
properties:
|
|
Handle: {get_resource: NovaCompute0CompletionHandle}
|
|
Count: '1'
|
|
Timeout: '1800'
|
|
NovaCompute0CompletionHandle:
|
|
type: AWS::CloudFormation::WaitConditionHandle
|
|
NovaCompute0:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
image:
|
|
get_param: ComputeImage
|
|
metadata:
|
|
os-collect-config:
|
|
cfn:
|
|
access_key_id:
|
|
get_resource: NovaCompute0Key
|
|
secret_access_key:
|
|
get_attr: [ NovaCompute0Key, SecretAccessKey ]
|
|
stack_name: {get_param: 'AWS::StackName'}
|
|
path: NovaCompute0Config.Metadata
|
|
NovaCompute0Config:
|
|
type: AWS::AutoScaling::LaunchConfiguration
|
|
metadata:
|
|
completion-handle:
|
|
get_resource: NovaCompute0CompletionHandle
|
|
os-collect-config:
|
|
cfn:
|
|
access_key_id:
|
|
get_resource: NovaCompute0Key
|
|
secret_access_key:
|
|
get_attr: [ NovaCompute0Key, SecretAccessKey ]
|
|
stack_name: {get_param: 'AWS::StackName'}
|
|
path: NovaCompute0Config.Metadata
|
|
neutron:
|
|
ovs:
|
|
local_ip: {get_attr: [NovaCompute0, networks, ctlplane, 0]}
|
|
rabbit:
|
|
username: {get_param: RabbitUserName}
|
|
password: {get_param: RabbitPassword}
|
|
|