Execution
Date
08 Dec 2025 13:39:52 +0000
Duration
00:35:02.03
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.12.3
Summary
2
Hosts
1377
Tasks
1365
Results
104
Plays
504
Files
0
Records
File: /home/zuul/src/opendev.org/openstack/openstack-ansible-os_manila/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 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 | --- # Copyright 2019, Rackspace US, Inc. # # 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' manila_package_state: "{{ package_state | default('latest') }}" # Set the host which will execute the shade modules # for the service setup. The host must already have # clouds.yaml properly configured. manila_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}" manila_service_setup_host_python_interpreter: >- {{ openstack_service_setup_host_python_interpreter | default( (manila_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} # Set installation method. manila_install_method: "{{ service_install_method | default('source') }}" manila_venv_python_executable: "{{ openstack_venv_python_executable | default('python3') }}" manila_git_repo: https://opendev.org/openstack/manila manila_git_install_branch: master manila_upper_constraints_url: >- {{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }} manila_git_constraints: - "--constraint {{ manila_upper_constraints_url }}" manila_pip_install_args: "{{ pip_install_options | default('') }}" # Name of the virtual env to deploy into manila_venv_tag: "{{ venv_tag | default('untagged') }}" manila_bin: "{{ _manila_bin }}" # Enable/Disable Ceilometer manila_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}" manila_storage_availability_zone: nova manila_default_availability_zone: "{{ manila_storage_availability_zone }}" manila_management_address: 127.0.0.1 manila_uwsgi_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" manila_fatal_deprecations: false ## Database info manila_db_setup_host: "{{ openstack_db_setup_host | default('localhost') }}" manila_db_setup_python_interpreter: >- {{ openstack_db_setup_python_interpreter | default( (manila_db_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} manila_galera_address: "{{ galera_address | default('127.0.0.1') }}" manila_galera_user: manila manila_galera_database: manila manila_galera_use_ssl: "{{ galera_use_ssl | default(False) }}" manila_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('') }}" manila_galera_port: "{{ galera_port | default('3306') }}" manila_db_max_overflow: "{{ openstack_db_max_overflow | default('50') }}" manila_db_max_pool_size: "{{ openstack_db_max_pool_size | default('5') }}" manila_db_pool_timeout: "{{ openstack_db_pool_timeout | default('30') }}" manila_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | default('600') }}" ## Oslo Messaging # RPC manila_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}" manila_oslomsg_rpc_setup_host: "{{ (manila_oslomsg_rpc_host_group in groups) | ternary(groups[manila_oslomsg_rpc_host_group][0], 'localhost') }}" manila_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') }}" manila_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}" manila_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}" manila_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}" manila_oslomsg_rpc_userid: manila # vhost name depends on value of oslomsg_rabbit_quorum_queues. In case quorum queues # are not used - vhost name will be prefixed with leading `/`. manila_oslomsg_rpc_vhost: - name: /manila state: "{{ manila_oslomsg_rabbit_quorum_queues | ternary('absent', 'present') }}" - name: manila state: "{{ manila_oslomsg_rabbit_quorum_queues | ternary('present', 'absent') }}" manila_oslomsg_rpc_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}" manila_oslomsg_rpc_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}" manila_oslomsg_rpc_policies: [] # Notify manila_oslomsg_notify_configure: "{{ oslomsg_notify_configure | default(manila_ceilometer_enabled) }}" manila_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}" manila_oslomsg_notify_setup_host: "{{ (manila_oslomsg_notify_host_group in groups) | ternary(groups[manila_oslomsg_notify_host_group][0], 'localhost') }}" manila_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}" manila_oslomsg_notify_servers: "{{ oslomsg_notify_servers | default('127.0.0.1') }}" manila_oslomsg_notify_port: "{{ oslomsg_notify_port | default('5672') }}" manila_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}" manila_oslomsg_notify_userid: "{{ manila_oslomsg_rpc_userid }}" manila_oslomsg_notify_password: "{{ manila_oslomsg_rpc_password }}" manila_oslomsg_notify_vhost: "{{ manila_oslomsg_rpc_vhost }}" manila_oslomsg_notify_ssl_version: "{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}" manila_oslomsg_notify_ssl_ca_file: "{{ oslomsg_notify_ssl_ca_file | default('') }}" manila_oslomsg_notify_policies: [] ## RabbitMQ integration manila_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}" manila_oslomsg_rabbit_stream_fanout: "{{ oslomsg_rabbit_stream_fanout | default(manila_oslomsg_rabbit_quorum_queues) }}" manila_oslomsg_rabbit_transient_quorum_queues: "{{ oslomsg_rabbit_transient_quorum_queues | default(manila_oslomsg_rabbit_stream_fanout) }}" manila_oslomsg_rabbit_qos_prefetch_count: "{{ oslomsg_rabbit_qos_prefetch_count | default(manila_oslomsg_rabbit_stream_fanout | ternary(10, 0)) }}" manila_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(manila_oslomsg_rabbit_quorum_queues) }}" manila_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}" manila_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}" ## Manila User / Group manila_system_user_name: manila manila_system_group_name: manila manila_system_comment: manila system user manila_system_shell: /bin/false manila_system_home_folder: "/var/lib/{{ manila_system_user_name }}" manila_system_slice_name: manila ## Manually specified manila UID/GID # Deployers can specify a UID for the manila user as well as the GID for the # manila group if needed. This is commonly used in environments where shared # storage is used, such as NFS or GlusterFS, and manila UID/GID values must be # in sync between multiple servers. # # WARNING: Changing these values on an existing deployment can lead to # failures, errors, and instability. # # manila_system_user_uid = <UID> # manila_system_group_gid = <GID> manila_lock_dir: "{{ openstack_lock_dir | default('/run/lock') }}" ## Manila Auth manila_service_admin_tenant_name: "service" manila_service_admin_username: "manila" ## Manila API's enabled manila_enable_v2_api: true ## Manila API check cert validation manila_service_internaluri_insecure: false ## Manila api service type and data manila_service_name: manila manila_service_project_domain_id: default manila_service_user_domain_id: default manila_service_user_name: manila manila_service_project_name: service manila_service_role_names: - admin - service manila_service_token_roles: - service manila_service_token_roles_required: "{{ openstack_service_token_roles_required | default(True) }}" manila_service_region: "{{ service_region | default('RegionOne') }}" manila_service_description: "Openstack Shared File Systems" manila_service_port: 8786 manila_service_proto: http manila_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(manila_service_proto) }}" manila_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(manila_service_proto) }}" manila_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(manila_service_proto) }}" manila_service_type: share manila_service_publicuri: "{{ manila_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ manila_service_port }}" manila_service_publicurl: "{{ manila_service_publicuri }}/v1/%(tenant_id)s" manila_service_adminuri: "{{ manila_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ manila_service_port }}" manila_service_adminurl: "{{ manila_service_adminuri }}/v1/%(tenant_id)s" manila_service_internaluri: "{{ manila_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ manila_service_port }}" manila_service_internalurl: "{{ manila_service_internaluri }}/v1/%(tenant_id)s" manila_service_v2_name: manilav2 manila_service_v2_port: 8786 manila_service_v2_proto: http manila_service_v2_type: sharev2 manila_service_v2_description: "Openstack Shared File Systems V2" manila_service_v2_publicuri: "{{ manila_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ manila_service_port }}" manila_service_v2_publicurl: "{{ manila_service_publicuri }}/v2/%(tenant_id)s" manila_service_v2_adminuri: "{{ manila_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ manila_service_port }}" manila_service_v2_adminurl: "{{ manila_service_adminuri }}/v2/%(tenant_id)s" manila_service_v2_internaluri: "{{ manila_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ manila_service_port }}" manila_service_v2_internalurl: "{{ manila_service_internaluri }}/v2/%(tenant_id)s" ## Keystone authentication middleware manila_keystone_auth_plugin: "{{ manila_keystone_auth_type }}" manila_keystone_auth_type: password ## In order to enable the manila data you MUST set ``manila_service_data_program_enabled`` to "true" manila_service_data_program_enabled: false ## Cap the maximun number of threads / workers when a user value is unspecified. manila_osapi_share_workers_max: 16 manila_osapi_share_workers: >- {{ [[(ansible_facts['processor_vcpus'] // ansible_facts['processor_threads_per_core']) | default(1), 1] | max * 2, manila_osapi_share_workers_max] | min }} ## Manila RPC manila_rpc_executor_thread_pool_size: 64 manila_rpc_response_timeout: 60 # osprofiler manila_profiler_enabled: false # manila_profiler_hmac_key is set in user_secrets.yml manila_profiler_trace_sqlalchemy: false ## Manila quota manila_quota_shares: 50 manila_quota_snapshots: 50 manila_quota_gigabytes: 1000 manila_quota_snapshot_gigabytes: 1000 manila_quota_share_networks: 10 ## General configuration # manila_backends: # lvm: # share_backend_name: LVM # share_driver: manila.share.drivers.lvm.LVMShareDriver # driver_handles_share_servers: False # lvm_share_volume_group: manila_shares # lvm_share_export_ips: <server-ip> manila_backends: {} manila_enabled_share_protocols: - NFS - CEPHFS manila_default_share_type: "{{ _manila_default_share_type | default('') }}" manila_share_name_template: share-%s # manila_backend_lvm_inuse: True if current host has an lvm backend manila_backend_lvm_inuse: "{{ (manila_backends | to_json).find('lvm') != -1 }}" # manila_backend_rbd_inuse: True if the current host has an rbd backend manila_backend_rbd_inuse: "{{ (manila_backends | to_json).find('manila.share.drivers.cephfs') != -1 }}" ## Policy vars # Provide a list of access controls to update the default policy.json with. These changes will be merged # with the access controls in the default policy.json. E.g. # manila_policy_overrides: # "share:create": "" # "share:delete": "" manila_service_in_ldap: "{{ service_ldap_backend_enabled | default(False) }}" # Common pip packages manila_pip_packages: - "git+{{ manila_git_repo }}@{{ manila_git_install_branch }}#egg=manila" - cryptography - ecdsa - httplib2 - keystonemiddleware - osprofiler - PyMySQL - pymemcache - python-memcached - systemd-python # Memcached override manila_memcached_servers: "{{ memcached_servers }}" manila_user_pip_packages: [] manila_api_init_overrides: {} manila_scheduler_init_overrides: {} manila_share_init_overrides: {} manila_data_init_overrides: {} ## Service Name-Group Mapping manila_services: manila-scheduler: group: manila_scheduler service_name: manila-scheduler init_config_overrides: "{{ manila_scheduler_init_overrides }}" start_order: 1 execstarts: "{{ manila_bin }}/manila-scheduler" execreloads: "/bin/kill -HUP $MAINPID" manila-share: group: manila_share service_name: manila-share init_config_overrides: "{{ manila_share_init_overrides }}" start_order: 2 execstarts: "{{ manila_bin }}/manila-share" execreloads: "/bin/kill -HUP $MAINPID" manila-data: group: manila_share service_name: manila-data init_config_overrides: "{{ manila_data_init_overrides }}" start_order: 3 execstarts: "{{ manila_bin }}/manila-data" execreloads: "/bin/kill -HUP $MAINPID" manila-api: group: manila_api service_name: manila-api init_config_overrides: "{{ manila_api_init_overrides }}" start_order: 4 wsgi_app: true wsgi: "manila.wsgi.api:application" uwsgi_overrides: "{{ manila_api_uwsgi_ini_overrides }}" uwsgi_port: "{{ manila_service_port }}" uwsgi_bind_address: "{{ manila_uwsgi_bind_address }}" uwsgi_tls: "{{ manila_backend_ssl | ternary(manila_uwsgi_tls, {}) }}" # Manila uWSGI settings manila_wsgi_processes_max: 16 manila_wsgi_processes: "{{ [[ansible_facts['processor_vcpus'] | default(1), 1] | max * 2, manila_wsgi_processes_max] | min }}" manila_wsgi_threads: 1 manila_wsgi_buffer_size: 65535 manila_uwsgi_tls: crt: "{{ manila_ssl_cert }}" key: "{{ manila_ssl_key }}" ## Tunable overrides manila_policy_overrides: {} manila_rootwrap_conf_overrides: {} manila_api_paste_ini_overrides: {} manila_manila_conf_overrides: {} manila_api_uwsgi_ini_overrides: {} # Manila keypair # # The following path ontains the keypair which will be used for SSH. It requires that # the same file with a trailing .pub exists as well if using an existing key. If this # is set and a key cannot be found it will generate one. # # manila_keypair_path: /etc/openstack_deploy/id_rsa ### ### Backend TLS ### # Define if communication between haproxy and service backends should be # encrypted with TLS. manila_backend_ssl: "{{ openstack_service_backend_ssl | default(False) }}" # Storage location for SSL certificate authority manila_pki_dir: "{{ openstack_pki_dir | default('/etc/openstack_deploy/pki') }}" # Delegated host for operating the certificate authority manila_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}" # manila server certificate manila_pki_keys_path: "{{ manila_pki_dir ~ '/certs/private/' }}" manila_pki_certs_path: "{{ manila_pki_dir ~ '/certs/certs/' }}" manila_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}" manila_pki_regen_cert: "" manila_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}" manila_pki_certificates: - name: "manila_{{ ansible_facts['hostname'] }}" provider: ownca cn: "{{ ansible_facts['hostname'] }}" san: "{{ manila_pki_san }}" signed_by: "{{ manila_pki_intermediate_cert_name }}" # manila destination files for SSL certificates manila_ssl_cert: /etc/manila/manila.pem manila_ssl_key: /etc/manila/manila.key # Installation details for SSL certificates manila_pki_install_certificates: - src: "{{ manila_user_ssl_cert | default(manila_pki_certs_path ~ 'manila_' ~ ansible_facts['hostname'] ~ '-chain.crt') }}" dest: "{{ manila_ssl_cert }}" owner: "{{ manila_system_user_name }}" group: "{{ manila_system_user_name }}" mode: "0644" - src: "{{ manila_user_ssl_key | default(manila_pki_keys_path ~ 'manila_' ~ ansible_facts['hostname'] ~ '.key.pem') }}" dest: "{{ manila_ssl_key }}" owner: "{{ manila_system_user_name }}" group: "{{ manila_system_user_name }}" mode: "0600" # Define user-provided SSL certificates # manila_user_ssl_cert: <path to cert on ansible deployment host> # manila_user_ssl_key: <path to cert on ansible deployment host> |