summaryrefslogtreecommitdiffstats
path: root/undercloud-source.yaml
AgeCommit message (Collapse)AuthorFilesLines
2014-08-14Add strict dependencies to the undercloud templateNicholas Randon1-2/+4
Currently there is very weak ordering of StructuredDeployments during heat stack creation on the undercloud. This can cause the deployment which sends the completion signal back to Heat to happen before all others have completed, which in turn leads Heat to state the stack is ready while ORC is still configuring services The only workaround to this is to wait an unknown amount of time after the heat stack completes before the system is usable. This patch prevents the completion signal from being returned early, by ensuring these are strictly ordered: undercloudIronicDeployment (if used) undercloudNovaDeployment undercloudPassthroughDeployment undercloudDeployment Note: The reference numbering for the undercloud has been removed. Change-Id: I98499dd54bb907d29cf355fe83b5c285a7375e97
2014-08-13Switch to heat_template_version: 2013-05-23Steve Baker1-4/+4
To support underclouds and seeds running older than the very latest heat. 2013-05-23 lacks function list_join, so this change reverts to using the equivalent function Fn::Join. Change-Id: I039f57ab39c1fcfc319a7a34265ba4fabf4ccd08 Closes-Bug: #1354305
2014-08-10Merge "Fix overcloud controller scaling"Jenkins1-1/+12
2014-08-07Fix overcloud controller scalingTomas Sedovic1-1/+12
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
2014-08-06Set basic pacemaker and corosync properties in undercloudJan Provaznik1-0/+11
Because services which depend on pacemaker (ceilometer central agent and neutron services) are used in undercloud too, we need to set basic pacemaker and corosync metadata for undercloud. Related to: Ifa83d62c2132bcdcb40d0b7c80ce3adadc0b5587 Related to: I63f054a8c80f9f676a77341c89e605b5b472d078 Change-Id: Icc97e36a1db198b973041346cf2056f68de661a2
2014-08-04Convert Fn::Select to extended get_attrSteve Baker1-27/+13
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
2014-08-04Port all templates to HOTSteve Baker1-170/+170
This change was generated and validated by running the following: make hot clean all validate-all This converts all templates to be valid HOT. Fn::Select is not converted in this change but this will actually work with heat_template_version 2013-05-23. Fn::Select is converted manually in the next change in this series. This change also sets the heat_template_version to 2014-10-16 which includes the list_join intrinsic functions used throughout these templates. Partial-Blueprint: tripleo-juno-remove-mergepy Change-Id: Ib3cbb83f6ae94adb7b793ab1b662bd5c55cbb5b3
2014-07-07Specify the network for nodesRobert Collins1-0/+2
Without this, when there are multiple admin networks (e.g. a VLAN) Nova will refuse to guess and we'll fail to deploy. Change-Id: Id1dca43ef287fda2adcfdf5b5d30145b055dbe76
2014-06-27Merge "Set glance protocol and port as Heat configurable"Jenkins1-0/+12
2014-06-25Add parameters for setting up keystone keys/certs in undercloudJan Provaznik1-0/+16
This will allow us distribute identical keys/certs to all control nodes in HA mode. CAKey was removed because it's not required by keystone. Change-Id: I187492d5fac448e57f8cd687f9cb751520df5921
2014-06-20Merge "Add custom public IP support to the undercloud."Jenkins1-0/+19
2014-06-16Set glance protocol and port as Heat configurableRyan Moore1-0/+12
This change is to set the glance protocol and port as configurable via the Heat template. Presently the port is hard-coded in the elements nova.conf file, and the protocol is assumed as being the default (http). This change will allow the glance_api_servers to be set (in nova.conf) using the constituent parts: glance_protocol://glance_host:glance_port Change to nova.conf to read this value is: Idccc0d60c9f6b17a853c6de1bbea64bfc7e028b2 Default port value is set to the nova default(9292) which is currently hard-coded in the elements nova.conf file. Default protocol value is set to the nova default(http). Change-Id: I3c7218292797c62c36e2aaab4f325bf053ef140b
2014-06-04Add custom public IP support to the undercloud.Robert Collins1-0/+19
Now we're trying to automate VLAN deployed underclouds, this suddenly becomes relevant. Change-Id: I800a0ceab7443d685551d7a919724f6cf45fd891
2014-06-03Add passthrough configuration glue.Nicholas Randon1-0/+50
This provides a means for users to pass configuration through to the machines they are deploying without us modelling that. Change-Id: Ia8d1564bd0f3e7b988497a84e00831619047cd94
2014-06-03Move to software-config for the undercloud.Nicholas Randon1-181/+119
Change the undercloud deployment to use software-config similar to that used by the overcloud. Change-Id: I81bced2062e461fe10301969d856d709c0b573c3
2014-06-02Move bootstrap-host out from bootstackGregory Haynes1-1/+1
We have had a change of opinion and are moving bootstrap_host properties out of bootstack in order to prevent mysql / rabbit from depending on boot-stack. Change-Id: I85399019c5fc448e98362ef832988abc8d9d459d
2014-05-28Export new bootstack keys for cluster init.Robert Collins1-0/+19
These provide a single consistent interface for checking whether a given node is the bootstrap node, or not the bootstrap node for database initialisation etc. Change-Id: I7c5a09cb3477b61c4050e4a47a680ffc9aee97d8
2014-05-16Merge "Adding SNMPd auth credentials"Jenkins1-0/+13
2014-05-08Defer to element mysql.innodb_buffer_pool_sizeClint Byrum1-2/+5
Choosing 100MB here is not a production default. We also don't need two places with the default value set. The closer a default is to the actual usage of it, the better, so we'll set 0 here, which will defer to the default in the element. Change-Id: I1b41b604286245c2fb83249778db835253c02fc5
2014-04-28Adding SNMPd auth credentialsLadislav Smola1-0/+13
-Undercloud Ceilometer has to have access to SNMPd credentials, so it can poll the Overcloud nodes -In every Overcloud node, we need to set the same cretentials to SNMPd.conf Change-Id: Icf7c0c1772b6380b7136108e61c15cafe17274ba
2014-04-25Make size of loop device used by cinder LVM configurableDuncan Thomas1-1/+6
This was hard-coded to 5 gig, which is useless for anything other than tempest runs and smoke testing block-storage-nfs.yaml has intentionally not been changed, since volume_size_mb is not used in that setup. Cleaning up that code will be done separately. Change-Id: I476b906a8d439d3e6643dd0c214965c5862418e8
2014-04-16Adding undercloud ceilometerLadislav Smola1-1/+16
-adding Undercloud Ceilometer that will collect statistics about Overcloud nodes, via SNMP Change-Id: I1e90ad8d5bad16bc1c418ca2dbd78163abe6267c
2014-04-11Merge "Stop using notCompute in favor of controller"Jenkins1-9/+9
2014-04-10Merge "Adding NTP to undercloud template"Jenkins1-0/+6
2014-04-09Stop using notCompute in favor of controllerDan Prince1-9/+9
Updates all references for notCompute and notcompute to use 'controller' instead. Change-Id: I70ef83f35064ab388bdc7e1a6da62b6585580010 Partial-bug: #1300324
2014-04-08Merge "Add mysql innodb buffer pool size"Jenkins1-0/+6
2014-04-05Merge "Update templates to default to preserve ephemeral"Jenkins1-1/+1
2014-04-04Adding NTP to undercloud templateTrent Geerdes1-0/+6
Change-Id: I30c0e175fda448a300cae0b233757d31ce73402f
2014-04-01Add mysql innodb buffer pool sizeJan Provaznik1-0/+6
Innodb buffer pool size in mysql config file is now set to 592M, this value is for VMs with 2G RAM too much. This patch makes the pool size configurable and decreases default value to 100 MB (this should be sufficient for default devtest setup). A patch which for tripleo-image-element which sets this value in my.cnf will follow. Change-Id: I0d2529abe51d4dc34415bf6c40da7a267bf3e65b
2014-03-26Drop dnsmasq_range from the undercloud source.Dan Prince1-1/+0
We don't make use of dnsmasq_range anywhere so lets remove it. Change-Id: Id3e14aee8a9f720a09bc2c8ace99e06c4a2d09a9
2014-03-26Update templates to default to preserve ephemeralCian O'Driscoll1-1/+1
Updated heat templates to default to preserve ephemeral partition on a heat stack update. Allows undercloud and overcloud to be re-imaged/updated and state preserved. Change-Id: I6626af48d8c55672022a46fe48e5725ad2619f0c
2014-03-21Adding image update policy to undercloud templateCian O'Driscoll1-0/+7
Allows image policy to be specified when updating the undercloud stack. This enables the preservation of persistent ephemeral disks. Change-Id: Id7bc0a72ae1737d2fdadb3f47006bd0cfb0bc42f Closes-Bug: #1295616
2014-03-12Add heat.stack_domain_admin_passwordClint Byrum1-0/+6
This new parameter will be used to configure Heat for the new required stack domain admin. Change-Id: Ieace33154a14f472aab8ac76b2b876db77230110 Partial-Bug: #1287453
2014-03-11Merge "Add rabbit.cookie attribute"Jenkins1-0/+14
2014-03-05Fix bad indentationJames Slagle1-4/+4
Lines for notifier-strategy and log-file had 1 level too much of identation causing an error in the available metadata. Change-Id: I559855887349bf2bbab87788ef9baa216bde60d8
2014-02-26Add GlanceLogFile and GlanceNotifierStrategyJames Slagle1-0/+12
Expose 2 new parameters to control glance configuration: - GlanceLogFile - GlanceNotifierStrategy This will allow the glance configuration options log_file and notifier_strategy to be set in glance-api.conf and glance-registry.conf Change-Id: I1af1ecfdfe0859f2baba4579aab6e947a2a54308
2014-02-26Add rabbit.cookie attributeJan Provaznik1-0/+14
All nodes in rabbitmq cluster should have same cookie. This patch adds default random cookie to existing templates. Change-Id: I6579089bd95b0169db20635479e077f3ecade8e2
2014-02-20Remove uses of functions in parameter defaultsClint Byrum1-15/+28
This doesn't work in recent versions of Heat and it shouldn't really have ever worked. Change-Id: I60772173f8d5baa5768b5626266b2e61cd93fbe2 Closes-Bug: #1282594
2014-02-17Add username parameter for rabbitRichard Su1-1/+13
Username is currently assumed to be guest in the configuration files. This change makes it more explicit. Configuration files in tripleo-image-elements will be updated to use this parameter in an upcoming patch. Change-Id: Ia176f4d573a3a293560c72236a4181befa678301
2014-02-12Permit overriding the undercloud controller ip.Robert Collins1-10/+15
Currently we infer the controller IP address from Neutron, but when we get HA, the controller address may move around so would need to be the floating IP. Equally, folk doing unusual sets may need to have the IP address be something other than what the seed Neutron handed out. Change-Id: I97441d009b831fd7356a6c58f4c9edc7532f7d05
2014-01-31Remove image parameter changing from mergeClint Byrum1-2/+2
The merge tool originally was meant to merge somewhat different things, and thus this was helpful in the early versions. However, at this point we want parameters to be more stable and we don't generally merge things that have their own image parameter. Meanwhile this feature caused problems as we change resource names. This is a backward incompatible change of default behavior, but the old behavior can be had again by passing --change-image-params. Change-Id: I78cf31f0443f3d9f274758f5471a5bca9155635d
2014-01-31Prep work for a scalable control plane.Robert Collins1-9/+9
This is complete as far as it goes but it isn't enough to make running a scaled out control plane actually work. Specifically, the constructs to point at API hosts based on looking up a network address aren't suirtable for scaled out - we need to be using the virtual IP or DNS round robin or other such resilient configurations, but that is largely / entirely orthogonal to making the template be ready for scaling. Change-Id: Ib9e6db5e7d5db84e4746afdabea046d2b8702bbb
2014-01-13Add a wait condition to undercloud stackRoman Podoliaka1-0/+11
Using of Heat wait conditions allows us to reliably reason when a stack creation is complete (as the completion handle is triggered when os-refresh-config completes). Change-Id: I89725143532177a0b4aea23c1c31bc7737da0896
2013-11-27Merge "Fix case of OpenStack in templates."Jenkins1-1/+1
2013-11-26Fix case of OpenStack in templates.Dan Prince1-1/+1
merge.py seems to look for OpenStack::ImageBuilder::Elements But we use Openstack::ImageBuilder::Elements in our templates. Change-Id: I94ee367cf77c3f2929ee23d2dcdd28622849c89e
2013-11-26Name the undercloud resources with 'undercloud'.Dan Prince1-10/+10
Using notcompute for the undercloud resources is a bit confusing so lets rename them accordingly. This change shouldn't effect the devtest scripts or toci because we don't pass a parameter in for the undercloud. Change-Id: I33c28a3554fe117c5a0a6e641ea277f7a95f2b35
2013-11-25Use merge.py for the undercloud templates.Dan Prince1-0/+173
This will require some changes to our devtest scripts and TOCI to ensure we build the overcloud-vm template before attempting to use it. Change-Id: I14b5e4a0ccf5f18429bfc33e527bdb4760b8d1a3