107 lines
3.5 KiB
YAML
107 lines
3.5 KiB
YAML
- id: primary-openstack-cinder
|
|
type: puppet
|
|
version: 2.2.0
|
|
tags: [primary-controller]
|
|
required_for: [deploy_end, primary-openstack-controller]
|
|
requires: [primary-keystone, hosts, firewall]
|
|
cross-depends:
|
|
- name: /^(primary-)?keystone$/
|
|
- name: hosts
|
|
role: self
|
|
- name: firewall
|
|
role: self
|
|
- name: /^(primary-)?rabbitmq$/
|
|
- name: cinder-db
|
|
- name: cinder-keystone
|
|
cross-depended-by:
|
|
- name: primary-openstack-controller
|
|
role: self
|
|
- name: deploy_end
|
|
role: self
|
|
condition:
|
|
yaql_exp: &cinder >
|
|
changedAny($.network_scheme, $.cinder, $.network_metadata.vips,
|
|
$.get('cinder_volume_group'), $.storage, $.ceilometer, $.sahara,
|
|
$.rabbit, $.get('region', 'RegionOne'), $.get('use_ssl'),
|
|
('primary-controller' in $.roles), $.get('proxy_port'),
|
|
$.get('kombu_compression'), $.get('keystone_endpoint'),
|
|
$.get('glance_endpoint'), $.get('glance_api_servers'),
|
|
$.get('use_syslog'), $.get('use_stderr'), $.debug,
|
|
$.network_metadata.nodes.values().where(
|
|
$.node_roles.any($.matches('(controller|rabbitmq)'))).network_roles.select(
|
|
$.get('mgmt/messaging')),
|
|
$.get('amqp_hosts'), $.get('syslog_log_facility_cinder'),
|
|
$.get('cinder_rate_limits'), $.get('keystone_api', 'v3'),
|
|
$.configuration.get('cinder_api_paste_ini'), $.configuration.get('cinder') )
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/openstack_tasks/examples/openstack-cinder/openstack-cinder.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1200
|
|
|
|
- id: openstack-cinder
|
|
type: puppet
|
|
version: 2.2.0
|
|
tags: [controller]
|
|
required_for: [deploy_end, openstack-controller]
|
|
requires: [keystone, hosts, firewall]
|
|
cross-depends:
|
|
- name: /^(primary-)?keystone$/
|
|
- name: /^(primary-)?rabbitmq$/
|
|
- name: primary-openstack-cinder
|
|
condition:
|
|
yaql_exp: *cinder
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/openstack_tasks/examples/openstack-cinder/openstack-cinder.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1200
|
|
|
|
- id: cinder-db
|
|
type: puppet
|
|
version: 2.2.0
|
|
tags: [primary-database]
|
|
required_for: [primary-openstack-cinder]
|
|
requires: [primary-database, database]
|
|
cross-depends:
|
|
- name: /^(primary-)?database$/
|
|
condition:
|
|
yaql_exp: >
|
|
changedAny($.cinder, $.mysql, $.network_metadata.vips,
|
|
$.get('mysql_custom_setup_class'))
|
|
cross-depends:
|
|
- name: /^(primary-)?database$/
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/openstack_tasks/examples/openstack-cinder/db.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1800
|
|
|
|
- id: cinder-keystone
|
|
type: puppet
|
|
version: 2.2.0
|
|
tags: [primary-keystone]
|
|
required_for: [primary-openstack-cinder]
|
|
requires: [primary-keystone, keystone]
|
|
cross-depends:
|
|
- name: /^(primary-)?keystone$/
|
|
role: self
|
|
condition:
|
|
yaql_exp: >
|
|
changedAny($.cinder, $.public_ssl, $.get('use_ssl'),
|
|
$.network_metadata.vips, $.get('region', 'RegionOne'))
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/openstack_tasks/examples/openstack-cinder/keystone.pp
|
|
puppet_modules: /etc/puppet/modules/
|
|
timeout: 1800
|
|
|
|
- id: create-cinder-types
|
|
type: puppet
|
|
version: 2.1.0
|
|
groups: [primary-controller]
|
|
requires: [primary-openstack-cinder]
|
|
required_for: [deploy_end]
|
|
condition:
|
|
yaql_exp: "changed($.storage)"
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/openstack_tasks/examples/openstack-cinder/create_cinder_types.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1200
|