aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud-source.yaml
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-02-07 15:57:07 +1300
committerRobert Collins <rbtcollins@hp.com>2014-02-14 07:39:41 +1300
commit679ed909ce3d9be1eef39e4afa5a559a40b26363 (patch)
tree5ed96461212c2ef8861927465dc81edceba9506c /overcloud-source.yaml
parentf0e61d11fc949cb9ebc3d2b875fdb79335ed0d33 (diff)
Allow manual hosts entry exports in overcloud.
This makes it possible to have SSL connections to APIs from compute hosts with no DNS or external connectivity - something the ci-overcloud has. Change-Id: I089ef8fdfb4a59279f09bf3cd2a4474000e4bfa6
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r--overcloud-source.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 7fd7505f..77b4c529 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -63,6 +63,10 @@ Parameters:
Description: The password for the ceilometer service account.
Type: String
NoEcho: true
+ CloudName:
+ Default: ''
+ Description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org
+ Type: String
NovaComputeDriver:
Default: libvirt.LibvirtDriver
Type: String
@@ -111,6 +115,20 @@ Parameters:
NtpServer:
Type: String
Default: ''
+ StaticHosts:
+ Default:
+ Fn::Join:
+ - ' '
+ - - Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - Fn::GetAtt:
+ - notCompute0
+ - networks
+ - {Ref: CloudName}
+ Description: Static content to append to /etc/hosts
+ Type: String
Resources:
AccessPolicy:
Properties:
@@ -180,6 +198,8 @@ Resources:
NeutronBridgeMappings:
Ref: NeutronBridgeMappings
RabbitPassword: "guest"
+ StaticHosts:
+ Ref: StaticHosts
NovaCompute0:
Type: FileInclude
Path: nova-compute-instance.yaml
@@ -283,6 +303,7 @@ Resources:
- notCompute0
- networks
- ':8000/v1/waitcondition'
+ hosts: {Ref: StaticHosts}
keystone:
db: mysql://keystone:unset@localhost/keystone
host: