aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2014-08-04Port all templates to HOTSteve Baker1-5/+5
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-08Make target to validate a templateSteve Baker1-0/+4
This adds make targets to run heat template-validate against the generated templates. These targets assume that credentials to a valid heat endpoint have been sourced. The target validate-all will validate every template in generated_templates, but there is also a target created for each template, for example: make validate-overcloud.yaml This is a useful aid for Partial-Blueprint: tripleo-juno-remove-mergepy Change-Id: Id101402b8b2fa0bc6058c5bc4b7474f0f6a158ad
2014-06-10Merge "Remove the tuskar-source template"Jenkins1-5/+0
2014-06-06Merge "Add Controller scale param to merge.py"Jenkins1-2/+2
2014-06-04Remove the tuskar-source templateTomas Sedovic1-5/+0
There is no need for a tuskar-specific undercloud template. Tuskar is installed via elements just like any other undercloud service. This template is not being used in devtest and I'm not sure it ever has been. Change-Id: I531d927b1984873b32f440d33a130788670f7cd9
2014-06-03Move to software-config for the undercloud.Nicholas Randon1-3/+3
Change the undercloud deployment to use software-config similar to that used by the overcloud. Change-Id: I81bced2062e461fe10301969d856d709c0b573c3
2014-05-28Add Controller scale param to merge.pyGregory Haynes1-2/+2
We need a paremeter to attempt scaling of the Controller resources in merge.py. Change-Id: I4a79059e72850da4a5a3fe30dbb9df92a9dca212
2014-04-16Switch overcloud to software-configClint Byrum1-2/+2
This migrates the overcloud to using OS::Heat::StructuredConfig and OS::Heat::StructuredDeployment. With those tools, we can decouple servers from software configuration and begin to deprecate features in tripleo_heat_merge. Change-Id: Ice85f0711e90d0fabf1d1bc4698201c4d6758508
2014-03-25Fix Ironic templatesRobert Collins1-1/+1
The merge of ironic-source wasn't actually merging, leading to bad templates. As part of this add the needed SSH virtual power key (because like nova-bm, Ironic requires that for now). We also need to set the compute_manager for nova with Ironic, so that gets set too. Change-Id: I0d7d535dbac3584b3eb12865259ee6403e20c98f
2014-03-11Merge Block Storage into OvercloudRyan Brady1-11/+4
This patch removes the seperate overcloud-with-block-storage.yaml make target and merges the functionality into the main overcloud.yaml target. The default BLOCKSTORAGESCALE is 0. Change this number to add additional block storage nodes. This patch also updates the overcloud-with-block-storage-nfs target to more closely resemble the overcloud.yaml target, including swift and ssl templates as needed. The default BLOCKSTORAGESCALE is 1. Change this number to add additional block storage nodes. Change-Id: Ifcc733cfbf9f356393c3f6c72b2bbbb0214d3040
2014-03-10Swift storage heat templatesRichard Su1-2/+2
Updated the existing swift-source template to properly list all swift devices. Created a new swift-storage-source template to add additional swift-storage only nodes. The default SWIFTSTORAGESCALE is 0. Change this number to add additional swift storage nodes. Change-Id: Ia05f4ad44593316430d60541106d23b032c3e760
2014-03-07Adds block-storage-nfs templateRyan Brady1-6/+14
To support the changes to the cinder element to allow the nfs backend to be utilized, this template has been added to show the usage of the nfs_shares key in the cinder metadata. The value is a list of strings containing share addresses. This change is added to facilitate an example to test the cinder element change: https://review.openstack.org/#/c/74563/ You may setup the nfs server manually or use the nfs-server element at https://review.openstack.org/#/c/74712/. Change-Id: I5b6cb118b34421ea07a81ed1fe68db24b1d4f19d
2014-03-06Add a check target.Robert Collins1-1/+3
Just developer convenience - I'm used to autotools 'make check' environments. Change-Id: Idf5bb882f798d22d4513756b5273d4ae19caa5c0
2014-02-04Make make overcloud.yaml DTRT always.Robert Collins1-2/+2
Change-Id: I3aebf49c87434026b9eea9de9a67cb3196bc48b2
2014-01-31Update overcloud to support N compute hosts.Robert Collins1-1/+3
This uses the new merge feature earlier in this series. Exporting COMPUTESCALE before running make will build a different template. Note that since Make doesn't depend on variable values, you need to delete overcloud.yaml between building with different scales. Change-Id: If05b99ae3596bcc794e3a899ab1443aeb14ec754
2014-01-22Merge "Add SSL configuration metadata for overclouds."Jenkins1-2/+2
2014-01-17Merge "Add optional cinder storage node to overcloud"Jenkins1-0/+6
2014-01-17Add SSL configuration metadata for overclouds.Robert Collins1-2/+2
This passes SSL keys in via Heat which places a high cost on heat compromises or the use of a non-SSL heat to do deploys. We'll want to ensure that that is documented clearly. Change-Id: I14d441460116fda91fbd1d2097c5598b57155a6d
2014-01-15Add optional cinder storage node to overcloudRyan Brady1-0/+6
Mergeable block storage yaml template. Makefile updated to create a overcloud-with-block-storage template to deploy an additional machine as a block storage node. Change-Id: I37c06cde114592507a4583f7ec53ffac123d66e3
2014-01-14Merge "Add undercloud-vm-ironic-source yaml file"Jenkins1-1/+1
2014-01-14Add all and clean targets to makefileMark McLoughlin1-0/+12
Just for convenience, particularly 'make clean'. Change-Id: Ic9964ace7fb4c675e84b3b9343fc8239abca44ac
2014-01-14Avoid echoing comment from makefile recipeMark McLoughlin1-3/+4
We include a comment to explain why nova-compute-instance.yaml is included in the prerequisite list for overcloud.yaml, but this comment gets echoed by make before it executes the recipe using a shell. $> make overcloud.yaml # overcloud-source.yaml [..] won't work here because [..] # a prerequisite but don't want to pass it into merge.py python ./tripleo_heat_merge/merge.py overcloud-source.yaml [..] mv overcloud.yaml.tmp overcloud.yaml Instead, maintain a list of files included by overcloud.yaml in a variable and put a comment above that. Change-Id: I1af69fbb33e1833170f086aec9b54c5c4e57138f
2014-01-10Add undercloud-vm-ironic-source yaml fileDevananda van der Veen1-1/+1
Copies the undercloud-vm-source yaml file and removes portions which were particular to nova-baremetal, replacing them and paving the way for further Ironic-specific changes. Change-Id: Ied49b0f8018291a0851cf2e10d83a174cb180479
2013-12-17Make merge.py installable as a package using pbrmarios1-5/+5
Now that merge.py is invokable from another script (Ia6b6416fe10358d23f2b120283eecaf4c1178cfd) and from comments at that review, it makes sense to offer a nicer way to consume the merge functionality. Once you git clone tripleo-heat-templates you can python setup.py install and get /usr/bin/tripleo_heat_merge as well as a tripleo_heat_merge package in python2.7/site-packages. Makefile edits required because we moved merge.py into the tripleo_heat_merge directory for the packaging. Change-Id: I587fa7a826f93f89e8e5c266af7f5765438fe738
2013-11-25Use merge.py for the undercloud templates.Dan Prince1-2/+10
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
2013-11-18Add metadata to configure swiftDerek Higgins1-2/+4
o Adds the required swift metadata (in swift-source.yaml). o Sets up glance to use the swift backend on the overcloud. o Sets up glance to use the file backend on the undercloud and seed, i.e. maintain the Status quo. Change-Id: I4a70ffbf9c51f1fea5cfc84d8718d3d30d36b3f2
2013-10-23Add Ironic-source.yamlChris Krelle1-0/+4
Mergeable Ironic yaml template. Makefile updated to create a undercloud-vm-ironic template. This patch will allow Ironic developers to include Ironic in the undercloud vm. Change-Id: Ie3998336a12f3509742634e59de5c9bee922d579
2013-10-14Add tuskar API service configurationRoman Podolyaka1-0/+4
Needed for I1d16e535ae50a06a8792e1613bb6b6c4647bf128 to work properly. Change-Id: Ib66e688bd7500f03dea7d4282607cd51078e9a51
2013-10-10Remove an unsed target from MakefileRoman Podolyaka1-5/+0
notcompute.yaml seems to be unsed for a while, but it's still present in Makefile (its dependencies were removed by change I952c630ca424d114feb643a6c34d182cad660f26). Change-Id: If5d84bd822f748c962cdb2b95b6bbd5d5e1f11fa
2013-09-19Add functional tests and examples for mergeClint Byrum1-0/+3
merge.py is undocumented and untested, which is undesirable, as it does not seem to be going away any time soon. Change-Id: I7e4870e58a32c567e5947b9a48893b8210ad4d65
2013-07-10Generate overcloud.yaml using overcloud-source.Clint Byrum1-2/+2
This new version does not need any nested stacks and correctly references notcompute. Change-Id: I16f846f7983a956b5159d17bef85cf6a87d69b45
2013-07-10Quantum -> Neutron renameDerek Higgins1-1/+1
Almost all references to quantum have been changed neutron in tripleo-image-elements. Change-Id: Ib17353d5834dd95d0348f62111074180c6e47181
2013-07-10Refine the Makefile rules.Robert Collins1-2/+3
The make rules in use were duplicative, which leads to maintenance headaches. Change-Id: Ic9e37796422caa2427c1575eb776c5d6a98516c3
2013-07-09Update bootstack-vm to match undercloud.Clint Byrum1-0/+3
Also add Makefile stanza to produce overcoud.yaml from bootstack-vm and nova-compute-group. This should allow independent usage of nova-compute-group without having to manually update overcloud. Change-Id: Id2bd20596e6be887b55019fdad31e6b0f4762eb7
2013-06-06Use slave roles in Makefile.Clint Byrum1-1/+1
2013-06-06Add a Makefile for regenerating common mergesClint Byrum1-0/+4