Merge "Cinder volume service is not managed by Pacemaker on BlockStorage"
[apex-tripleo-heat-templates.git] / puppet / services / cinder-base.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Cinder base service. Shared by all Cinder services.
5
6 parameters:
7   CinderPassword:
8     description: The password for the cinder service account, used by cinder-api.
9     type: string
10     hidden: true
11   Debug:
12     default: ''
13     description: Set to True to enable debugging on all services.
14     type: string
15   ServiceNetMap:
16     default: {}
17     description: Mapping of service_name -> network name. Typically set
18                  via parameter_defaults in the resource registry.  This
19                  mapping overrides those in ServiceNetMapDefaults.
20     type: json
21   DefaultPasswords:
22     default: {}
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   RabbitClientPort:
30     default: 5672
31     description: Set rabbit subscriber port, change this if using SSL
32     type: number
33   RabbitClientUseSSL:
34     default: false
35     description: >
36         Rabbit client subscriber parameter to specify
37         an SSL connection to the RabbitMQ host.
38     type: string
39   RabbitPassword:
40     description: The password for RabbitMQ
41     type: string
42     hidden: true
43   RabbitUserName:
44     default: guest
45     description: The username for RabbitMQ
46     type: string
47
48 outputs:
49   role_data:
50     description: Role data for the Cinder base service.
51     value:
52       service_name: cinder_base
53       config_settings:
54         cinder::database_connection:
55           list_join:
56             - ''
57             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
58               - '://cinder:'
59               - {get_param: CinderPassword}
60               - '@'
61               - {get_param: [EndpointMap, MysqlInternal, host]}
62               - '/cinder'
63         cinder::debug: {get_param: Debug}
64         cinder::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
65         cinder::rabbit_userid: {get_param: RabbitUserName}
66         cinder::rabbit_password: {get_param: RabbitPassword}
67         cinder::rabbit_port: {get_param: RabbitClientPort}
68         cinder::rabbit_heartbeat_timeout_threshold: 60
69         cinder::cron::db_purge::destination: '/dev/null'
70         cinder::db::database_db_max_retries: -1
71         cinder::db::database_max_retries: -1