RETIRED, Heat templates for deploying OpenStack
Go to file
Dan Prince 7876851011 Hiera optimization: use a new hiera hook
This patch optimizes how we deploy hiera by using a new
heat hook specifically designed to help compose hiera
within heat templates. As part of this change:

 - we update all the 'hiera' software configurations to set the group to hiera
   instead of os-apply-config.

 - The new format uses JSON instead of YAML. The hook actually writes
   out the hiera JSON directly so no conversion takes place. Arrays,
   Strings, Booleans all stay in their native formats. As such we can avoid
   having to do many of the awkward string and list conversions in t-h-t to
   support the previous YAML formatting.

 - The new hook prefers JSON over YAML so upgrading users will have the
   new files prefered. (we will post a cleanup routine for the old files
   soon but this isn't a new behavior, JSON is now simply prefered.)

 - A lot of services required edits to account for default settings that
   worked in YAML that no longer work correctly in the native JSON
   format. In almost all these cases I think the resulting codes looks
   cleaner and is more explicit with regards to what is getting
   configured in hiera on the actual nodes.

Depends-On: I6a383b1ad4ec29458569763bd3f56fd3f2bd726b
Closes-bug: #1596373

Change-Id: Ibe7e2044e200e2c947223286fdf4fd5bcf98c2e1
2016-11-30 22:16:13 -05:00
ci Merge "Add Mistral to scenario003" 2016-11-30 16:16:28 +00:00
deployed-server get-occ-config.sh replace deprecated heat commands 2016-11-28 21:53:19 +00:00
docker Containerized Services for Composable Roles 2016-11-22 11:42:49 +01:00
environments Merge "Add Neutron network type and VLAN ranges to network-environment.yaml" 2016-11-30 19:15:03 +00:00
extraconfig Merge "Disable all repos during rhel registration" 2016-11-30 11:26:12 +00:00
firstboot Add an optional extra node admin ssh key parameter 2016-11-07 12:19:14 +01:00
network Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
puppet Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
tools Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
validation-scripts Change ping wait flag 2016-05-09 20:22:52 -04:00
.gitignore Rename overcloud-without-mergepy to overcloud. 2015-12-03 16:01:33 -05:00
.gitreview Update stackforge references to openstack 2013-08-17 22:57:57 -04:00
Gemfile Revert "Pin puppetlabs_spec_helper to 1.1.1" 2016-08-24 00:59:38 +00:00
LICENSE Add license file 2014-01-20 11:58:20 +01:00
MANIFEST.in Add release configuration. 2013-10-22 17:49:35 +01:00
README.rst Drop os-apply-config. No longer maintained. 2015-12-03 16:01:41 -05:00
Rakefile Make puppet manifests compliant with Puppet 4.x 2015-11-05 15:52:28 +01:00
all-nodes-validation.yaml network validation to ping test each interface 2015-07-24 16:36:57 -04:00
babel.cfg Add release configuration. 2013-10-22 17:49:35 +01:00
bootstrap-config.yaml Remove NO_SIGNAL from ControllerBootstrapNodeDeployment 2015-06-03 16:30:53 +02:00
capabilities-map.yaml Merge "Update capabilities-map.yaml" 2016-09-21 21:00:21 +00:00
default_passwords.yaml Move MySQL settings out of puppet/controller.yaml 2016-08-23 21:29:02 -04:00
hosts-config.yaml Stop using puppet to configure VIPs in /etc/hosts 2016-11-27 13:20:33 -05:00
j2_excludes.yaml Add generic template for custom roles. 2016-10-06 02:13:36 +00:00
net-config-bond.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
net-config-bridge.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
net-config-linux-bridge.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
net-config-noop.yaml Add Management Network For System Administration. 2015-12-18 13:05:54 -06:00
net-config-static-bridge-with-external-dhcp.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
net-config-static-bridge.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
net-config-static.yaml Apply os-net-config with a script instead of element 2016-11-28 14:23:11 -05:00
overcloud-resource-registry-puppet.j2.yaml Merge "Stop using puppet to configure VIPs in /etc/hosts" 2016-11-29 01:02:31 +00:00
overcloud.j2.yaml Stop using puppet to configure VIPs in /etc/hosts 2016-11-27 13:20:33 -05:00
requirements.txt Add release configuration. 2013-10-22 17:49:35 +01:00
roles_data.yaml Stop using puppet to configure VIPs in /etc/hosts 2016-11-27 13:20:33 -05:00
setup.cfg Drop deprecated templates/Makefile/merge.py 2015-11-25 15:00:13 -05:00
setup.py Add release configuration. 2013-10-22 17:49:35 +01:00
test-requirements.txt Add release configuration. 2013-10-22 17:49:35 +01:00
tox.ini Rename tox env to pep8 2016-02-11 12:29:36 -06:00

README.rst

tripleo-heat-templates

Heat templates to deploy OpenStack using OpenStack.

Features

The ability to deploy a multi-node, role based OpenStack deployment using OpenStack Heat. Notable features include:

  • Choice of deployment/configuration tooling: puppet, (soon) docker
  • Role based deployment: roles for the controller, compute, ceph, swift, and cinder storage
  • physical network configuration: support for isolated networks, bonding, and standard ctlplane networking

Directories

A description of the directory layout in TripleO Heat Templates.

  • environments: contains heat environment files that can be used with -e

    on the command like to enable features, etc.

  • extraconfig: templates used to enable 'extra' functionality. Includes

    functionality for distro specific registration and upgrades.

  • firstboot: example first_boot scripts that can be used when initially

    creating instances.

  • network: heat templates to help create isolated networks and ports
  • puppet: templates mostly driven by configuration with puppet. To use these

    templates you can use the overcloud-resource-registry-puppet.yaml.

  • validation-scripts: validation scripts useful to all deployment

    configurations