Heat templates for deploying OpenStack
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien Ciabrini
cb55cc8ce5
Serialize shutdown of pacemaker nodes
...
When running minor update in a composable HA, different
roles could run ansible tasks concurrently. However,
there is currently a race when pacemaker nodes are
stopped in parallel [1,2], that could cause nodes to
incorrectly stop themselves once they reconnect to the
cluster.
To prevent concurrent shutdown, use a cluster-wide lock
to signals that one node is about to shutdown, and block
the others until the node disconnects from the cluster.
Tested the minor update in a composable HA environment:
. when run with "openstack update run", every role
is updated sequentially, and the shutdown lock
doesn't interfere.
. when running multiple ansible tasks in parallel
"openstack update run --limit role<X>", pacemaker
nodes are correctly stopped sequentially thanks
to the shutdown lock.
. when updating an existing overcloud, the new
locking script used in the review is correctly
injected on the overcloud, thanks to [3].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1791841
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1872404
[3] I2ac6bb98e1d4183327e888240fc8d5a70e0d6fcb
Closes-Bug: #1904193
Change-Id: I0e041c6a95a7f53019967f9263df2326b1408c6f
2 years ago
ci
Merge "Network data v2 YAML definition for CI"
2 years ago
common
Update container-config-scripts/ folder content before update_tasks.
2 years ago
container_config_scripts
Serialize shutdown of pacemaker nodes
2 years ago
deployed-server
Make NetworkConfigWithAnsible parameter non-role specific
2 years ago
deployment
Serialize shutdown of pacemaker nodes
2 years ago
environments
Merge "Disable SwiftDisperion when deploying Ceph RGW"
2 years ago
extraconfig
Set dns_name propery on ports and networks
3 years ago
firstboot
os-net-config-mappings move out of firsboot
3 years ago
network
Merge "Deployed networks template"
2 years ago
plan-samples
Merge "Update plan-sample to reference new interface"
3 years ago
puppet
Add hostname and stack_name tags to ports
2 years ago
releasenotes
Merge "Removing scheduler_default_filters for Nova"
2 years ago
roles
Define a new CinderVolumeEdge service
2 years ago
sample-env-generator
Define a new CinderVolumeEdge service
2 years ago
scripts
Fix typos
3 years ago
tools
Don't try and clean non-existing nic config dir
2 years ago
tripleo_heat_templates
Fix typos
3 years ago
zuul.d
The lower constraint file has been removed
2 years ago
.gitignore
Remove mac_hostname & random_string
4 years ago
.gitreview
OpenDev Migration Patch
4 years ago
.testr.conf
Improve nova statedir ownership logic
5 years ago
LICENSE
Add license file
9 years ago
README.rst
Remove Sahara support
2 years ago
babel.cfg
Add release configuration.
10 years ago
bindep.txt
include gcc,python36-devel in bindep, for tests
2 years ago
config-download-software.yaml
Don't use POLL_SERVER_CFN transport for DeployedServer
2 years ago
config-download-structured.yaml
Don't use POLL_SERVER_CFN transport for DeployedServer
2 years ago
default_passwords.yaml
Change template names to rocky
5 years ago
j2_excludes.yaml
Remove ipv6 specific network templates
6 years ago
network_data.yaml
Add external_resource_vip_id property to network_data.yaml
4 years ago
network_data_dashboard.yaml
Add a StorageDashboard network used by CephGrafana service
4 years ago
network_data_ganesha.yaml
Use appropriate allocation pools for StorageNFS
3 years ago
network_data_routed.yaml
Merge "Allow overlay tunnel endpoints on IPv6 address"
4 years ago
network_data_subnets_routed.yaml
L3 routed networks - data + env (1/3)
4 years ago
network_data_undercloud.yaml
Add network data for the undercloud
4 years ago
overcloud-resource-registry-puppet.j2.yaml
Define a new CinderVolumeEdge service
2 years ago
overcloud.j2.yaml
Merge "Remove 'role_networks_lower' group_var"
2 years ago
plan-environment.yaml
Add name and description fields to plan-environment.yaml
6 years ago
requirements.txt
Deprecate EnablePaunch and remove Paunch support
3 years ago
roles_data.yaml
Merge "Remove Sahara support"
2 years ago
roles_data_undercloud.yaml
Concatenate host_routes and default route in overcloud.yaml
2 years ago
setup.cfg
Replace git.openstack.org URLs with opendev.org URLs
4 years ago
setup.py
Updated from global requirements
6 years ago
test-ansible-requirements.txt
Ansible lint check in THT
3 years ago
test-requirements.txt
Fix Flakes and lower-constraints errors
3 years ago
tox.ini
The lower constraint file has been removed
2 years ago
Team and repository tags
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
scn013
non-ha
ovh-ha
keystone
X
X
X
X
X
X
X
X
X
X
X
glance
rbd
swift
file
rgw
file
file
rbd
file
file
file
cinder
rbd
iscsi
heat
X
X
ironic
X
mysql
X
X
X
X
X
X
X
X
X
X
X
neutron
ovn
ovn
ovn
ovn
ovn
ovs
ovn
ovn
ovn
ovn
neutron-bgpvpn
wip
ovn
X
neutron-l2gw
wip
om-rpc
rabbit
rabbit
amqp1
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
om-notify
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
rabbit
redis
X
X
haproxy
X
X
X
X
X
X
X
X
X
X
memcached
X
X
X
X
X
X
X
X
X
X
pacemaker
X
X
X
X
X
X
X
X
X
X
nova
qemu
qemu
qemu
qemu
ironic
qemu
qemu
qemu
qemu
qemu
placement
X
X
X
X
X
X
X
X
X
X
ntp
X
X
X
X
X
X
X
X
X
X
X
X
snmp
X
X
X
X
X
X
X
X
X
X
X
X
timezone
X
X
X
X
X
X
X
X
X
X
X
X
mistral
X
swift
X
aodh
X
X
ceilometer
X
X
gnocchi
rbd
swift
barbican
X
zaqar
X
cephrgw
X
cephmds
X
manila
X
collectd
X
designate
X
octavia
X
X
rear
X
Extra Firewall
X