{"id":472,"sha1":"0b5f2b3f1f20f9402525be57ef891c61b20dceb8","playbook":{"id":4,"items":{"plays":32,"tasks":1505,"results":1497,"hosts":12,"files":487,"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-08T13:57:07.871967Z","ended":"2025-12-08T14:21:54.049657Z","duration":"00:24:46.177690","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.11","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 2014, 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: Fail if service was deployed using a different installation method\n  ansible.builtin.fail:\n    msg: \"Switching installation methods for OpenStack services is not supported\"\n  when:\n    - ansible_local is defined\n    - ansible_local.openstack_ansible is defined\n    - ansible_local.openstack_ansible.glance is defined\n    - ansible_local.openstack_ansible.glance.install_method is defined\n    - ansible_local.openstack_ansible.glance.install_method != glance_install_method\n\n- name: Gather variables for installation method\n  ansible.builtin.include_vars: \"{{ glance_install_method }}_install.yml\"\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        - glance-config\n  when:\n    - \"_glance_is_first_play_host\"\n  vars:\n    _oslodb_setup_host: \"{{ glance_db_setup_host }}\"\n    _oslodb_ansible_python_interpreter: \"{{ glance_db_setup_python_interpreter }}\"\n    _oslodb_setup_endpoint: \"{{ glance_galera_address }}\"\n    _oslodb_setup_port: \"{{ glance_galera_port }}\"\n    _oslodb_databases:\n      - name: \"{{ glance_galera_database }}\"\n        users:\n          - username: \"{{ glance_galera_user }}\"\n            password: \"{{ glance_container_mysql_password }}\"\n  tags:\n    - always\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        - glance-config\n  when:\n    - \"_glance_is_first_play_host\"\n  vars:\n    _oslomsg_rpc_setup_host: \"{{ glance_oslomsg_rpc_setup_host }}\"\n    _oslomsg_rpc_userid: \"{{ glance_oslomsg_rpc_userid }}\"\n    _oslomsg_rpc_password: \"{{ glance_oslomsg_rpc_password }}\"\n    _oslomsg_rpc_vhost: \"{{ glance_oslomsg_rpc_vhost }}\"\n    _oslomsg_rpc_transport: \"{{ glance_oslomsg_rpc_transport }}\"\n    _oslomsg_rpc_policies: \"{{ glance_oslomsg_rpc_policies }}\"\n    _oslomsg_rpc_configure: \"{{ glance_oslomsg_rpc_configure }}\"\n    _oslomsg_notify_setup_host: \"{{ glance_oslomsg_notify_setup_host }}\"\n    _oslomsg_notify_userid: \"{{ glance_oslomsg_notify_userid }}\"\n    _oslomsg_notify_password: \"{{ glance_oslomsg_notify_password }}\"\n    _oslomsg_notify_vhost: \"{{ glance_oslomsg_notify_vhost }}\"\n    _oslomsg_notify_transport: \"{{ glance_oslomsg_notify_transport }}\"\n    _oslomsg_notify_policies: \"{{ glance_oslomsg_notify_policies }}\"\n    _oslomsg_notify_configure: \"{{ glance_oslomsg_notify_configure }}\"\n  tags:\n    - always\n\n- name: Importing glance_install tasks\n  ansible.builtin.import_tasks: glance_install.yml\n  tags:\n    - glance-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        - glance-config\n        - pki\n  vars:\n    pki_setup_host: \"{{ glance_pki_setup_host }}\"\n    pki_dir: \"{{ glance_pki_dir }}\"\n    pki_create_certificates: \"{{ glance_user_ssl_cert is not defined and glance_user_ssl_key is not defined }}\"\n    pki_regen_cert: \"{{ glance_pki_regen_cert }}\"\n    pki_certificates: \"{{ glance_pki_certificates }}\"\n    pki_install_certificates: \"{{ glance_pki_install_certificates }}\"\n  when:\n    - glance_backend_ssl\n  tags:\n    - always\n\n- name: Importing glance_post_install tasks\n  ansible.builtin.import_tasks: glance_post_install.yml\n  tags:\n    - glance-config\n    - post-install\n\n- name: Including glance_db_sync tasks\n  ansible.builtin.include_tasks: glance_db_sync.yml\n  args:\n    apply:\n      tags:\n        - glance-config\n  when:\n    - \"_glance_is_first_play_host\"\n  tags:\n    - glance-config\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        - glance-config\n  vars:\n    _service_adminuri_insecure: \"{{ keystone_service_adminuri_insecure }}\"\n    _service_in_ldap: \"{{ glance_service_in_ldap }}\"\n    _service_setup_host: \"{{ glance_service_setup_host }}\"\n    _service_setup_host_python_interpreter: \"{{ glance_service_setup_host_python_interpreter }}\"\n    _service_project_name: \"{{ glance_service_project_name }}\"\n    _service_region: \"{{ glance_service_region }}\"\n    _service_users:\n      - name: \"{{ glance_service_user_name }}\"\n        password: \"{{ glance_service_password }}\"\n        role: \"{{ glance_service_role_names }}\"\n    _service_catalog:\n      - name: \"{{ glance_service_name }}\"\n        type: \"{{ glance_service_type }}\"\n        description: \"{{ glance_service_description }}\"\n    _service_endpoints:\n      - interface: \"public\"\n        url: \"{{ glance_service_publicurl }}\"\n        service: \"{{ glance_service_name }}\"\n      - interface: \"internal\"\n        url: \"{{ glance_service_internalurl }}\"\n        service: \"{{ glance_service_name }}\"\n      - interface: \"admin\"\n        url: \"{{ glance_service_adminurl }}\"\n        service: \"{{ glance_service_name }}\"\n  when:\n    - \"_glance_is_first_play_host\"\n  tags:\n    - always\n\n- name: Import uwsgi role\n  ansible.builtin.import_role:\n    name: uwsgi\n  vars:\n    uwsgi_services: \"{{ uwsgi_glance_services }}\"\n    uwsgi_install_method: \"{{ glance_install_method }}\"\n  tags:\n    - glance-install\n    - glance-config\n    - uwsgi\n\n- name: Include ceph_client role\n  ansible.builtin.include_role:\n    name: ceph_client\n    apply:\n      tags:\n        - ceph\n  vars:\n    openstack_service_system_user: \"{{ glance_system_user_name }}\"\n    openstack_service_venv_bin: \"{{ (glance_install_method == 'source') | ternary(glance_bin, '') }}\"\n  when:\n    - \"glance_services['glance-api']['group'] in group_names\"\n    - \"'rbd' in glance_available_store_types\"\n  tags:\n    - ceph\n\n- name: Flush handlers\n  ansible.builtin.meta: flush_handlers\n","created":"2025-12-08T13:57:11.150231Z","updated":"2025-12-08T13:57:11.150244Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_glance/tasks/main.yml"}