1 heat_template_version: ocata
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: The keystone auth secret and db password.
26 description: The cephx key for the radosgw client. Can be created
27 with ceph-authtool --gen-print-key.
31 description: The password for the swift service account, used by the Ceph RGW services.
37 description: Keystone region for endpoint
41 type: ./ceph-base.yaml
43 ServiceNetMap: {get_param: ServiceNetMap}
44 DefaultPasswords: {get_param: DefaultPasswords}
45 EndpointMap: {get_param: EndpointMap}
49 description: Role data for the Ceph RadosGW service.
51 service_name: ceph_rgw
54 - get_attr: [CephBase, role_data, config_settings]
55 - tripleo::profile::base::ceph::rgw::rgw_key: {get_param: CephRgwKey}
56 tripleo::profile::base::ceph::rgw::keystone_admin_token: {get_param: AdminToken}
57 tripleo::profile::base::ceph::rgw::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
58 tripleo::profile::base::ceph::rgw::civetweb_bind_ip: {get_param: [ServiceNetMap, CephRgwNetwork]}
59 tripleo::profile::base::ceph::rgw::civetweb_bind_port: {get_param: [EndpointMap, CephRgwInternal, port]}
60 tripleo::profile::base::ceph::rgw::rgw_keystone_version: v3
61 ceph::profile::params::rgw_keystone_admin_domain: default
62 ceph::profile::params::rgw_keystone_admin_project: service
63 ceph::profile::params::rgw_keystone_admin_user: swift
64 ceph::profile::params::rgw_keystone_admin_password: {get_param: SwiftPassword}
65 tripleo.ceph_rgw.firewall_rules:
67 dport: {get_param: [EndpointMap, CephRgwInternal, port]}
69 include ::tripleo::profile::base::ceph::rgw
70 service_config_settings:
72 ceph::rgw::keystone::auth::public_url: {get_param: [EndpointMap, CephRgwPublic, uri]}
73 ceph::rgw::keystone::auth::internal_url: {get_param: [EndpointMap, CephRgwInternal, uri]}
74 ceph::rgw::keystone::auth::admin_url: {get_param: [EndpointMap, CephRgwAdmin, uri]}
75 ceph::rgw::keystone::auth::region: {get_param: KeystoneRegion}
76 ceph::rgw::keystone::auth::roles: [ 'admin', 'member', '_member_' ]
77 ceph::rgw::keystone::auth::tenant: service
78 ceph::rgw::keystone::auth::user: swift
79 ceph::rgw::keystone::auth::password: {get_param: SwiftPassword}
81 - name: Gather RGW instance ID
83 shell: hiera -c /etc/puppet/hiera.yaml ceph::profile::params::rgw_name radosgw.gateway
86 shell: /usr/bin/systemctl show ceph-radosgw@{{rgw_id.stdout}} --property ActiveState | grep '\bactive\b'
87 tags: step0,validation
88 - name: Stop RGW instance
91 name: ceph-radosgw@{{rgw_id.stdout}}