diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/ceph | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/ceph')
-rw-r--r-- | mcp/reclass/classes/system/ceph/client/single.yml | 37 | ||||
-rw-r--r-- | mcp/reclass/classes/system/ceph/radosgw/single.yml | 20 |
2 files changed, 57 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/ceph/client/single.yml b/mcp/reclass/classes/system/ceph/client/single.yml new file mode 100644 index 000000000..6ff7cd8f9 --- /dev/null +++ b/mcp/reclass/classes/system/ceph/client/single.yml @@ -0,0 +1,37 @@ +classes: +- service.ceph.client.single +parameters: + _param: + ceph_auth_client_required: cephx + ceph: + client: + config: + global: + fsid: ${_param:ceph_fsid} + mon_initial_members: ${_param:ceph_mon_initial_members} + mon_host: ${_param:ceph_mon_host} + auth_client_required: ${_param:ceph_auth_client_required} + public_network: ${_param:ceph_public_network} + cluster_network: ${_param:ceph_cluster_network} + osd_fs_mount_options_xfs: rw,noatime + osd_fs_type: xfs + osd: + filestore_xattr_use_omap: True + osd_journal_size: 7500 + mon: + mon_debug_dump_transactions: False + client: + rbd_cache_size: 268435456 + rbd_cache_max_dirty: 134217728 + rbd_cache_max_dirty_age: 5 + rbd_cache: True + # TODO: Configure these keys on cluster level + # keyring: + # images: + # key: + # object: + # key: + # cinder: + # key: + # nova: + # key: diff --git a/mcp/reclass/classes/system/ceph/radosgw/single.yml b/mcp/reclass/classes/system/ceph/radosgw/single.yml new file mode 100644 index 000000000..31bdc7db9 --- /dev/null +++ b/mcp/reclass/classes/system/ceph/radosgw/single.yml @@ -0,0 +1,20 @@ +parameters: + _param: + radosgw_keyring_path: /etc/ceph/ceph.client.radosgw.keyring + ceph: + radosgw: + enabled: true + client: + config: + client.radosgw.gateway: + rgw_keystone_accepted_roles: "_member_, Member, admin, swiftoperator" + keyring: /etc/ceph/ceph.client.radosgw.keyring + rgw_socket_path: /tmp/radosgw.sock + rgw_keystone_revocation_interval: 60 + rgw_keystone_url: ${_param:keystone_service_host}:5000 + rgw_keystone_admin_token: ${_param:keystone_service_token} + host: ${linux:system:name} + rgw_dns_name : ${_param:cluster_domain} + rgw_print_continue: True + rgw_content_length_compat: true + user: www-data |