RETIRED, Heat templates for deploying OpenStack
Go to file
Damien Ciabrini ded38b7440 minor update: move VIP before stopping pacemaker on a node
When pacemaker stops, it first stops all pacemaker resources
managed on the node, and stops the pacemaker daemon.

If the node being stopped is hosting VIP resources, those ones
must be restarted elsewhere as soon as possible to avoid long
service disruption, but there is currently no constraint defined
to force that behaviour.

So what can happen is the VIP resources are stopped, then other
resources on the hosts are stopped (e.g. rabbit, galera), and only
when there's no more resources pacemaker restarts VIPs elsewhere,
which can lead to a long OpenStack service disruption.

To avoid unexpected long outage period due to VIP unavailability,
force-move the VIPs away from the node before stopping pacemaker.

Closes-Bug: #1815204
Change-Id: I9cbbf9e66b804f00fd19b2b3641f10bb472a94c7
(cherry picked from commit 38fb412ac0)
2019-02-14 11:08:03 +01:00
ci Merge "Don't configure BIND to listen on localhost" into stable/rocky 2019-01-12 03:05:52 +00:00
common Merge "run docker_puppet_tasks on any role" into stable/rocky 2019-02-11 19:24:08 +00:00
deployed-server Move UpgradeInitCommand and UpgradeInitCommonCommand to run by Ansible 2019-02-04 10:20:46 +01:00
docker Merge "mysql: sync credentials in running container on password change" into stable/rocky 2019-02-12 12:25:09 +00:00
docker_config_scripts Catch directories we can not change ownership 2019-02-05 12:08:30 +01:00
environments Disable stack check and cancel update for undercloud 2019-02-11 10:01:48 +00:00
extraconfig Include the DB password in a Mistral environment for creating backups and restores 2019-02-05 17:32:52 +01:00
firstboot Change template names to rocky 2018-05-09 08:28:42 +02:00
network Merge "Add /v2 suffix to Designate uris" into stable/rocky 2019-01-12 17:18:04 +00:00
plan-samples Role specific derive parameters workflow parameter 2018-06-28 08:10:27 -04:00
puppet minor update: move VIP before stopping pacemaker on a node 2019-02-14 11:08:03 +01:00
releasenotes Merge "Disable stack check and cancel update for undercloud" into stable/rocky 2019-02-12 12:24:53 +00:00
roles Add ContainerImagePrepare service to ControllerStorageNfs role 2019-02-05 06:41:49 +00:00
sample-env-generator Add HorizonSecureCookies to environments/ssl/enable-tls.yaml 2019-01-18 11:28:25 +00:00
scripts [Templates] Use str_replace for hosts. 2018-11-15 08:54:39 +00:00
tools Add network data for use with openshift deployments 2018-11-08 08:42:24 +01:00
tripleo_heat_templates Do not generate apache/haproxy certs for invalid networks 2018-02-08 12:50:04 +00:00
validation-scripts Ping default gateways before controllers 2018-10-02 12:43:05 +00:00
zuul.d Merge "Rename tripleo-ci-centos-7-scenario00{6,9}-multinode-oooq (rocky)" into stable/rocky 2018-12-13 23:44:48 +00:00
.gitignore Sample environment generator 2017-06-12 15:02:50 -05:00
.gitreview Update .gitreview for stable/rocky 2018-08-24 14:44:43 +00: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 Fix RST syntax (needed by release) 2018-07-25 22:39:40 -04: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 Add in roles data validation 2017-07-07 09:51:40 -06:00
bootstrap-config.yaml Change template names to rocky 2018-05-09 08:28:42 +02: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-15 08:54:39 +00: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-31 10:35:27 +01:00
net-config-bond.j2.yaml DnsServers using get_attr 2018-07-14 09:19:12 +02:00
net-config-bridge.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-linux-bridge.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-noop.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-standalone.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-static-bridge-with-external-dhcp.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-static-bridge.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-static.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
net-config-undercloud.j2.yaml Add per-network routes to NIC templates 2018-07-30 09:53:30 +02:00
network_data.yaml Fix typo in network_data files 2018-08-20 08:25:15 +02:00
network_data_ganesha.yaml Fix typo in network_data files 2018-08-20 08:25:15 +02:00
network_data_openshift.yaml Add network data for use with openshift deployments 2018-11-08 08:42:24 +01:00
network_data_routed.yaml Fix error in Tenant network routes definition 2018-10-06 02:10:20 +00:00
overcloud-resource-registry-puppet.j2.yaml Add config files/templates to integrate nsx plugin with container 2018-12-18 22:39:48 +00:00
overcloud.j2.yaml Put user data in the main stack 2018-12-27 10:55:01 +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-31 10:35:27 +01:00
roles_data.yaml Always enable image prepare service for docker clouds 2018-08-28 05:04:53 +00:00
roles_data_undercloud.yaml Check for available networks for a role 2018-12-10 13:28:37 +00:00
setup.cfg Drop deprecated templates/Makefile/merge.py 2015-11-25 15:00:13 -05: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 Update UPPER_CONSTRAINTS_FILE for stable/rocky 2018-08-24 14:44:46 +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

file

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

X