tripleo-heat-templates/puppet/services
Jenkins db45116afd Merge "Manage disallow_iframe_embed" 2016-12-23 11:29:14 +00:00
..
database Merge "Use network-based fqdn entry from hiera instead of the custom fact" 2016-12-02 09:40:36 +00:00
logging restore missing fluentd client functionality 2016-10-05 13:39:06 -04:00
monitoring Use correct type for SensuRedactVariables parameter 2016-11-28 14:19:59 +01:00
network add composable services for Contrail 2016-09-05 20:44:30 +02:00
pacemaker Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
time Fix NTP servers hieradata 2016-09-27 16:11:10 +02:00
README.rst Add hook to generate metadata from service profiles 2016-12-22 10:06:17 +00:00
aodh-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
aodh-base.yaml telemetry: remove coordination_url hiera settings 2016-09-30 09:48:56 -04:00
aodh-evaluator.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
aodh-listener.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
aodh-notifier.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
apache-internal-tls-certmonger.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
apache.yaml Generate internal TLS hieradata for apache services 2016-10-20 12:22:42 +03:00
barbican-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
ca-certs.yaml Add deployment of CAs via hieradata 2016-08-22 18:10:26 +03:00
ceilometer-agent-central.yaml telemetry: remove coordination_url hiera settings 2016-09-30 09:48:56 -04:00
ceilometer-agent-compute.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
ceilometer-agent-notification.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
ceilometer-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
ceilometer-base.yaml Set the default event pipeline publisher 2016-12-20 10:37:14 -05:00
ceilometer-collector.yaml Move db::mysql into service_config_settings 2016-09-28 07:01:49 -04:00
ceilometer-expirer.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
ceph-base.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
ceph-client.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
ceph-external.yaml Do not manage overcloud repositories when using external Ceph 2016-11-16 10:42:29 +00:00
ceph-mon.yaml Enable Glance multiple locations when using Ceph 2016-10-13 22:47:07 +02:00
ceph-osd.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
ceph-rgw.yaml ceph-rgw: add missing user parameter 2016-12-01 12:16:06 -05:00
cinder-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
cinder-backup.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
cinder-base.yaml Cinder volume service is not managed by Pacemaker on BlockStorage 2016-09-29 17:57:40 +02:00
cinder-scheduler.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
cinder-volume.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
glance-api.yaml Allow Glance API and Registry to be split 2016-10-12 08:10:02 -04:00
glance-base.yaml Re-add NFS backend for Glance 2016-10-21 16:22:40 +02:00
glance-registry.yaml Allow Glance API and Registry to be split 2016-10-12 08:10:02 -04:00
gnocchi-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
gnocchi-base.yaml telemetry: remove coordination_url hiera settings 2016-09-30 09:48:56 -04:00
gnocchi-metricd.yaml Add metricd workers support in gnocchi 2016-09-26 09:28:20 +02:00
gnocchi-statsd.yaml gnocchi statsd should be able to send data to port 8125 2016-11-01 16:11:28 -04:00
haproxy-internal-tls-certmonger.yaml Add HAProxy TLS handled by certmonger as composable service 2016-09-29 17:15:13 +00:00
haproxy-public-tls-certmonger.yaml Add HAProxy TLS handled by certmonger as composable service 2016-09-29 17:15:13 +00:00
haproxy.yaml Initial support for composable upgrades with Heat+Ansible 2016-12-01 13:40:50 +00:00
heat-api-cfn.yaml Ensure heat-domain hiera is in nodes that contain keystone 2016-11-07 16:59:20 +00:00
heat-api-cloudwatch.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
heat-api.yaml Ensure heat-domain hiera is in nodes that contain keystone 2016-11-07 16:59:20 +00:00
heat-base.yaml Ensure heat-domain hiera is in nodes that contain keystone 2016-11-07 16:59:20 +00:00
heat-engine.yaml Use keystone profile parameter to pass heat password 2016-11-16 08:32:26 +02:00
horizon.yaml Merge "Manage disallow_iframe_embed" 2016-12-23 11:29:14 +00:00
ironic-api.yaml Move db::mysql into service_config_settings 2016-09-28 07:01:49 -04:00
ironic-base.yaml Move db::mysql into service_config_settings 2016-09-28 07:01:49 -04:00
ironic-conductor.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
keepalived.yaml Initial support for composable upgrades with Heat+Ansible 2016-12-01 13:40:50 +00:00
kernel.yaml Defaults kernel.pid_max to 1048576 2016-11-04 11:12:43 +01:00
keystone.yaml Merge "Use network-based fqdn entry from hiera instead of the custom fact" 2016-12-02 09:40:36 +00:00
manila-api.yaml Add firewall rules for manila api service 2016-11-09 14:09:44 -05:00
manila-backend-cephfs.yaml Remove unneeded *_enable_backend hiera from Manila backends 2016-10-07 13:58:53 +02:00
manila-backend-generic.yaml Remove unneeded *_enable_backend hiera from Manila backends 2016-10-07 13:58:53 +02:00
manila-backend-netapp.yaml Remove unneeded *_enable_backend hiera from Manila backends 2016-10-07 13:58:53 +02:00
manila-base.yaml Move db settings from manila-api to manila-base 2016-11-04 16:27:08 -05:00
manila-scheduler.yaml Move db settings from manila-api to manila-base 2016-11-04 16:27:08 -05:00
manila-share.yaml Move db settings from manila-api to manila-base 2016-11-04 16:27:08 -05:00
memcached.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
mistral-api.yaml Composable Mistral services 2016-10-21 08:07:08 -04:00
mistral-base.yaml Revert "Switch mistral to use authtoken configuration" 2016-12-19 20:34:46 +00:00
mistral-engine.yaml Composable Mistral services 2016-10-21 08:07:08 -04:00
mistral-executor.yaml Composable Mistral services 2016-10-21 08:07:08 -04:00
neutron-api.yaml Remove conditional for neutron l3_ha 2016-11-17 18:14:35 +00:00
neutron-base.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
neutron-compute-plugin-midonet.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-compute-plugin-nuage.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-compute-plugin-opencontrail.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-compute-plugin-ovn.yaml OVN heat templates 2016-09-01 16:06:38 -04:00
neutron-compute-plugin-plumgrid.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-dhcp.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
neutron-l3-compute-dvr.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
neutron-l3.yaml neutron: don't set router_delete_namespaces 2016-12-06 22:03:18 +00:00
neutron-metadata.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
neutron-midonet.yaml Availability monitoring agents support 2016-08-31 09:22:59 -04:00
neutron-ovs-agent.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
neutron-ovs-dpdk-agent.yaml Modify the constraint to allow single quote for DPDK core list param 2016-10-14 16:46:50 +05:30
neutron-plugin-ml2-ovn.yaml OVN heat templates 2016-09-01 16:06:38 -04:00
neutron-plugin-ml2.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
neutron-plugin-nuage.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-plugin-opencontrail.yaml Fix api_extensions_path in neutron-opencontrail environment 2016-10-18 00:45:01 +02:00
neutron-plugin-plumgrid.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
neutron-sriov-agent.yaml Correction to SRIOV THT Examples 2016-12-08 14:59:16 +05:30
nova-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
nova-base.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
nova-compute.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
nova-conductor.yaml Only set NovaWorkers in the non-default case 2016-10-12 14:17:54 -04:00
nova-consoleauth.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
nova-ironic.yaml Add DefaultPasswords to composable services 2016-08-18 12:45:30 -04:00
nova-libvirt.yaml nova: add missing vnc console port in firewall 2016-11-03 18:22:21 +00:00
nova-metadata.yaml Only set NovaWorkers in the non-default case 2016-10-12 14:17:54 -04:00
nova-scheduler.yaml Change nova ram_allocation_ratio to match puppet-nova 2016-11-01 11:15:38 +00:00
nova-vnc-proxy.yaml nova: add missing vnc console port in firewall 2016-11-03 18:22:21 +00:00
opendaylight-api.yaml Fixes incorrect reference to OpendaylightApiNetwork 2016-11-07 16:34:45 -05:00
opendaylight-ovs.yaml Adds missing OpenDaylight username/password from ODL OVS service 2016-12-20 13:55:35 -05:00
pacemaker.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
panko-api.yaml Use network-based fqdn entry from hiera instead of the custom fact 2016-12-01 11:18:23 +02:00
panko-base.yaml Remove unused attr from templates 2016-12-06 19:42:39 -05:00
rabbitmq.yaml Set rabbitmq's port and IP via the config file and not the env file 2016-12-14 14:06:21 +02:00
sahara-api.yaml Move db::mysql into service_config_settings 2016-09-28 07:01:49 -04:00
sahara-base.yaml Add Sahara plugins list as a configurable parameter 2016-11-02 14:47:01 +01:00
sahara-engine.yaml Add fluentd client service 2016-09-17 01:31:12 +00:00
services.yaml Add hook to generate metadata from service profiles 2016-12-22 10:06:17 +00:00
snmp.yaml Move snmp settings into composable services 2016-09-02 07:14:05 -04:00
swift-base.yaml Move Swift hiera settings into composable services 2016-08-25 20:27:11 -04:00
swift-proxy.yaml Decouple swift-proxy from ceilometer 2016-12-11 20:30:09 -05:00
swift-ringbuilder.yaml Add option to disable "d1" Swift device 2016-10-28 08:49:51 +02:00
swift-storage.yaml Fix usage of SwiftRawDisks 2016-10-26 10:09:41 +02:00
tripleo-firewall.yaml Re-enable ManageFirewall by default. 2016-10-06 15:08:53 +00:00
tripleo-packages.yaml Initial support for composable upgrades with Heat+Ansible 2016-12-01 13:40:50 +00:00
zaqar.yaml Composable Zaqar services 2016-11-14 13:06:33 -05: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.