{"id":475,"sha1":"4a8e41a5804190769f6116c1feb39f9097fbe2e8","playbook":{"id":4,"items":{"plays":107,"tasks":2438,"results":2413,"hosts":13,"files":511,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":null,"remote_user":null,"connection":"openstack.osa.ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":true,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/dynamic_inventory.py","/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/inventory.ini","/etc/openstack_deploy/inventory.ini"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":4,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["setup-openstack.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-14T10:21:40.790759Z","ended":"2025-12-14T11:05:36.775743Z","duration":"00:43:55.984984","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.13.5","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2017, Rackspace US, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n_cinder_is_first_api_play_host: >-\n  {{\n    (cinder_services['cinder-api']['group'] in group_names and\n    inventory_hostname == (groups[cinder_services['cinder-api']['group']] | select('in', ansible_play_hosts)) | first) | bool\n  }}\n_cinder_is_first_play_host: >-\n  {{\n    (cinder_services['cinder-scheduler']['group'] in group_names and\n    inventory_hostname == (groups[cinder_services['cinder-scheduler']['group']] | select('in', ansible_play_hosts)) | first) | bool\n  }}\n_cinder_is_last_play_host: >-\n  {{\n    (cinder_services['cinder-api']['group'] in group_names and\n    inventory_hostname == (groups[cinder_services['cinder-api']['group']] | select('in', ansible_play_hosts)) | last) | bool\n  }}\n\n_cinder_rootwrap_conf_overrides:\n  DEFAULT:\n    filters_path: \"/etc/cinder/rootwrap.d,/usr/share/cinder/rootwrap\"\n    exec_dirs: \"{{ cinder_bin }},/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin\"\n\n_cinder_oslomsg_rpc_vhost_conf: >-\n  {{\n    (cinder_oslomsg_rpc_vhost is string) | ternary(cinder_oslomsg_rpc_vhost, cinder_oslomsg_rpc_vhost | selectattr(\n      'state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n_cinder_oslomsg_notify_vhost_conf: >-\n  {{\n    (cinder_oslomsg_notify_vhost is string) | ternary(cinder_oslomsg_notify_vhost, cinder_oslomsg_notify_vhost | selectattr(\n      'state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n\n#\n# Compile a list of the services on a host based on whether\n# the host is in the host group and the service is enabled.\n# The service list is provided in the defined start order.\n#\nfiltered_cinder_services: |-\n  {% set services = [] %}\n  {% for key, value in cinder_services.items() %}\n  {%   if (value['group'] in group_names) and\n          (('condition' not in value) or\n           ('condition' in value and value['condition'])) and\n           not ('wsgi_app' in value and value['wsgi_app']) %}\n  {%     set _ = value.update(\n            {\n              'service_key': key,\n              'enabled': value['enabled'] | default(True),\n              'state': value['state'] | default('started'),\n              'config_overrides': cinder_environment_overrides | combine(value.init_config_overrides, recursive=True)\n            }\n          ) %}\n  {%     set _ = value.pop('init_config_overrides') -%}\n  {%     set _ = services.append(value) %}\n  {%   endif %}\n  {% endfor %}\n  {{ services | sort(attribute='start_order') }}\n\nuwsgi_cinder_services: |-\n  {% set services = {} %}\n  {% for key, value in cinder_services.items() %}\n  {%   if (value['group'] in group_names) and\n         (('condition' not in value) or ('condition' in value and value['condition']))\n         and ('wsgi_app' in value and value['wsgi_app']) %}\n  {%     set _ = value.update(\n            {\n             'wsgi_venv': ((cinder_install_method == 'source') | ternary(cinder_bin | dirname, None)),\n             'uwsgi_uid': cinder_system_user_name,\n             'uwsgi_guid': cinder_system_group_name,\n             'uwsgi_processes': cinder_wsgi_processes,\n             'uwsgi_threads': cinder_wsgi_threads\n           }\n         ) %}\n  {%     set _ = services.update({key: value}) %}\n  {%   endif %}\n  {% endfor %}\n  {{ services }}\n\ncinder_core_files:\n  - tmp_f: \"/tmp/api-paste.ini\"\n    target_f: \"/etc/cinder/api-paste.ini\"\n    config_overrides: \"{{ cinder_api_paste_ini_overrides }}\"\n    config_type: \"ini\"\n  - tmp_f: \"/tmp/rootwrap.conf\"\n    target_f: \"/etc/cinder/rootwrap.conf\"\n    config_overrides: \"{{ _cinder_rootwrap_conf_overrides | combine(cinder_rootwrap_conf_overrides, recursive=True) }}\"\n    config_type: \"ini\"\n    owner: \"root\"\n    group: \"{{ cinder_system_group_name }}\"\n    mode: \"0640\"\n  - tmp_f: \"/tmp/resource_filters.json\"\n    target_f: \"/etc/cinder/resource_filters.json\"\n    config_overrides: \"{{ cinder_resource_filters_overrides }}\"\n    config_type: \"json\"\n    owner: \"root\"\n    group: \"{{ cinder_system_group_name }}\"\n    mode: \"0640\"\n\ncinder_service_endpoints:\n  - service: \"{{ cinder_service_name }}\"\n    interface: \"public\"\n    url: \"{{ cinder_service_publicurl }}\"\n    state: present\n  - service: \"{{ cinder_service_name }}\"\n    interface: \"internal\"\n    url: \"{{ cinder_service_internalurl }}\"\n    state: present\n  - service: \"{{ cinder_service_name }}\"\n    interface: \"admin\"\n    url: \"{{ cinder_service_adminurl }}\"\n    state: present\n  - service: \"{{ cinder_service_v3_name }}\"\n    interface: \"public\"\n    url: \"{{ cinder_service_v3_publicurl }}\"\n    state: \"{{ cinder_service_v3_enabled | ternary('present', 'absent') }}\"\n  - service: \"{{ cinder_service_v3_name }}\"\n    interface: \"internal\"\n    url: \"{{ cinder_service_v3_internalurl }}\"\n    state: \"{{ cinder_service_v3_enabled | ternary('present', 'absent') }}\"\n  - service: \"{{ cinder_service_v3_name }}\"\n    interface: \"admin\"\n    url: \"{{ cinder_service_v3_adminurl }}\"\n    state: \"{{ cinder_service_v3_enabled | ternary('present', 'absent') }}\"\n\ncinder_service_catalog:\n  - name: \"{{ cinder_service_name }}\"\n    type: \"{{ cinder_service_type }}\"\n    description: \"{{ cinder_service_description }}\"\n    state: present\n  - name: \"{{ cinder_service_v3_name }}\"\n    type: \"{{ cinder_service_v3_type }}\"\n    description: \"{{ cinder_service_v3_description }}\"\n    state: \"{{ cinder_service_v3_enabled | ternary('present', 'absent') }}\"\n\n_cinder_coordination_url: >-\n  {{ cinder_coordination_driver }}://{{\n      groups[cinder_coordination_group]\n        | map('extract', hostvars, 'ansible_host')\n        | list | join(':' ~ cinder_coordination_port ~ ',')\n    }}:{{ cinder_coordination_port -}}\n    ?namespace={{ cinder_coordination_namespace }}{% if cinder_coordination_client_ssl | bool -%}\n    &use_ssl=True&verify_certs={{ cinder_coordination_verify_cert | bool }}{% endif %}\n","created":"2025-12-14T10:21:44.411890Z","updated":"2025-12-14T10:21:44.411900Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_cinder/vars/main.yml"}