{"id":707,"sha1":"4b390990d9ade3c1318e1a10af5107ff07ad1704","playbook":{"id":4,"items":{"plays":104,"tasks":1377,"results":1365,"hosts":2,"files":504,"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":8,"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-08T13:39:52.478534Z","ended":"2025-12-08T14:14:54.510371Z","duration":"00:35:02.031837","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.3","server_version":"1.7.4","status":"failed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2018, 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- name: Gather variables for each operating system\n  ansible.builtin.include_vars: \"{{ lookup('first_found', params) }}\"\n  vars:\n    params:\n      files:\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}.yml\"\n      paths:\n        - \"{{ role_path }}/vars\"\n  tags:\n    - always\n\n- name: Importing zun_pre_install tasks\n  ansible.builtin.import_tasks: zun_pre_install.yml\n  tags:\n    - zun-install\n\n- name: Create and install SSL certificates\n  ansible.builtin.include_role:\n    name: pki\n    tasks_from: main_certs.yml\n    apply:\n      tags:\n        - zun-config\n        - pki\n  vars:\n    pki_setup_host: \"{{ zun_pki_setup_host }}\"\n    pki_dir: \"{{ zun_pki_dir }}\"\n    pki_create_certificates: \"{{ zun_user_ssl_cert is not defined and zun_user_ssl_key is not defined }}\"\n    pki_regen_cert: \"{{ zun_pki_regen_cert }}\"\n    pki_certificates: \"{{ zun_pki_certificates }}\"\n    pki_install_certificates: \"{{ zun_pki_install_certificates }}\"\n  when:\n    - zun_backend_ssl\n  tags:\n    - always\n\n# NOTE(jrosser)\n# kuryr-lib appears in u-c and the new pip resolver will fail to install\n# if two contradictory constraints are given which will always happen\n# with a source install and wheels built on the repo server. We must\n# filter kuryr-lib out of u-c.\n- name: Retrieve the constraints URL\n  ansible.builtin.uri:\n    url: \"{{ zun_upper_constraints_url }}\"\n    return_content: true\n  register: _u_c_contents\n\n- name: Install the python venv\n  ansible.builtin.import_role:\n    name: \"python_venv_build\"\n  vars:\n    venv_python_executable: \"{{ zun_venv_python_executable }}\"\n    venv_build_constraints: \"{{ _u_c_contents.content.split('\\n') | reject('match', '^kuryr-lib=') | list }}\"\n    venv_install_destination_path: \"{{ zun_bin | dirname }}\"\n    venv_install_distro_package_list: \"{{ zun_distro_packages }}\"\n    venv_pip_install_args: \"{{ zun_pip_install_args }}\"\n    venv_pip_packages: \"{{ zun_pip_packages }}\"\n    venv_facts_when_changed:\n      - section: \"zun\"\n        option: \"venv_tag\"\n        value: \"{{ zun_venv_tag }}\"\n  tags:\n    - zun-install\n\n- name: Including osa.mq_setup role\n  ansible.builtin.include_role:\n    name: openstack.osa.mq_setup\n    apply:\n      tags:\n        - common-mq\n        - zun-config\n  when:\n    - _zun_is_first_play_host\n  vars:\n    _oslomsg_rpc_setup_host: \"{{ zun_oslomsg_rpc_setup_host }}\"\n    _oslomsg_rpc_userid: \"{{ zun_oslomsg_rpc_userid }}\"\n    _oslomsg_rpc_password: \"{{ zun_oslomsg_rpc_password }}\"\n    _oslomsg_rpc_vhost: \"{{ zun_oslomsg_rpc_vhost }}\"\n    _oslomsg_rpc_transport: \"{{ zun_oslomsg_rpc_transport }}\"\n    _oslomsg_rpc_policies: \"{{ zun_oslomsg_rpc_policies }}\"\n    _oslomsg_notify_setup_host: \"{{ zun_oslomsg_notify_setup_host }}\"\n    _oslomsg_notify_userid: \"{{ zun_oslomsg_notify_userid }}\"\n    _oslomsg_notify_password: \"{{ zun_oslomsg_notify_password }}\"\n    _oslomsg_notify_vhost: \"{{ zun_oslomsg_notify_vhost }}\"\n    _oslomsg_notify_transport: \"{{ zun_oslomsg_notify_transport }}\"\n    _oslomsg_configure_notify: \"{{ (zun_ceilometer_enabled | bool) or (zun_designate_enabled | bool) }}\"\n    _oslomsg_notify_policies: \"{{ zun_oslomsg_notify_policies }}\"\n    _oslomsg_notify_configure: \"{{ zun_oslomsg_notify_configure }}\"\n  tags:\n    - always\n\n- name: Including osa.db_setup role\n  ansible.builtin.include_role:\n    name: openstack.osa.db_setup\n    apply:\n      tags:\n        - common-db\n        - zun-config\n  vars:\n    _oslodb_setup_host: \"{{ zun_db_setup_host }}\"\n    _oslodb_ansible_python_interpreter: \"{{ zun_db_setup_python_interpreter }}\"\n    _oslodb_setup_endpoint: \"{{ zun_galera_address }}\"\n    _oslodb_setup_port: \"{{ zun_galera_port }}\"\n    _oslodb_databases:\n      - name: \"{{ zun_galera_database }}\"\n        users:\n          - username: \"{{ zun_galera_user }}\"\n            password: \"{{ zun_galera_password }}\"\n  when:\n    - _zun_is_first_play_host\n  tags:\n    - always\n\n- name: Including osa.service_setup role\n  ansible.builtin.include_role:\n    name: openstack.osa.service_setup\n    apply:\n      tags:\n        - common-service\n        - zun-config\n  vars:\n    _service_adminuri_insecure: \"{{ keystone_service_adminuri_insecure }}\"\n    _service_in_ldap: \"{{ zun_service_in_ldap }}\"\n    _service_setup_host: \"{{ zun_service_setup_host }}\"\n    _service_setup_host_python_interpreter: \"{{ zun_service_setup_host_python_interpreter }}\"\n    _service_project_name: \"{{ zun_service_project_name }}\"\n    _service_region: \"{{ zun_service_region }}\"\n    _service_users:\n      - name: \"{{ zun_service_user_name }}\"\n        password: \"{{ zun_service_password }}\"\n        role: \"{{ zun_service_role_names }}\"\n      - name: \"{{ zun_kuryr_service_username }}\"\n        password: \"{{ zun_kuryr_service_password }}\"\n        role: \"{{ zun_service_role_names }}\"\n    _service_endpoints:\n      - service: \"{{ zun_service_name }}\"\n        interface: \"public\"\n        url: \"{{ zun_service_publicurl }}\"\n      - service: \"{{ zun_service_name }}\"\n        interface: \"internal\"\n        url: \"{{ zun_service_internalurl }}\"\n      - service: \"{{ zun_service_name }}\"\n        interface: \"admin\"\n        url: \"{{ zun_service_adminurl }}\"\n    _service_catalog:\n      - name: \"{{ zun_service_name }}\"\n        type: \"{{ zun_service_type }}\"\n        description: \"{{ zun_service_description }}\"\n  when:\n    - _zun_is_first_play_host\n  tags:\n    - always\n\n- name: Importing zun_post_install tasks\n  ansible.builtin.import_tasks: zun_compute.yml\n  when:\n    - \"zun_services['zun-compute']['group'] in group_names\"\n  tags:\n    - zun-compute\n\n- name: Importing zun_post_install tasks\n  ansible.builtin.import_tasks: zun_post_install.yml\n  tags:\n    - zun-config\n    - post-install\n\n- name: Import uwsgi role\n  ansible.builtin.import_role:\n    name: uwsgi\n  vars:\n    uwsgi_services: \"{{ uwsgi_zun_services }}\"\n    uwsgi_install_method: \"source\"\n  tags:\n    - zun-config\n    - uwsgi\n\n- name: Run the systemd service role\n  ansible.builtin.import_role:\n    name: systemd_service\n  vars:\n    systemd_user_name: \"{{ zun_system_user_name }}\"\n    systemd_group_name: \"{{ zun_system_group_name }}\"\n    systemd_tempd_prefix: openstack\n    systemd_slice_name: \"{{ zun_system_slice_name }}\"\n    systemd_lock_dir: \"{{ zun_lock_dir }}\"\n    systemd_service_cpu_accounting: true\n    systemd_service_block_io_accounting: true\n    systemd_service_memory_accounting: true\n    systemd_service_tasks_accounting: true\n    systemd_services: \"{{ filtered_zun_services }}\"\n  tags:\n    - zun-config\n    - systemd-service\n","created":"2025-12-08T13:40:12.247809Z","updated":"2025-12-08T13:40:12.247847Z","path":"/etc/ansible/roles/os_zun/tasks/main.yml"}