e970858120
This introduces a few new parameters to the profile class so that users can enable keystone integration of RADOS Gateway. This allows us to fix some ignored profile parameters, and also remove the references from the non-profile manifest to the profile parameters. The rgw_keystone_version parameter is removed by this change. The actual parameter was deprecated[1] and was removed[2] from the rgw class very long ago. [1]85b9d61c40
[2]0377da4e08
Change-Id: I4026d3c2d40ae9b7ed9c3a60529011854b878f89
75 lines
3.2 KiB
YAML
75 lines
3.2 KiB
YAML
---
|
|
######## Ceph
|
|
ceph::profile::params::release: 'nautilus'
|
|
|
|
######## Ceph.conf
|
|
ceph::profile::params::fsid: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
|
ceph::profile::params::authentication_type: 'cephx'
|
|
ceph::profile::params::mon_initial_members: 'first, second'
|
|
ceph::profile::params::mon_host: '10.11.12.2:6789, 10.11.12.3:6789'
|
|
ceph::profile::params::osd_journal_size: '4096'
|
|
ceph::profile::params::osd_max_object_name_len: '256'
|
|
ceph::profile::params::osd_max_object_namespace_len: '64'
|
|
ceph::profile::params::osd_pool_default_pg_num: '200'
|
|
ceph::profile::params::osd_pool_default_pgp_num: '200'
|
|
ceph::profile::params::osd_pool_default_size: '2'
|
|
ceph::profile::params::osd_pool_default_min_size: '1'
|
|
ceph::profile::params::cluster_network: '10.12.13.0/24'
|
|
ceph::profile::params::public_network: '10.11.12.0/24'
|
|
ceph::profile::params::public_addr: '10.11.12.2'
|
|
ceph::profile::params::osd_max_backfills: '1'
|
|
ceph::profile::params::osd_recovery_max_active: '1'
|
|
ceph::profile::params::osd_recovery_op_priority: '1'
|
|
ceph::profile::params::osd_recovery_max_single_start: '1'
|
|
ceph::profile::params::osd_max_scrubs: '1'
|
|
ceph::profile::params::osd_op_threads: '2'
|
|
ceph::profile::params::fs_name: 'fs_name'
|
|
ceph::profile::params::fs_metadata_pool: 'metadata_pool'
|
|
ceph::profile::params::fs_data_pool: 'data_pool'
|
|
ceph::profile::params::rgw_user: 'ceph'
|
|
ceph::profile::params::frontend_type: 'beast'
|
|
ceph::profile::params::rgw_frontends: 'beast endpoint=127.0.0.1:8080'
|
|
ceph::profile::params::rgw_swift_url: 'http://127.0.0.1:8080'
|
|
ceph::profile::params::rgw_keystone_integration: true
|
|
ceph::profile::params::rgw_keystone_url: 'http://127.0.0.1:5000'
|
|
ceph::profile::params::rgw_keystone_admin_domain: 'Default'
|
|
ceph::profile::params::rgw_keystone_admin_project: 'services'
|
|
ceph::profile::params::rgw_keystone_admin_user: 'rgwuser'
|
|
ceph::profile::params::rgw_keystone_admin_password: 'secret'
|
|
ceph::profile::params::rgw_swift_public_url: 'http://127.0.0.1:8080/swift/v1'
|
|
ceph::profile::params::rgw_swift_admin_url: 'http://127.0.0.1:8080/swift/v1'
|
|
ceph::profile::params::rgw_swift_internal_url: 'http://127.0.0.1:8080/swift/v1'
|
|
ceph::profile::params::rgw_swift_region: 'RegionOne'
|
|
|
|
######## Keys
|
|
ceph::profile::params::mds_key: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
|
ceph::profile::params::mon_key: 'AQATGHJTUCBqIBAA7M2yafV1xctn1pgr3GcKPg=='
|
|
ceph::profile::params::mgr_key: 'AQASGFDFUHBHDG9SDdsyffV1xgsn1pgr3GcKPg=='
|
|
ceph::profile::params::client_keys:
|
|
'client.admin':
|
|
secret: 'AQBMGHJTkC8HKhAAJ7NH255wYypgm1oVuV41MA=='
|
|
mode: '0600'
|
|
cap_mon: 'allow *'
|
|
cap_osd: 'allow *'
|
|
cap_mds: 'allow *'
|
|
'client.bootstrap-osd':
|
|
secret: 'AQARG3JTsDDEHhAAVinHPiqvJkUi5Mww/URupw=='
|
|
keyring_path: '/var/lib/ceph/bootstrap-osd/ceph.keyring'
|
|
cap_mon: 'allow profile bootstrap-osd'
|
|
'client.bootstrap-mds':
|
|
secret: 'AQCztJdSyNb0NBAASA2yPZPuwXeIQnDJ9O8gVw=='
|
|
keyring_path: '/var/lib/ceph/bootstrap-mds/ceph.keyring'
|
|
cap_mon: 'allow profile bootstrap-mds'
|
|
'client.volumes':
|
|
secret: 'AQA4MPZTOGU0ARAAXH9a0fXxVq0X25n2yPREDw=='
|
|
mode: '0644'
|
|
user: 'root'
|
|
group: 'root'
|
|
cap_mon: 'allow r'
|
|
cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=volumes'
|
|
ceph::profile::params::osds:
|
|
'/dev/sdc':
|
|
journal: '/dev/sdb'
|
|
'/dev/sdd':
|
|
journal: '/dev/sdb'
|