RETIRED, Heat templates for deploying OpenStack
Go to file
Oliver Walsh 880556f897 Improve nova statedir ownership logic
The nova_compute container kolla config is currently set to recursively change
the ownership of /var/lib/nova to nova:nova on startup.

This is necessary when upgrading from an non-container deployment to a
containerized deployment as the nova uids are not consistent across the host
and container image.

If the nova instancedir is an NFS mount then open filehandles are
broken and every VM using that NFS export fails with I/O errors.

This change re-implements the nova statedir ownership logic to target only the
files/directories controlled by nova.

Requires dist-git change: https://review.rdoproject.org/r/15067

Change-Id: I57d421feb6356d28002e77fb9bfa50a397758cbf
Closes-bug: 1778465
(cherry picked from commit 58624abf5f)
(cherry picked from commit aff9312637)
2018-09-25 16:44:46 +02:00
ci Merge "Do not rely on defaults for DockerCephDaemonImage in CI." into stable/pike 2018-06-28 06:16:03 +00:00
common Pass blacklisted_{ip_addresses,hostnames} to major_upgrade_steps 2018-01-25 17:55:06 +01:00
deployed-server Fix fail_if_empty invocation with pipes 2018-06-12 15:23:08 +02:00
docker Improve nova statedir ownership logic 2018-09-25 16:44:46 +02:00
docker_config_scripts Improve nova statedir ownership logic 2018-09-25 16:44:46 +02:00
environments [PIKE-only] remove experimental manila docker envs 2018-07-24 15:53:33 -04:00
extraconfig Merge "Removed ovs-dpdk workaround to fix the vhost socket permission" into stable/pike 2018-07-06 18:06:50 +00:00
firstboot Case insentitive MAC address matching in OsNetConfigMappings 2017-12-22 05:10:18 +00:00
network Restrict SNMP to internal network 2018-02-20 05:33:05 +00:00
plan-samples Update default value for derive params workflow inputs 2018-01-18 16:33:19 +00:00
puppet Allow custom --bip CIDR for docker options 2018-07-24 10:10:58 +03:00
releasenotes Improve nova statedir ownership logic 2018-09-25 16:44:46 +02:00
roles Telemetry services need to access to Storage 2018-04-24 08:00:38 +00:00
sample-env-generator Add support of netapp configuration for glance in THT 2018-04-27 05:14:09 +00:00
scripts Avoid awk error in hosts-config.sh for large deployments 2017-04-07 10:50:39 +01:00
tools Avoid tox_install.sh for constraints support 2017-12-02 17:10:33 +00:00
tripleo_heat_templates Merge "Revert "Fixing bug in "test_environment_generator.py""" into stable/pike 2017-12-29 07:18:00 +00:00
validation-scripts Tolerate network errors in pingtest retry logic 2017-06-30 11:56:55 +01:00
zuul.d Zuul: Remove project name 2018-02-08 02:43:18 -08:00
.gitignore Sample environment generator 2017-06-12 15:02:50 -05:00
.gitreview Update .gitreview for stable/pike 2017-08-24 21:05:07 +00:00
.testr.conf Improve nova statedir ownership logic 2018-09-25 16:44:46 +02: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 README: Fix CI coverage layout 2017-08-16 10:28:29 -07:00
all-nodes-validation.yaml Update the template_version alias for all the templates to pike. 2017-05-19 09:58:07 +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 Update the template_version alias for all the templates to pike. 2017-05-19 09:58:07 +02:00
capabilities-map.yaml Merge "Add support for Dell EMC VNX Cinder Backend" into stable/pike 2018-02-18 06:18:09 +00:00
default_passwords.yaml Update the template_version alias for all the templates to pike. 2017-05-19 09:58:07 +02:00
hosts-config.yaml Update the template_version alias for all the templates to pike. 2017-05-19 09:58:07 +02:00
j2_excludes.yaml Remove ipv6 specific network templates 2017-09-01 17:59:24 +00:00
net-config-bond.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-bridge.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-linux-bridge.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-noop.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-static-bridge-with-external-dhcp.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-static-bridge.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-static.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
net-config-undercloud.yaml Render IP map and host maps according to network_data.yaml 2017-08-16 13:30:54 +01:00
network_data.yaml Revert "Fixes heat resource name for Internal API Network" 2017-10-12 15:56:08 -04:00
overcloud-resource-registry-puppet.j2.yaml Merge "Add support for Dell EMC VNX Cinder Backend" into stable/pike 2018-02-18 06:18:09 +00:00
overcloud.j2.yaml Use str_replace for known_hosts 2018-05-22 19:25:16 +00:00
plan-environment.yaml Add name and description fields to plan-environment.yaml 2017-04-12 17:25:40 +02:00
requirements.txt Add in roles data validation 2017-07-07 09:51:40 -06:00
roles_data.yaml Add Mistral to the provided controller roles 2018-02-20 14:45:42 -08:00
roles_data_undercloud.yaml Add logrotate with crond service 2017-08-21 08:56:29 +02: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-09-25 16:44:46 +02:00
tox.ini Improve nova statedir ownership logic 2018-09-25 16:44:46 +02: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:

+----------------+-------------+-------------+-------------+-------------+-----------------++-------------+ | - | scenario001 | scenario002 | scenario003 | scenario004 | multinode-nonha | scenario007 | +================+=============+=============+=============+=============+=================+==============+ | keystone | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | glance | rbd | swift | file | swift + rbd | swift | file | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | cinder | rbd | iscsi | | | iscsi | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | heat | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | mysql | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | neutron | ovs | ovs | ovs | ovs | X | ovn | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | neutron-bgpvpn | | | | X | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | ovn | | | | | | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | neutron-l2gw | | | | X | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | rabbitmq | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | mongodb | X | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | redis | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | haproxy | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | keepalived | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | memcached | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | pacemaker | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | nova | qemu | qemu | qemu | qemu | X | qemu | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | ntp | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | snmp | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | timezone | X | X | X | X | X | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | sahara | | | X | | | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | mistral | | | X | | | X | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | swift | | X | | | X | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | aodh | X | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | ceilometer | X | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | gnocchi | rbd | swift | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | panko | X | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | barbican | | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | zaqar | | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | ec2api | | X | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | cephrgw | | X | | X | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | tacker | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | congress | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | cephmds | | | | X | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | manila | | | | X | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | collectd | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | fluentd | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+ | sensu-client | X | | | | | | +----------------+-------------+-------------+-------------+-------------+-----------------+--------------+