tripleo-heat-templates/puppet/services
John Fulton 269a3bbede Allow user to configure Ceph rbd_default_features
Allow user to configure rbd_default_features parameter in
ceph.conf / [client] section. Operators deploying newer
Ceph clients that must use older Ceph servers need to be
able to easily set this option for backwards compatibility.

Change-Id: I685c95c47282894bb6309168c537de877dbccc66
Depends-On: I477640c5db2cc84622da7734fb54cfe7740bd137
Related-Bug: 1633552
2017-01-16 22:39:47 +00:00
..
database Adds a step0 for pre upgrade-init checks 2017-01-13 12:34:57 +00:00
logging Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
monitoring Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
network Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
pacemaker Adds a step0 for pre upgrade-init checks 2017-01-13 12:34:57 +00:00
time Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
README.rst Add hook to generate metadata from service profiles 2016-12-22 10:06:17 +00:00
aodh-api.yaml Merge "Bump template version for all templates to "ocata"" 2017-01-03 10:31:44 +00:00
aodh-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
aodh-evaluator.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
aodh-listener.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
aodh-notifier.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
apache-internal-tls-certmonger.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
apache.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
barbican-api.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
ca-certs.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-agent-central.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-agent-compute.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-agent-notification.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
ceilometer-collector.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceilometer-expirer.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceph-base.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceph-client.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceph-external.yaml Allow user to configure Ceph rbd_default_features 2017-01-16 22:39:47 +00:00
ceph-mds.yaml Add support for the deployment of Ceph MDS 2017-01-10 17:30:16 +01:00
ceph-mon.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceph-osd.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ceph-rgw.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
cinder-api.yaml Add cinder service support for composable upgrades 2017-01-13 14:10:55 +00:00
cinder-backup.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
cinder-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
cinder-scheduler.yaml Add cinder service support for composable upgrades 2017-01-13 14:10:55 +00:00
cinder-volume.yaml Add cinder service support for composable upgrades 2017-01-13 14:10:55 +00:00
glance-api.yaml Add glance service support for composable upgrades 2017-01-12 09:51:47 +00:00
glance-base.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
glance-registry.yaml Add glance service support for composable upgrades 2017-01-12 09:51:47 +00:00
gnocchi-api.yaml Merge "Set gnocchi wsgi display name" 2017-01-03 10:32:05 +00:00
gnocchi-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
gnocchi-metricd.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
gnocchi-statsd.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
haproxy-internal-tls-certmonger.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
haproxy-public-tls-certmonger.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
haproxy.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
heat-api-cfn.yaml Add heat service support for composable upgrades 2017-01-13 14:10:55 +00:00
heat-api-cloudwatch.yaml Add heat service support for composable upgrades 2017-01-13 14:10:55 +00:00
heat-api.yaml Add heat service support for composable upgrades 2017-01-13 14:10:55 +00:00
heat-base.yaml Template and role support for the undercloud 2017-01-06 20:01:14 -05:00
heat-engine.yaml Add heat service support for composable upgrades 2017-01-13 14:10:55 +00:00
horizon.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ironic-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ironic-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
ironic-conductor.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
keepalived.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
kernel.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
keystone.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
manila-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
manila-backend-cephfs.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
manila-backend-generic.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
manila-backend-netapp.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
manila-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
manila-scheduler.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
manila-share.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
memcached.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
mistral-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
mistral-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
mistral-engine.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
mistral-executor.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-api.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
neutron-base.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-compute-plugin-midonet.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-compute-plugin-nuage.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-compute-plugin-opencontrail.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-compute-plugin-ovn.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-compute-plugin-plumgrid.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-dhcp.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
neutron-l3-compute-dvr.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-l3.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
neutron-metadata.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
neutron-midonet.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-ovs-agent.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
neutron-ovs-dpdk-agent.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-plugin-ml2-fujitsu-cfab.yaml Add THT for networking-fujitsu 2017-01-10 10:54:02 -05:00
neutron-plugin-ml2-ovn.yaml Merge "Bump template version for all templates to "ocata"" 2017-01-03 10:31:44 +00:00
neutron-plugin-ml2.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-plugin-nuage.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-plugin-opencontrail.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
neutron-plugin-plumgrid.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
neutron-sriov-agent.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-api.yaml Merge "Merge mysql service_config_settings for nova" 2017-01-05 23:51:00 +00:00
nova-base.yaml Merge "Revert "Specify cell0 db creation"" 2017-01-13 19:49:27 +00:00
nova-compute.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-conductor.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-consoleauth.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-ironic.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-libvirt.yaml Expose enabled_perf_events libvirt options 2017-01-03 15:27:10 -05:00
nova-metadata.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-scheduler.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
nova-vnc-proxy.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
opendaylight-api.yaml Removes deprecated OpenDaylight L2 only deployments 2017-01-10 16:15:29 -05:00
opendaylight-ovs.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
ovn-dbs.yaml Split OVN northd and ml2 plugin 2016-12-19 12:30:21 +05:30
pacemaker.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
panko-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
panko-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
rabbitmq.yaml Add neutron service support for composable upgrades 2017-01-13 14:10:55 +00:00
sahara-api.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
sahara-base.yaml Merge "DB connection: prevent src address from binding to a VIP" 2017-01-04 16:43:34 +00:00
sahara-engine.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
services.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
snmp.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
swift-base.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
swift-proxy.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
swift-ringbuilder.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
swift-storage.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
tripleo-firewall.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
tripleo-packages.yaml Adds a step0 for pre upgrade-init checks 2017-01-13 12:34:57 +00:00
zaqar.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00

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.