RETIRED, Heat templates for deploying OpenStack
Go to file
Oliver Walsh aff9312637 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/15018

Change-Id: I57d421feb6356d28002e77fb9bfa50a397758cbf
Closes-bug: 1778465
(cherry picked from commit 58624abf5f)
2018-07-25 16:49:52 +02:00
ci Lower Ceph PGs count in scenario004 2018-07-18 11:23:49 +02:00
common Run tasks on primary role first 2018-07-12 20:01:09 -04:00
deployed-server Merge "Use UpgradeInitCommonCommand with deployed-server too" into stable/queens 2018-06-20 16:40:00 +00:00
docker Improve nova statedir ownership logic 2018-07-25 16:49:52 +02:00
docker_config_scripts Improve nova statedir ownership logic 2018-07-25 16:49:52 +02:00
environments Merge "Lower Ceph PGs count in scenario004" into stable/queens 2018-07-21 00:14:30 +00:00
extraconfig Fix error in the role-specific parameter merging in rhsm service 2018-06-18 04:29:04 +00:00
firstboot Adding a workaround for enabling steering in ConnectX-3 devices 2018-03-08 07:40:49 +00:00
network Add default value for name_lower in network_data.yaml to update ServiceNetMap 2018-06-30 18:57:50 +00:00
plan-samples Update default value for derive params workflow inputs 2018-01-15 05:50:47 -05:00
puppet Unify the Manila HA and non-HA docker configurations 2018-07-16 13:43:34 +00:00
releasenotes Improve nova statedir ownership logic 2018-07-25 16:49:52 +02:00
roles Add compute node L3 agent container for DVR 2018-05-15 12:14:12 -02:30
sample-env-generator Clean up env files for Cinder's Netapp backend 2018-07-16 17:05:05 +00:00
scripts Avoid awk error in hosts-config.sh for large deployments 2017-04-07 10:50:39 +01:00
tools Merge "Handle blank lines followed by comment in nic conversion script" into stable/queens 2018-07-13 17:57:20 +00:00
tripleo_heat_templates Do not generate apache/haproxy certs for invalid networks 2018-02-08 12:50:04 +00:00
validation-scripts Use ipaddress module 2018-02-27 18:01:21 +01:00
zuul.d Add OPNFV scenario environment 2018-07-10 12:47:11 -04:00
.gitignore Sample environment generator 2017-06-12 15:02:50 -05:00
.gitreview Update .gitreview for stable/queens 2018-03-03 11:43:08 +00:00
.testr.conf Improve nova statedir ownership logic 2018-07-25 16:49:52 +02:00
LICENSE Add license file 2014-01-20 11:58:20 +01:00
README.rst Merge "fix the scenario chart" into stable/queens 2018-06-01 20:40:28 +00:00
all-nodes-validation.yaml Change template names to queens 2017-11-23 10:15:32 +01: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 queens 2017-11-23 10:15:32 +01:00
capabilities-map.yaml Clean up Cinder backends in capabilities map 2018-05-14 23:35:59 +00:00
config-download-software.yaml Support SshKnownHostsDeployment with config-download 2018-07-12 19:58:40 -04:00
config-download-structured.yaml Support SshKnownHostsDeployment with config-download 2018-07-12 19:58:40 -04:00
default_passwords.yaml Change template names to queens 2017-11-23 10:15:32 +01:00
hosts-config.yaml Change template names to queens 2017-11-23 10:15:32 +01:00
j2_excludes.yaml Remove ipv6 specific network templates 2017-08-31 13:12:17 -07:00
net-config-bond.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-bridge.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-linux-bridge.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-noop.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-static-bridge-with-external-dhcp.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-static-bridge.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-static.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
net-config-undercloud.j2.yaml Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
network_data.yaml Add default value for name_lower in network_data.yaml to update ServiceNetMap 2018-06-30 18:57:50 +00:00
network_data_ganesha.yaml Enable management network in network_data 2018-04-23 14:01:59 +00:00
overcloud-resource-registry-puppet.j2.yaml Support SshKnownHostsDeployment with config-download 2018-07-12 19:58:40 -04:00
overcloud.j2.yaml Merge "Support SshKnownHostsDeployment with config-download" into stable/queens 2018-07-16 05:00:57 +00:00
plan-environment.yaml Containers defaults for plan environment 2018-05-28 08:11:24 +00:00
requirements.txt Updated from global requirements 2017-11-16 11:30:33 +00:00
roles_data.yaml Containerize Neutron LBaaS service plugin 2018-04-20 18:31:27 +00:00
roles_data_undercloud.yaml Add TripleOFirewall service to undercloud roles 2018-02-17 01:42:06 +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-25 16:49:52 +02:00
tox.ini Improve nova statedir ownership logic 2018-07-25 16:49:52 +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:

- scn000 scn001 scn002 scn003 scn004 scn006 scn007 scn009 non-ha ovh-ha
openshift

X

keystone

X

X

X

X

X

X

X

X

X

glance

rbd

swift

file

rgw

file

file

file

file

cinder

rbd

iscsi
heat

X

X

ironic

X

mysql

X

X

X

X

X

X

X

X

X

neutron

ovs

ovs

ovs

ovs

ovs

ovn

ovs

ovs

neutron-bgpvpn

wip

ovn

X

neutron-l2gw

wip

rabbitmq

X

X

X

X

X

X

X

X

mongodb
redis

X

X

haproxy

X

X

X

X

X

X

X

X

memcached

X

X

X

X

X

X

X

X

pacemaker

X

X

X

X

X

X

X

X

nova

qemu

qemu

qemu

qemu

ironic

qemu

qemu

qemu

ntp

X

X

X

X

X

X

X

X

X

X

snmp

X

X

X

X

X

X

X

X

X

X

timezone

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