aboutsummaryrefslogtreecommitdiffstats
path: root/undercloud-source.yaml
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2014-08-07 11:39:16 +0200
committerTomas Sedovic <tsedovic@redhat.com>2014-08-07 11:46:20 +0200
commita5413281e08b7cf9dd4648d4f31b7593d7dd4c0a (patch)
tree07c4850a5783adc6ef4e769ef65b7ea64dfda502 /undercloud-source.yaml
parentff60bd02950a366c0f8ee0047b1562cfea88201e (diff)
Fix overcloud controller scaling
Controller scaling was broken by the commit 02772ba2877b9f6d427c6fd760bf19d6334c68a8. Merge.py raises an exception when it tries to scale the default value "controller0" of the `BootstrapNodeResource` parameter. This reverts back to using Fn::Select for specifying the bootstrap host, the rest of the Fn::Select -> get_attr changes are kept. Change-Id: I0cdebf75d4752a35f547d4fbb81545ece3172405
Diffstat (limited to 'undercloud-source.yaml')
-rw-r--r--undercloud-source.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index be743ce3..d1854a10 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -198,7 +198,18 @@ resources:
admin-token:
get_param: AdminToken
bootstrap_host:
- bootstrap_nodeid: {get_attr: [undercloud, show, name]}
+ bootstrap_nodeid:
+ Fn::Select:
+ - 0
+ - Fn::Select:
+ - 0
+ - Merge::Map:
+ undercloud:
+ - Fn::Select:
+ - name
+ - get_attr:
+ - undercloud
+ - show
nodeid: {get_input: bootstack_nodeid}
bootstack:
public_interface_ip: