RETIRED, Heat templates for deploying OpenStack
Go to file
Bogdan Dobrelya fc612b86b2 Delay check CI jobs until the pep8 passes..
..for Greater Good.

NOTE: for example, standalone jobs are defined as a template in
tripleo-ci, and here we are adding and override the listed jobs for the
dependencies/files options. If a job is added to the standlone template
in tripleo-ci, we need to add the job and dependency here manually.
If we won't, that job will be consumed as is and run w/o dependencies.
That is the price to pay for not having overrides managed centrally in
tripleo-ci. The latter wouldn't work neither as a single template
cannot fit all the specific needs of numerous tripleo repos. So the
final call was made to manage overrides via local overrides for tripleo
repos.

Save CI resources and shorten wait-in-zuul-queue times
for other patches, when pep8 checks failed (that is YAML validation
for this t-h-t repo).

For core openstack python projects it might make sense to
not split them apart and run them all together. For things like
TripleO/Kolla/Puppet/etc where we have layers of interactions that can
be affected by the results from the linters/unit jobs it makes
sense to split them out.

For example, in tripleo since we use packages, if the unit test fails
the integration test may fail because when we go to built the package
with the new source, the unit test int he package build fails.  Thus
we know that'll be a wasted execution and you won't actually get any
results.

An alternative Today:
  patchset one:
    pep8 SUCCESS
    integration FAILURE
  patchset two:
    pep8 SUCCESS
    integration FAILURE
  patchset three:
    pep8 SUCCESS
    integration SUCCESS

Future:
  patchset one:
    pep8 FAILURE
    integration SKIPPED
  patchset two:
    pep8 SUCCESS
    integration FAILURE
  patchset three:
    pep8 SUCCESS
    integration SUCCESS

This may not be true for devstack but if the unit
tests are failing, then the code is likely bad (backwards
compatibility/wrong assumptions about change/etc) and we shouldn't be
running an actual deployment.

Related upstream ML threads:
* http://lists.openstack.org/pipermail/openstack-dev/2018-March/
127869.html
* http://lists.openstack.org/pipermail/openstack-discuss/
2019-February/003142.html

Change-Id: I2216773113f8d4e4a2bdff35709ff739f5164a32
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-03-05 16:12:57 +01:00
ci Switch scenario00{1,4}-standalone to Ceph bluestore 2019-02-21 11:51:21 -05:00
common Merge "[FFU] Make sure group access work correctly with ansible 2.6." 2019-02-20 12:23:16 +00:00
deployed-server Merge "Move UpgradeInitCommand and UpgradeInitCommonCommand to run by Ansible" 2019-02-01 19:49:26 +00:00
deployment Merge "step4: flatten nova service configuration" 2019-02-25 23:54:11 +00:00
docker Do not ignore Swift ring changes to trigger container restart 2019-02-22 09:48:47 +01:00
docker_config_scripts Merge "Rework nova_cell_v2_discover_host.py to use nova.conf and python novaclient" 2019-02-07 11:56:54 +00:00
environments Add OvnDbInternal to EndpointMap and use it for ovn_db_host 2019-02-25 10:14:19 +01:00
extraconfig Merge "Make openshift-ansible working dir owned by tripleo-admin" 2019-02-22 18:48:02 +00:00
firstboot Handle upper and lower case system uuids 2019-02-19 12:58:54 -07:00
network Add OvnDbInternal to EndpointMap and use it for ovn_db_host 2019-02-25 10:14:19 +01:00
plan-samples Role specific derive parameters workflow parameter 2018-06-28 08:10:27 -04:00
puppet Merge "step4: flatten nova service configuration" 2019-02-25 23:54:11 +00:00
releasenotes Add OvnDbInternal to EndpointMap and use it for ovn_db_host 2019-02-25 10:14:19 +01:00
roles Merge "Deprecate xinetd service management" 2019-02-21 18:55:15 +00:00
sample-env-generator Merge "step4: flatten nova service configuration" 2019-02-25 23:54:11 +00:00
scripts [Templates] Use str_replace for hosts. 2018-11-12 16:33:27 +01:00
tools Fix py3 compat for regex searches in YAML validate 2019-02-27 15:39:02 +01: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 Delay check CI jobs until the pep8 passes.. 2019-03-05 16:12:57 +01: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 Switch default neutron ML2 mechanism driver to OVN 2019-02-14 15:58:27 +01: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 Merge "Deprecate xinetd service management" 2019-02-21 18:55:15 +00:00
overcloud.j2.yaml Don't look for primary_role ips in AllNodesValidationConfig 2019-02-21 21:00:12 +05:30
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 "Deprecate xinetd service management" 2019-02-21 18:55:15 +00:00
roles_data_undercloud.yaml Merge "Deprecate xinetd service management" 2019-02-21 18:55:15 +00: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

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

congress

X

cephmds

X

manila

X

collectd

X

fluentd

X

sensu-client

X

designate

X

octavia

X