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.
 
 
 
tripleo-heat-templates/puppet/services
Jenkins cf5e77cbef Merge "Allow user to configure Ceph rbd_default_features" 6 years ago
..
database Adds a step0 for pre upgrade-init checks 6 years ago
logging Bump template version for all templates to "ocata" 6 years ago
monitoring Bump template version for all templates to "ocata" 6 years ago
network Bump template version for all templates to "ocata" 6 years ago
pacemaker Adds a step0 for pre upgrade-init checks 6 years ago
time Bump template version for all templates to "ocata" 6 years ago
README.rst Add hook to generate metadata from service profiles 6 years ago
aodh-api.yaml Merge "Bump template version for all templates to "ocata"" 6 years ago
aodh-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
aodh-evaluator.yaml Bump template version for all templates to "ocata" 6 years ago
aodh-listener.yaml Bump template version for all templates to "ocata" 6 years ago
aodh-notifier.yaml Bump template version for all templates to "ocata" 6 years ago
apache-internal-tls-certmonger.yaml Bump template version for all templates to "ocata" 6 years ago
apache.yaml Bump template version for all templates to "ocata" 6 years ago
barbican-api.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
ca-certs.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-agent-central.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-agent-compute.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-agent-notification.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-api.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
ceilometer-collector.yaml Bump template version for all templates to "ocata" 6 years ago
ceilometer-expirer.yaml Bump template version for all templates to "ocata" 6 years ago
ceph-base.yaml Bump template version for all templates to "ocata" 6 years ago
ceph-client.yaml Bump template version for all templates to "ocata" 6 years ago
ceph-external.yaml Allow user to configure Ceph rbd_default_features 6 years ago
ceph-mds.yaml Add support for the deployment of Ceph MDS 6 years ago
ceph-mon.yaml Bump template version for all templates to "ocata" 6 years ago
ceph-osd.yaml Bump template version for all templates to "ocata" 6 years ago
ceph-rgw.yaml Bump template version for all templates to "ocata" 6 years ago
cinder-api.yaml Add cinder service support for composable upgrades 6 years ago
cinder-backup.yaml Bump template version for all templates to "ocata" 6 years ago
cinder-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
cinder-hpelefthand-iscsi.yaml HPELeftHandISCSIDriver support for Cinder 6 years ago
cinder-scheduler.yaml Add cinder service support for composable upgrades 6 years ago
cinder-volume.yaml Add cinder service support for composable upgrades 6 years ago
glance-api.yaml Add glance service support for composable upgrades 6 years ago
glance-base.yaml Bump template version for all templates to "ocata" 6 years ago
glance-registry.yaml Add glance service support for composable upgrades 6 years ago
gnocchi-api.yaml Merge "Set gnocchi wsgi display name" 6 years ago
gnocchi-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
gnocchi-metricd.yaml Bump template version for all templates to "ocata" 6 years ago
gnocchi-statsd.yaml Bump template version for all templates to "ocata" 6 years ago
haproxy-internal-tls-certmonger.yaml Bump template version for all templates to "ocata" 6 years ago
haproxy-public-tls-certmonger.yaml Bump template version for all templates to "ocata" 6 years ago
haproxy.yaml Bump template version for all templates to "ocata" 6 years ago
heat-api-cfn.yaml Add heat service support for composable upgrades 6 years ago
heat-api-cloudwatch.yaml Add heat service support for composable upgrades 6 years ago
heat-api.yaml Add heat service support for composable upgrades 6 years ago
heat-base.yaml Template and role support for the undercloud 6 years ago
heat-engine.yaml Add heat service support for composable upgrades 6 years ago
horizon.yaml Bump template version for all templates to "ocata" 6 years ago
ironic-api.yaml Bump template version for all templates to "ocata" 6 years ago
ironic-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
ironic-conductor.yaml Bump template version for all templates to "ocata" 6 years ago
keepalived.yaml Bump template version for all templates to "ocata" 6 years ago
kernel.yaml Bump template version for all templates to "ocata" 6 years ago
keystone.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
manila-api.yaml Bump template version for all templates to "ocata" 6 years ago
manila-backend-cephfs.yaml Bump template version for all templates to "ocata" 6 years ago
manila-backend-generic.yaml Bump template version for all templates to "ocata" 6 years ago
manila-backend-netapp.yaml Bump template version for all templates to "ocata" 6 years ago
manila-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
manila-scheduler.yaml Bump template version for all templates to "ocata" 6 years ago
manila-share.yaml Bump template version for all templates to "ocata" 6 years ago
memcached.yaml Bump template version for all templates to "ocata" 6 years ago
mistral-api.yaml Bump template version for all templates to "ocata" 6 years ago
mistral-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
mistral-engine.yaml Bump template version for all templates to "ocata" 6 years ago
mistral-executor.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-api.yaml Add neutron service support for composable upgrades 6 years ago
neutron-base.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-compute-plugin-midonet.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-compute-plugin-nuage.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-compute-plugin-opencontrail.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-compute-plugin-ovn.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-compute-plugin-plumgrid.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-dhcp.yaml Add neutron service support for composable upgrades 6 years ago
neutron-l3-compute-dvr.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-l3.yaml Add neutron service support for composable upgrades 6 years ago
neutron-metadata.yaml Add neutron service support for composable upgrades 6 years ago
neutron-midonet.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-ovs-agent.yaml Add neutron service support for composable upgrades 6 years ago
neutron-ovs-dpdk-agent.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-plugin-ml2-fujitsu-cfab.yaml Add THT for networking-fujitsu 6 years ago
neutron-plugin-ml2-ovn.yaml Merge "Bump template version for all templates to "ocata"" 6 years ago
neutron-plugin-ml2.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-plugin-nuage.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-plugin-opencontrail.yaml Bump template version for all templates to "ocata" 6 years ago
neutron-plugin-plumgrid.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
neutron-sriov-agent.yaml Bump template version for all templates to "ocata" 6 years ago
nova-api.yaml Merge "Merge mysql service_config_settings for nova" 6 years ago
nova-base.yaml Merge "Revert "Specify cell0 db creation"" 6 years ago
nova-compute.yaml Bump template version for all templates to "ocata" 6 years ago
nova-conductor.yaml Bump template version for all templates to "ocata" 6 years ago
nova-consoleauth.yaml Bump template version for all templates to "ocata" 6 years ago
nova-ironic.yaml Bump template version for all templates to "ocata" 6 years ago
nova-libvirt.yaml Expose enabled_perf_events libvirt options 6 years ago
nova-metadata.yaml Bump template version for all templates to "ocata" 6 years ago
nova-scheduler.yaml Bump template version for all templates to "ocata" 6 years ago
nova-vnc-proxy.yaml Bump template version for all templates to "ocata" 6 years ago
opendaylight-api.yaml Removes deprecated OpenDaylight L2 only deployments 6 years ago
opendaylight-ovs.yaml Bump template version for all templates to "ocata" 6 years ago
ovn-dbs.yaml Split OVN northd and ml2 plugin 6 years ago
pacemaker.yaml Bump template version for all templates to "ocata" 6 years ago
panko-api.yaml Bump template version for all templates to "ocata" 6 years ago
panko-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
rabbitmq.yaml Add neutron service support for composable upgrades 6 years ago
sahara-api.yaml Bump template version for all templates to "ocata" 6 years ago
sahara-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 6 years ago
sahara-engine.yaml Bump template version for all templates to "ocata" 6 years ago
services.yaml Bump template version for all templates to "ocata" 6 years ago
snmp.yaml Bump template version for all templates to "ocata" 6 years ago
swift-base.yaml Bump template version for all templates to "ocata" 6 years ago
swift-proxy.yaml Bump template version for all templates to "ocata" 6 years ago
swift-ringbuilder.yaml Bump template version for all templates to "ocata" 6 years ago
swift-storage.yaml Bump template version for all templates to "ocata" 6 years ago
tripleo-firewall.yaml Bump template version for all templates to "ocata" 6 years ago
tripleo-packages.yaml Adds a step0 for pre upgrade-init checks 6 years ago
zaqar.yaml Bump template version for all templates to "ocata" 6 years ago

