RETIRED, Heat templates for deploying OpenStack
Go to file
Damien Ciabrini ec5fbe8de7 Fix generation of configs that contain password files
In I8fe9a640ba36288a1f9cb18563b363159d4731c0 we added the ability
to prevent overwriting password files during docker-puppet runs, to
give the service the ability to update his own user credentials.

This doesn't work in case a stack update is running and config files
don't exist on the host in the first place (e.g. because of a
previous deploy failure, or due to a controller node replacement).
This also causes complications if a password file is already present
during a stack creation (e.g re-creating a stack on a split-stack
environment).

Change the way password files are handled:

  . if a previous password file exists on the host, do not overwrite
    it with the new password. Only use the new password for
    computing the hash.

  . otherwise, always copy the newly generated password file on the
    host.

Also, fix the config hash generation that currently considers the
password file twice, which makes the hash vary and cause
unexpected service restart at each stack update.

Change-Id: Ia77f1a82c4164f53fa90a6f05ba728787622285d
Closes-bug: #1809145
2019-02-06 11:26:57 +00:00
ci Merge "flatten the manila service configurations" 2019-02-04 18:49:28 +00:00
common Remove workflow_tasks 2019-01-24 11:08:53 +01:00
deployed-server Merge "Move UpgradeInitCommand and UpgradeInitCommonCommand to run by Ansible" 2019-02-01 19:49:26 +00:00
deployment Merge "Clean unmanaged rules pushed by iptables-services package" 2019-02-05 21:32:53 +00:00
docker Fix generation of configs that contain password files 2019-02-06 11:26:57 +00:00
docker_config_scripts Catch directories we can not change ownership 2019-02-01 17:19:20 +01:00
environments Merge "step2: flatten the neutron service configurations" 2019-02-05 15:38:45 +00:00
extraconfig Merge "Include the DB password in a Mistral environment for creating backups and restores" 2019-02-02 02:48:02 +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 Merge "Change NodeDataLookup type from string to json" 2019-02-05 16:48:29 +00:00
releasenotes Merge "Create tripleo-admin user on the undercloud" 2019-02-05 17:18:41 +00:00
roles Add ContainerImagePrepare service to ControllerStorageNfs role 2019-02-04 14:10:53 +00:00
sample-env-generator Merge "step1: flatten the neutron service configurations" 2019-02-02 06:15:44 +00:00
scripts [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
tools Merge "UX - Useful error msg if role is not in roles data" 2019-01-31 07:54:14 +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 Remove the scenario standalones from tht zuul layout - just use template 2019-01-24 09:52:41 +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
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 step2: flatten the neutron service configurations 2019-02-04 07:56:02 -05:00
overcloud.j2.yaml Export global_config for compute-only stack 2019-02-05 08:39:02 +01: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 Merge "Remove all glance-registry related changes" 2019-01-24 00:00:44 +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