RETIRED, Heat templates for deploying OpenStack
Go to file
Ade Lee 2a83856585 Move ipa enrollment to host_prep_tasks
This addresses a possible bug when using FreeIPA to do TLS
everywhere.

It is possible that the IPA server is not on the ctlplane.
In this case, when the nodes start up, the registration of the node
with IPA will fail, resulting in failed certificate issuance requests
later on.

We introduce a composable service to run in host_prep_tasks.
This will always run once the networks have been set up.  If the
instance has already been enrolled (by cloud-init or in an update),
then the script executed by the service will just exit.

In this iteration, we simply execute the code that the cloud-init
would have done.  In later releases, we will execute all the code
performed by novajoin-server here in ansible - and deprecate the
novajoin server.

Change-Id: I31f64c3cbd1d151e3c2a436cc3e2ec5316535087
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Resolves: rhbz#1661635
Closes-Bug: #1815924
2019-02-14 16:07:17 +00:00
ci Merge "Push some NodeDataLookup in scenario001" 2019-02-11 23:18:19 +00:00
common Remove RoleConfig 2019-02-11 23:20:07 +00:00
deployed-server Merge "Move UpgradeInitCommand and UpgradeInitCommonCommand to run by Ansible" 2019-02-01 19:49:26 +00:00
deployment step2: flatten nova service configuration 2019-02-13 06:20:55 +00:00
docker step2: flatten nova service configuration 2019-02-13 06:20:55 +00:00
docker_config_scripts Merge "Rework nova_cell_v2_discover_host.py to use nova.conf and python novaclient" 2019-02-07 11:56:54 +00:00
environments Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
extraconfig Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
firstboot Handle python binary look for scripts 2018-11-26 16:48:51 +00:00
network Add PacemakerNetwork definition 2019-01-28 19:23:32 +01:00
plan-samples Role specific derive parameters workflow parameter 2018-06-28 08:10:27 -04:00
puppet step2: flatten nova service configuration 2019-02-13 06:20:55 +00:00
releasenotes Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
roles Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
sample-env-generator Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
scripts [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
tools Merge "Add support for persistence of MariaDB data during reprovisioning" 2019-02-11 19:24:11 +00:00
tripleo_heat_templates Don't require files key in env-generator 2018-07-20 17:14:48 -05:00
validation-scripts Optional ICMP validation of controllers and gateways 2019-01-28 17:18:27 +00:00
zuul.d Make ceph-ansible working dir owned by tripleo-admin 2019-02-12 09:13:15 +05:30
.gitignore Remove developer tools from tripleo .gitignore 2018-11-06 14:40:19 +02:00
.gitreview Update stackforge references to openstack 2013-08-17 22:57:57 -04:00
.testr.conf Improve nova statedir ownership logic 2018-07-09 17:07:30 +01:00
LICENSE Add license file 2014-01-20 11:58:20 +01:00
README.rst Remove MongoDB 2019-01-04 15:17:00 +00:00
all-nodes-validation.yaml Optional ICMP validation of controllers and gateways 2019-01-28 17:18:27 +00:00
babel.cfg Add release configuration. 2013-10-22 17:49:35 +01:00
bindep.txt Use https instead of http for docs links 2018-12-03 03:29:26 -08:00
capabilities-map.yaml Merge "Update manila environment file name in capabilities-map" 2019-01-16 22:53:58 +00:00
config-download-software.yaml Change template names to rocky 2018-05-09 08:28:42 +02:00
config-download-structured.yaml Change template names to rocky 2018-05-09 08:28:42 +02:00
default_passwords.yaml Change template names to rocky 2018-05-09 08:28:42 +02:00
hosts-config.yaml [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
j2_excludes.yaml Remove ipv6 specific network templates 2017-08-31 13:12:17 -07:00
lower-constraints.txt Ensure unique containers names in docker-puppet 2018-10-26 09:19:36 -04:00
net-config-bond.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-bridge.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-linux-bridge.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-noop.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-standalone.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-static-bridge-with-external-dhcp.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-static-bridge.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-static.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
net-config-undercloud.j2.yaml Add default to network.mtu in j2 in nic configs 2019-01-07 22:09:27 +01:00
network_data.yaml Merge "Allow overlay tunnel endpoints on IPv6 address" 2019-01-10 21:13:19 +00:00
network_data_ganesha.yaml Merge "Allow overlay tunnel endpoints on IPv6 address" 2019-01-10 21:13:19 +00:00
network_data_openshift.yaml Add network data for use with openshift deployments 2018-11-05 09:42:10 +01:00
network_data_routed.yaml Merge "Allow overlay tunnel endpoints on IPv6 address" 2019-01-10 21:13:19 +00:00
network_data_subnets_routed.yaml L3 routed networks - data + env (1/3) 2018-12-30 19:24:29 +01:00
network_data_undercloud.yaml Add network data for the undercloud 2019-01-21 19:35:37 +01:00
overcloud-resource-registry-puppet.j2.yaml Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
overcloud.j2.yaml Remove RoleConfig 2019-02-11 23:20:07 +00:00
plan-environment.yaml Add name and description fields to plan-environment.yaml 2017-04-12 17:25:40 +02:00
requirements.txt Ensure unique containers names in docker-puppet 2018-10-26 09:19:36 -04:00
roles_data.yaml Move ipa enrollment to host_prep_tasks 2019-02-14 16:07:17 +00:00
roles_data_undercloud.yaml Remove networks from Undercloud and Standalone roles 2019-01-21 19:36:13 +01:00
setup.cfg [Core] Change openstack-dev to openstack-discuss. 2018-12-04 12:07:33 +01:00
setup.py Updated from global requirements 2017-03-28 13:03:01 +00:00
test-requirements.txt Update hacking version 2018-12-31 17:42:10 +00:00
tox.ini Merge "fix tox python3 overrides" 2018-09-19 05:14:47 +00:00

README.rst

Team and repository tags

image

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

  • roles: example roles that can be used with the tripleoclient to generate

    a roles_data.yaml for a deployment See the roles/README.rst for additional details.

Service testing matrix

The configuration for the CI scenarios will be defined in tripleo-heat-templates/ci/ and should be executed according to the following table:

- scn000 scn001 scn002 scn003 scn004 scn006 scn007 scn009 scn010 non-ha ovh-ha
openshift

X

keystone

X

X

X

X

X

X

X

X

X

X

glance

rbd

swift

file

rgw

file

file

rbd

file

file

cinder

rbd

iscsi
heat

X

X

ironic

X

mysql

X

X

X

X

X

X

X

X

X

X

neutron

ovs

ovs

ovs

ovs

ovs

ovn

ovs

ovs

ovs

neutron-bgpvpn

wip

ovn

X

neutron-l2gw

wip

om-rpc rabbit rabbit

amqp1

rabbit rabbit rabbit rabbit rabbit rabbit
om-notify rabbit rabbit rabbit rabbit rabbit rabbit rabbit rabbit rabbit
redis

X

X

haproxy

X

X

X

X

X

X

X

X

X

memcached

X

X

X

X

X

X

X

X

X

pacemaker

X

X

X

X

X

X

X

X

X

nova

qemu

qemu

qemu

qemu

ironic

qemu

qemu

qemu

qemu

ntp

X

X

X

X

X

X

X

X

X

X

X

snmp

X

X

X

X

X

X

X

X

X

X

X

timezone

X

X

X

X

X

X

X

X

X

X

X

sahara

X

mistral

X

swift

X

aodh

X

X

ceilometer

X

X

gnocchi

rbd

swift

panko

X

X

barbican

X

zaqar

X

ec2api

X

cephrgw

X

tacker

X

congress

X

cephmds

X

manila

X

collectd

X

fluentd

X

sensu-client

X

designate

X

octavia

X