README.rst

services

A TripleO nested stack Heat template that encapsulates generic configuration data to configure a specific service. This generally includes everything needed to configure the service excluding the local bind ports which are still managed in the per-node role templates directly (controller.yaml, compute.yaml, etc.). All other (global) service settings go into the puppet/service templates.

Input Parameters

Each service may define its own input parameters and defaults. Operators will use the parameter_defaults section of any Heat environment to set per service parameters.

Config Settings

Each service may define a config_settings output variable which returns Hiera settings to be configured.

Deployment Steps

Each service may define an output variable which returns a puppet manifest snippet that will run at each of the following steps. Earlier manifests are re-asserted when applying latter ones.

  • config_settings: Custom hiera settings for this service.

  • global_config_settings: Additional hiera settings distributed to all roles.

  • step_config: A puppet manifest that is used to step through the deployment sequence. Each sequence is given a "step" (via hiera('step') that provides information for when puppet classes should activate themselves.

    Steps correlate to the following:

    1. Load Balancer configuration
    2. Core Services (Database/Rabbit/NTP/etc.)
    3. Early Openstack Service setup (Ringbuilder, etc.)
    4. General OpenStack Services
    5. Service activation (Pacemaker)

Upgrade Steps

Each service template may optionally define a upgrade_tasks key, which is a list of ansible tasks to be performed during the upgrade process.

Similar to the step_config, we allow a series of steps for the per-service upgrade sequence, defined as ansible tasks with a tag e.g "step1" for the first step, "step2" for the second, etc.

Steps/tages correlate to the following:

  1. Quiesce the control-plane, e.g disable LoadBalancer, stop pacemaker cluster
  2. Stop all control-plane services, ready for upgrade
  3. Perform a package update, (either specific packages or the whole system)
  4. Start services needed for migration tasks (e.g DB)
  5. Perform any migration tasks, e.g DB sync commands
  6. Start control-plane services
  7. Any additional online migration tasks (e.g data migrations)

Nova Server Metadata Settings

One can use the hook of type OS::TripleO::ServiceServerMetadataHook to pass entries to the nova instances' metadata. It is, however, disabled by default. In order to overwrite it one needs to define it in the resource registry. An implementation of this hook needs to conform to the following:

  • It needs to define an input called RoleData of json type. This gets as input the contents of the role_data for each role's ServiceChain.
  • This needs to define an output called metadata which will be given to the Nova Server resource as the instance's metadata.