Files
Dmitriy Rabotyagov 8d14b50fb2 Disable global_id_reclaim for Ceph
Add default override to ceph.conf to disable global id reclaim. Leaving
this enabled raises a warning in ceph health.

Change-Id: I59505018824a0658c53044daad96064be9d9617a
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2026-05-20 16:51:58 +02:00

91 lines
2.8 KiB
YAML

---
# Copyright 2017, Ravi Kumar Boyapati <rboyapat@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ceph default list of bind mounts
ceph_container_bind_mounts:
- bind_dir_path: "/var/lib/ceph"
mount_path: "/openstack/{{ inventory_hostname }}"
ceph_conf_overrides_generic:
global:
auth_allow_insecure_global_id_reclaim: false
ceph_conf_overrides_log:
global:
log_to_syslog: true
err_to_syslog: true
mon:
mon_cluster_log_to_syslog: true
ceph_conf_overrides_manila:
client.manila:
"client mount gid": 0
"client mount uid": 0
# To extend ceph_conf_overrides use the ceph_conf_overrides_custom which will
# combine any ceph_conf_overrides with other RGW specific overrides.
ceph_conf_overrides_custom: {}
ceph_conf_overrides: >-
{{
(ceph_conf_overrides_rgw | default({})) | combine(
ceph_conf_overrides_manila, recursive=true) | combine(
ceph_conf_overrides_custom, recursive=true) | combine(
ceph_conf_overrides_log, recursive=true) | combine(
ceph_conf_overrides_generic, recursive=true)
}}
# Disable the NFS gateway PPA and package install by default as it is not
# needed.
nfs_file_gw: "{{ (('ceph_nfs' in groups) and ('ceph_mds' in groups)) }}"
nfs_obj_gw: false
nfs_ganesha_stable: true
nfs_ganesha_stable_deb_repo: http://ppa.launchpad.net/nfs-ganesha/nfs-ganesha-5/ubuntu
libntirpc_stable_deb_repo: http://ppa.launchpad.net/nfs-ganesha/libntirpc-5/ubuntu
# NTP in an OSA environment is handled by ansible-hardening using chrony
# ceph-ansible's default enabling of ntpd conflicts with the OSA defaults
ntp_service_enabled: false
dashboard_enabled: true
openstack_glance_pool:
name: "images"
application: "rbd"
openstack_cinder_pool:
name: "volumes"
application: "rbd"
openstack_nova_pool:
name: "vms"
application: "rbd"
openstack_cinder_backup_pool:
name: "backups"
application: "rbd"
openstack_gnocchi_pool:
name: "metrics"
application: "rbd"
openstack_cephfs_data_pool:
name: "manila_data"
application: "cephfs"
openstack_cephfs_metadata_pool:
name: "manila_metadata"
application: "cephfs"
openstack_pools:
- "{{ openstack_glance_pool }}"
- "{{ openstack_cinder_pool }}"
- "{{ openstack_nova_pool }}"
- "{{ openstack_cinder_backup_pool }}"
- "{{ openstack_gnocchi_pool }}"
- "{{ openstack_cephfs_data_pool }}"
- "{{ openstack_cephfs_metadata_pool }}"