RETIRED, Heat templates for deploying OpenStack
Go to file
Damien Ciabrini 56ebc7e58d DB connection: prevent src address from binding to a VIP
When a service connects to the database VIP from the node hosting this
VIP, the resulting TCP socket has a src address which is by default
bound to the VIP as well. If the VIP is failed over to another node
while the socket's Send-Q is not empty, TCP keepalive won't engage and
the service will become unavailable for a very long time (by default
more than 10m).

To prevent failover issues, DB connections should have the src address
of their TCP socket bound to the IP of the network interface used for
MySQL traffic. This is achieved by passing a new option to the
database connection URIs. This option is available starting from
PyMySQL 0.7.9-2.

We use a new intermediate variable in hiera to hold the IP to be used
as a source address for all DB connections. All services adapt their
database URI accordingly.

Moreover, a new YAML validation check is added to guarantee that new
services will construct their database URI appropriately.

Change-Id: Ic69de63acbfb992314ea30a3a9b17c0b5341c035
Closes-Bug: #1643487
2017-01-03 10:56:02 +01:00
ci Decouple swift-proxy from ceilometer 2016-12-11 20:30:09 -05:00
deployed-server Merge "Add "deployed server" fake neutron ports" 2016-12-21 14:52:36 +00:00
docker Add bind mounts for agent state 2016-12-19 18:13:57 +01:00
environments Merge "Split OVN northd and ml2 plugin" 2016-12-23 12:45:49 +00:00
extraconfig Merge "Use df instead of findmnt in cephstorage upgrade scripts" 2016-12-21 21:09:36 +00:00
firstboot No longer hard coding to a specifc network interface name. 2016-11-17 23:34:43 +01:00
network Merge "Split OVN northd and ml2 plugin" 2016-12-23 12:45:49 +00:00
puppet DB connection: prevent src address from binding to a VIP 2017-01-03 10:56:02 +01:00
scripts Don't rely on lsb_release for hosts template write 2016-12-08 20:09:26 +00:00
tools DB connection: prevent src address from binding to a VIP 2017-01-03 10:56:02 +01:00
validation-scripts Change ping wait flag 2016-05-09 20:22:52 -04:00
.gitignore Add local template generation tox task 2016-11-30 16:02:44 -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 Add CI matrix to THT 2016-12-22 11:53:12 +01: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 Configure /etc/hosts via os-collect-config script 2016-11-30 14:22:36 -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 "Split OVN northd and ml2 plugin" 2016-12-23 12:45:49 +00:00
overcloud.j2.yaml Merge "Add hook to generate metadata from service profiles" 2016-12-22 12:08:12 +00:00
requirements.txt Add local template generation tox task 2016-11-30 16:02:44 -05:00
roles_data.yaml Split OVN northd and ml2 plugin 2016-12-19 12:30:21 +05:30
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 Make pep8 task run template generation 2016-11-30 21:14:52 -05: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

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:

- scenario001 scenario002 scenario003 scenario004 multinode-nonha
keystone

X

X

X

X

X

glance

file

swift

file

file

swift

cinder

iscsi

iscsi

heat

X

X

X

X

X

mysql

X

X

X

X

X

neutron

ovs

ovs

ovs

ovs

X

rabbitmq

X

X

X

X

X

mongodb

X

redis

X

haproxy

X

X

X

X

X

keepalived

X

X

X

X

X

memcached

X

X

X

X

X

pacemaker

X

X

X

X

X

nova

qemu

qemu

qemu

qemu

X

ntp

X

X

X

X

X

snmp

X

X

X

X

X

timezone

X

X

X

X

X

sahara

X

swift

X

X

aodh

X

ceilometer

X

gnocchi

X

barbican

X

zaqar

X

cephrgw

X

X