RETIRED, Heat templates for deploying OpenStack
Go to file
Jiri Stransky 54fb81ecd9 Prevent service bootstrap node facts from colliding with each other
Many services currently set an `is_bootstrap_node` fact, meaning they
override each other's results when the fact is being set. As long as
the fact doesn't belong into a particular step but it's executed on
every step, nothing bad happens, as the correct is_bootstrap_node
setting directly precedes any service upgrade tasks. However, we
intend to put the fact setting into step 0 in change
Ib04b051e8f4275e06be0cafa81e2111c9cced9b7 and at that point the name
collision would break upgrades (only one service would "win" in
setting the is_bootstrap_node fact).

This patch changes the is_bootstrap_node facts in upgrade_tasks to use
per-service naming.

Note that fast_forward_upgrade_tasks use their own is_boostrap_node
logic. We've uncovered some weirdness there while looking into the
is_boostrap_node issue, but the fix is not a low hanging fruit and
likely we'll be completely redoing the FFU tasks for Q->T
upgrade. So the FFU tasks are left alone for now.

Change-Id: I9c585d3cb282b7e4eb0bacb3cf6909e04a9a495e
Closes-Bug: #1810408
2019-01-03 17:27:27 +01:00
ci Merge "Fix the scenario007 CI job failure" 2019-01-03 08:04:24 +00:00
common Merge "Replace confusing usage of update_identifier" 2018-12-20 01:51:14 +00:00
deployed-server Correct file modes for rpmlint failures 2018-12-14 13:21:28 -07:00
deployment Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
docker Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
docker_config_scripts Correct file modes for rpmlint failures 2018-12-14 13:21:28 -07:00
environments Merge "CiscoNexus: Update and Remove deprecated vars" 2019-01-03 07:47:55 +00:00
extraconfig Merge "Use calculated undercloud ctlplane DHCP allocation pools" 2019-01-03 09:54:59 +00:00
firstboot Handle python binary look for scripts 2018-11-26 16:48:51 +00:00
network Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
plan-samples Role specific derive parameters workflow parameter 2018-06-28 08:10:27 -04:00
puppet Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
releasenotes Merge "Align novajoin container logging to other services" 2019-01-03 07:41:10 +00:00
roles Merge "Add deprecated_server_resource_name for ObjectStorage role" 2019-01-03 08:10:43 +00:00
sample-env-generator Remove redis from standalone env 2018-12-18 09:56:08 +01:00
scripts [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
tools Merge "Process the templates even if j2_excludes file is not present" 2019-01-03 05:43:14 +00:00
tripleo_heat_templates Don't require files key in env-generator 2018-07-20 17:14:48 -05:00
validation-scripts Correct file modes for rpmlint failures 2018-12-14 13:21:28 -07:00
zuul.d Replace scenario004 multinode with standalone 2018-12-21 14:46:38 +00:00
.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
all-nodes-validation.yaml Change template names to rocky 2018-05-09 08:28:42 +02: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 "Add networking-ansible ML2 plugin support" 2018-07-05 17:44:05 +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
LICENSE Add license file 2014-01-20 11:58:20 +01: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 MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-bridge.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-linux-bridge.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-noop.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-standalone.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-static-bridge-with-external-dhcp.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-static-bridge.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-static.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
net-config-undercloud.j2.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
network_data_ganesha.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01: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 Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
network_data.yaml Add MTU to neutron networks and nic-config templates 2018-12-22 17:03:09 +01:00
overcloud-resource-registry-puppet.j2.yaml Merge "flatten snmp service configuration" 2018-12-30 00:34:39 +00:00
overcloud.j2.yaml Merge "Remove deploy steps on empty roles" 2018-12-14 22:38:31 +00:00
plan-environment.yaml Add name and description fields to plan-environment.yaml 2017-04-12 17:25:40 +02:00
README.rst Use https instead of http for docs links 2018-12-03 03:29:26 -08:00
requirements.txt Ensure unique containers names in docker-puppet 2018-10-26 09:19:36 -04:00
roles_data_undercloud.yaml Merge "Check for available networks for a role" 2018-12-05 19:01:14 +00:00
roles_data.yaml Merge "Add deprecated_server_resource_name for ObjectStorage role" 2019-01-03 08:10:43 +00: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 Improve nova statedir ownership logic 2018-07-09 17:07:30 +01:00
tox.ini Merge "fix tox python3 overrides" 2018-09-19 05:14:47 +00:00

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
mongodb
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