RETIRED, Heat templates for deploying OpenStack
Go to file
Christian Schwede 962426ec33 Fix Swift ring file synchronization issue
Swift ring files are synchronized by up- and downloading them to the
undercloud, making sure every node on the overcloud has the same copy to
start with.

One (optional) step in the process is to ensure rings are in sync before
uploading them eventually. swift-recon is used to query all Swift object
storage nodes, get the md5sum of the ring files and compare them with
the local ring file md5sum.

However, in containerized deployments this will fail, because Swift
containers are not immediately restarted after rebalancing. The object
server will return the md5sum of the previous ring version, which does
not match with the rebalanced local file. TripleO is intended to skip
this check by setting skip_consistency_check to false.

However, the parameter was never set to false, and this patch fixes it.

Running an overcloud update immediately after an initial deployment was
not affected by this. Same for multiple overcloud updates - subsequent
updates did fix this issue automatically. In the first case the rings
were not rebalanced due to min_part_hours not passed, in the latter case
they were synchronized on the subsequent update.

Closes-Bug: 1892674
Change-Id: Ib56f59b7d2a981196eab334108d42ca4390c0566
(cherry picked from commit 13cc41a23f)
2020-09-04 07:27:59 +00:00
ci Change multinode CI to use default location for amphora images 2020-09-01 11:46:51 +00:00
common Improve facter cache reliability 2020-06-03 14:13:55 +00:00
container_config_scripts Merge "HA: ensure TRIPLEO_MINOR_UPDATE is defined for <svc>_restart_bundle" into stable/stein 2019-10-25 19:47:11 +00:00
deployed-server Added OctaviaDeploymentConfig to deployed server role 2020-02-26 16:05:42 -03:30
deployment Fix Swift ring file synchronization issue 2020-09-04 07:27:59 +00:00
environments Disable LoggingConfiguration by default 2020-06-03 10:57:33 +02:00
extraconfig Handle generating grub config for EFI partitions 2020-05-15 15:48:30 +12:00
firstboot Try a timesync as part of first boot 2019-05-22 15:39:18 +00:00
network ControlPlaneSubnetCidr in net_vip_map_external 2020-03-17 22:45:30 +00:00
plan-samples Role specific derive parameters workflow parameter 2018-06-28 08:10:27 -04:00
puppet Merge "Swap tasks to avoid non-existing variable error." into stable/stein 2020-02-20 01:29:01 +00:00
releasenotes Fix Swift ring file synchronization issue 2020-09-04 07:27:59 +00:00
roles Configure SNMP on undercloud 2020-07-20 14:02:09 +02:00
sample-env-generator Install and start Rsyslog on the Undercloud & Standalone 2019-11-04 22:43:07 +01:00
scripts [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
tools NodeDataLookup utility should rely on python env 2020-02-20 22:21:35 +00:00
tripleo_heat_templates Merge "Trim whitespace in multi-line env descriptions" 2019-04-16 05:28:25 +00:00
validation-scripts Make comparisons case insensitive 2019-06-26 08:03:27 -06:00
zuul.d remove scenario009 from stein periodic 2020-09-02 09:12:42 -06:00
.gitignore Remove developer tools from tripleo .gitignore 2018-11-06 14:40:19 +02:00
.gitreview Update .gitreview for stable/stein 2019-05-01 14:51:47 +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 Remove Congress 2019-02-28 16:29:03 -05: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 Move Aide to deployments 2019-03-28 08:24:40 -04: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 Enable paunch logging to its full extent 2019-03-22 11:42:12 +01:00
net-config-bond.j2.yaml Add ability to specify dns search domains 2019-05-23 20:31:34 +00:00
net-config-bridge.j2.yaml Add {{network.name}}NetworkVlanID to THT/net-config-* 2019-04-09 23:04:58 +02:00
net-config-linux-bridge.j2.yaml Add {{network.name}}NetworkVlanID to THT/net-config-* 2019-04-09 23:04:58 +02:00
net-config-noop.j2.yaml Add {{network.name}}NetworkVlanID to THT/net-config-* 2019-04-09 23:04:58 +02:00
net-config-standalone.j2.yaml Add ability to specify dns search domains 2019-05-23 20:31:34 +00:00
net-config-static-bridge-with-external-dhcp.j2.yaml Add {{network.name}}NetworkVlanID to THT/net-config-* 2019-04-09 23:04:58 +02:00
net-config-static-bridge.j2.yaml Add ability to specify dns search domains 2019-05-23 20:31:34 +00:00
net-config-static.j2.yaml Add ability to specify dns search domains 2019-05-23 20:31:34 +00:00
net-config-undercloud.j2.yaml Add ability to specify dns search domains 2019-05-23 20:31:34 +00:00
network_data.yaml Add external_resource_vip_id property to network_data.yaml 2019-03-25 10:48:40 -04: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 Disable LoggingConfiguration by default 2020-06-03 10:57:33 +02:00
overcloud.j2.yaml Add network vip mapping into service data 2020-01-27 09:13:55 +00:00
plan-environment.yaml Add name and description fields to plan-environment.yaml 2017-04-12 17:25:40 +02:00
requirements.txt Enable paunch logging to its full extent 2019-03-22 11:42:12 +01:00
roles_data.yaml Force ansible serial to 1 for the Controller 2019-06-12 14:56:40 +00:00
roles_data_undercloud.yaml Configure SNMP on undercloud 2020-07-20 14:02:09 +02: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 Update UPPER_CONSTRAINTS_FILE for stable/stein 2019-05-01 14:51:54 +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

ovn

ovn

ovn

ovn

ovn

ovs

ovn

ovn

ovn

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

cephmds

X

manila

X

collectd

X

fluentd

X

sensu-client

X

designate

X

octavia

X