Execution
Date
14 Dec 2025 10:21:40 +0000
Duration
00:43:55.98
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.13.5
Summary
13
Hosts
2438
Tasks
2413
Results
107
Plays
511
Files
0
Records
File: /home/zuul/src/opendev.org/openstack/openstack-ansible-ceph_client/defaults/main.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | --- # Copyright 2015, Serge van Ginderachter <serge@vanginderachter.be> # Copyright 2016 IBM Corp # # 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. # Set the package install state for distribution packages # Options are 'present' and 'latest' ceph_client_package_state: "{{ package_state | default('latest') }}" # to use Ceph in OSA, you need to # - have the needed pools and a client user (for glance, cinder and/or nova) # pre-provisioned in your ceph cluster; OSA assumes to have root access to # the monitor hosts # - configure / overrules following defaults in osa's user config # - some ceph specific vars are (also) part of other role defaults: # * glance # * nova # - cinder gets configured with ceph if there are cinder backends defined with # the rbd driver (see openstack_user_config.yml.example) # The ceph_pkg_source variable controls the install source for the Ceph packages. # Valid values include: # * ceph This option installs Ceph from a ceph.com repo. Additional variables to # adjust items such as Ceph release and regional download mirror can be found # in vars/*.yml # # * distro This options installs Ceph from the operating system's default repository and # unlike the other options does not attempt to manage package keys or add additional # package repositories. ceph_pkg_source: ceph ceph_stable_release: reef ceph_apt_pinned_packages: - package: "*" release: "ceph.com" priority: 1001 ceph_repo_url_region: "download" # see here for other mirros http://docs.ceph.com/docs/master/install/mirrors/ ceph_repo_url: https://{{ ceph_repo_url_region }}.ceph.com/{{ _ceph_repo_distro_suffix }}-{{ ceph_stable_release }} ceph_repos: "{{ _ceph_repos }}" # Mappings from Ansible reported architecture to distro release architecture ceph_architecture_mapping: x86_64: amd64 ppc64le: ppc64el s390x: s390x armv7l: armhf aarch64: arm64 # Ceph Authentication cephx: true # Ceph Monitors # A list of the IP addresses for your Ceph monitors ceph_mons: [] # Name of ceph cluster that we interact with. # It would affect config file name and commands issued to the cluster. ceph_cluster_name: ceph # Path to local ceph.conf file # Leave this commented to obtain a ceph.conf from one of the monitors defined in ceph_mons # ceph_conf_file: | # [global] # fsid = 4037aa5f-abde-4378-9470-f73dbd6ceaba # mon_initial_members = mon1.example.local,mon2.example.local,mon3.example.local # mon_host = 10.16.5.40,10.16.5.41,10.16.5.42 # auth_cluster_required = cephx # auth_service_required = cephx # auth_client_required = cephx # Path to local keyrings directory # If you want to provide keyrings from existing files, because you do not have ssh access to the monitors # set the path to the repository containing the keyrings files. # ie : ceph_keyrings_dir: /etc/openstack_deploy/ceph-conf # The filenames inside the keyring directory must be in the structure of client-name.keyring # ie: /etc/openstack_deploy/ceph-conf # cinder.keyring # glance.keyring # etc.. # ceph_keyrings_dir: "/etc/openstack/ceph-keyrings" # Ceph client usernames for glance, cinder+nova, gnocchi and object cache glance_ceph_client: glance cinder_ceph_client: cinder manila_ceph_client: manila cinder_backup_ceph_client: cinder-backup gnocchi_ceph_client: gnocchi immutable_object_cache_client: immutable-object-cache # Defenition of components for which Ceph should be installed # and keyrings provisioned. # Example: # - component: gnocchi_api # package: # - "{{ python_ceph_package }}" # client: # - name: "{{ gnocchi_ceph_client }}" # service: "{{ ceph_gnocchi_service_names }}" ceph_components: "{{ _ceph_components }}" ceph_extra_components: [] # by default we assume you use rbd for both cinder and nova, and as libvirt # needs to access both volumes (cinder) as boot disks (nova) we default to # reuse the cinder_ceph_client # only need to change this if you'd use ceph for boot disks and not for volumes nova_ceph_client: "{{ cinder_ceph_client }}" # overruled in user_secrets: # nova_ceph_client_uuid: cephkeys_access_group: ceph openstack_service_system_user: ceph_cinder_backup_enabled: >- {{ (cinder_service_backup_program_enabled is defined and cinder_service_backup_program_enabled | bool) and (cinder_service_backup_driver is defined and 'ceph' in cinder_service_backup_driver) }} ceph_cinder_service_names: - cinder-volume - cinder-backup ceph_nova_service_names: - nova-compute ceph_manila_service_names: - manila-api - manila-data - manila-share ceph_glance_service_names: - glance-api ceph_gnocchi_service_names: - gnocchi-api - gnocchi-metricd ceph_extra_auth_groups: "{{ ceph_extra_config_groups }}" ceph_extra_config_groups: - cinder_backup - cinder_volume ceph_extra_compute_group: nova_compute ceph_client_ceph_conf_overrides: "{{ ceph_conf_overrides | default({}) }}" # CentOS repos ceph_centos_epel_mirror: "{{ centos_epel_mirror | default('http://download.fedoraproject.org/pub/epel') }}" ceph_centos_epel_key: >- {{ centos_epel_key | default('http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-' ~ ansible_facts['distribution_major_version']) }} # Immutible object cache - caches a read-only base layer of rbd volumes ceph_immutable_object_cache_enabled: false ceph_immutable_object_cache_service_name: "ceph-immutable-object-cache@" ceph_immutable_object_cache_dir: "/ceph-immutable-object-cache" ceph_immutable_object_cache_socket: "/run/ceph/immutable_object_cache_sock" ceph_immutable_object_cache_umask: "0002" ceph_immutable_object_cache_owner: "ceph" ceph_immutable_object_cache_group: "libvirt-qemu" ceph_immutable_object_cache_mode: "0775" ceph_immutable_object_cache_key_owner: "{{ ceph_immutable_object_cache_owner }}" ceph_immutable_object_cache_key_group: "{{ ceph_immutable_object_cache_group }}" ceph_persistent_write_log_cache_enabled: false ceph_persistent_write_log_cache_dir: "/rbd-write-log-cache" ceph_persistent_write_log_cache_owner: "libvirt-qemu" ceph_persistent_write_log_cache_group: "ceph" ceph_persistent_write_log_cache_mode: "0775" |