Merge "Add networking-vpp ML2 mechanism driver support"
[apex-tripleo-heat-templates.git] / puppet / services / cinder-base.yaml
1 heat_template_version: pike
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   CinderCronDbPurgeMinute:
48     type: string
49     description: >
50         Cron to move deleted instances to another table - Minute
51     default: '1'
52   CinderCronDbPurgeHour:
53     type: string
54     description: >
55         Cron to move deleted instances to another table - Hour
56     default: '0'
57   CinderCronDbPurgeMonthday:
58     type: string
59     description: >
60         Cron to move deleted instances to another table - Month Day
61     default: '*'
62   CinderCronDbPurgeMonth:
63     type: string
64     description: >
65         Cron to move deleted instances to another table - Month
66     default: '*'
67   CinderCronDbPurgeWeekday:
68     type: string
69     description: >
70         Cron to move deleted instances to another table - Week Day
71     default: '*'
72   CinderCronDbPurgeUser:
73     type: string
74     description: >
75         Cron to move deleted instances to another table - User
76     default: 'keystone'
77   CinderCronDbPurgeAge:
78     type: string
79     description: >
80         Cron to move deleted instances to another table - Age
81     default: '0'
82   CinderCronDbPurgeDestination:
83     type: string
84     description: >
85         Cron to move deleted instances to another table - Log destination
86     default: '/var/log/cinder/cinder-rowsflush.log'
87
88 outputs:
89   role_data:
90     description: Role data for the Cinder base service.
91     value:
92       service_name: cinder_base
93       config_settings:
94         cinder::database_connection:
95           make_url:
96             scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
97             username: cinder
98             password: {get_param: CinderPassword}
99             host: {get_param: [EndpointMap, MysqlInternal, host]}
100             path: /cinder
101             query:
102               read_default_file: /etc/my.cnf.d/tripleo.cnf
103               read_default_group: tripleo
104         cinder::debug: {get_param: Debug}
105         cinder::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
106         cinder::rabbit_userid: {get_param: RabbitUserName}
107         cinder::rabbit_password: {get_param: RabbitPassword}
108         cinder::rabbit_port: {get_param: RabbitClientPort}
109         cinder::rabbit_heartbeat_timeout_threshold: 60
110         cinder::cron::db_purge::destination: '/dev/null'
111         cinder::db::database_db_max_retries: -1
112         cinder::db::database_max_retries: -1
113         cinder::cron::db_purge::minute: {get_param: CinderCronDbPurgeMinute}
114         cinder::cron::db_purge::hour: {get_param: CinderCronDbPurgeHour}
115         cinder::cron::db_purge::monthday: {get_param: CinderCronDbPurgeMonthday}
116         cinder::cron::db_purge::month: {get_param: CinderCronDbPurgeMonth}
117         cinder::cron::db_purge::weekday: {get_param: CinderCronDbPurgeWeekday}
118         cinder::cron::db_purge::user: {get_param: CinderCronDbPurgeUser}
119         cinder::cron::db_purge::age: {get_param: CinderCronDbPurgeAge}
120         cinder::cron::db_purge::destination: {get_param: CinderCronDbPurgeDestination}
121         cinder::glance::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}