{"id":712,"sha1":"47d700c3f836319a68dea2b7de7e167528438ee2","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 2017, Logan Vig <logan2211@gmail.com>\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: Importing ceph_rgw_keystone_setup playbook\n  import_playbook: openstack.osa.ceph_rgw_keystone_setup\n  when: (groups[rgw_group_name] is defined and groups[rgw_group_name] | length > 0) or (ceph_rgws | length > 0)\n\n- name: Gather ceph-rgw facts\n  hosts: ceph-rgw\n  gather_facts: \"{{ osa_gather_facts | default(true) }}\"\n  module_defaults:\n    ansible.builtin.setup:\n      gather_subset: \"{{ osa_gather_subset | default(lookup('ansible.builtin.env', 'ANSIBLE_GATHER_SUBSET', default='!all,min')) }}\"\n  tasks:\n    - name: Define discovered_interpreter_python\n      ansible.builtin.set_fact:\n        discovered_interpreter_python: /usr/bin/python3\n  tags:\n    - always\n\n- name: Install ceph radosgw\n  hosts: ceph-rgw\n  gather_facts: false\n  user: root\n  pre_tasks:\n    - name: Setup installation variables\n      ansible.builtin.include_role:\n        name: openstack.osa.install_defaults\n        defaults_from: \"{{ install_method }}\"\n        public: true\n        apply:\n          tags:\n            - always\n      tags:\n        - always\n\n    - name: Including unbound-clients role\n      ansible.builtin.include_role:\n        name: openstack.osa.unbound_clients\n      when:\n        - hostvars['localhost']['resolvconf_enabled'] | bool\n\n    # Set the priority of the ceph community apt repo either above or below that of UCA or distro sources\n    - name: Set apt package pins\n      ansible.builtin.include_role:\n        name: apt_package_pinning\n      vars:\n        apt_package_pinning_file_name: \"ceph_community_pin.pref\"\n        apt_package_pinning_priority: \"{{ (ceph_repository == 'community') | ternary(1000, 100) }}\"\n        apt_pinned_packages: [{ package: '*', release: 'ceph.com' }]\n      when:\n        - ansible_facts['pkg_mgr'] == 'apt'\n\n    - name: Install python3-yaml\n      ansible.builtin.package:\n        name: \"{{ (ansible_facts['os_family'] | lower == 'debian') | ternary('python3-yaml', 'python3-pyyaml') }}\"\n        state: present\n\n    - name: Gather ceph-mon facts\n      action: setup\n      delegate_to: \"{{ item }}\"\n      delegate_facts: yes\n      with_items: \"{{ groups[mon_group_name] }}\"\n      when:\n        - inventory_hostname == ansible_play_hosts[0]\n      tags:\n        - ceph-mon-facts\n        - ceph-rgw\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            - ceph-rgw-config\n            - pki\n      vars:\n        pki_setup_host: \"{{ ceph_rgw_pki_setup_host }}\"\n        pki_dir: \"{{ ceph_rgw_pki_dir }}\"\n        pki_create_certificates: \"{{ ceph_rgw_user_ssl_cert is not defined and ceph_rgw_user_ssl_key is not defined }}\"\n        pki_regen_cert: \"{{ ceph_rgw_pki_regen_cert }}\"\n        pki_certificates: \"{{ ceph_rgw_pki_certificates }}\"\n        pki_install_certificates: \"{{ ceph_rgw_pki_install_certificates }}\"\n      when:\n        - ceph_rgw_backend_ssl\n      tags:\n        - always\n\n  roles:\n    - role: ceph-defaults\n      tags:\n        - skip_ansible_lint\n    - role: ceph-facts\n      tags:\n        - skip_ansible_lint\n    - role: ceph-common\n      tags:\n        - skip_ansible_lint\n    - role: ceph-handler\n      tags:\n        - skip_ansible_lint\n    - role: ceph-config\n      tags:\n        - skip_ansible_lint\n    - role: ceph-rgw\n      tags:\n        - skip_ansible_lint\n    - role: \"openstack.osa.system_crontab_coordination\"\n      tags:\n        - \"system-crontab-coordination\"\n\n  vars:\n    is_metal: \"{{ properties.is_metal|default(false) }}\"\n    radosgw_civetweb_port: \"{{ radosgw_service_port }}\"\n  tags:\n    - ceph-rgw\n","created":"2025-12-08T13:40:12.543294Z","updated":"2025-12-08T13:40:12.543338Z","path":"/etc/ansible/ansible_collections/openstack/osa/playbooks/ceph_rgw_install.yml"}