{"id":440,"sha1":"f3a55a3c3450292a3ff7d63a496e3eb1572e5928","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# NOTE(noonedeadpunk): Handler with the same name is triggered from the http role\n- name: Restart web server\n  ansible.builtin.meta: noop\n  when: false\n\n- name: Stop uWSGI\n  ansible.builtin.service:\n    name: \"{{ item }}\"\n    state: \"stopped\"\n    daemon_reload: \"{{ (ansible_facts['service_mgr'] == 'systemd') | ternary('yes', omit) }}\"\n  register: _stop\n  until: _stop is success\n  retries: 5\n  delay: 2\n  with_items: \"{{ keystone_services.keys() | list }}\"\n  listen:\n    - \"venv changed\"\n    - \"Restart uWSGI\"\n\n- name: Start uWSGI\n  ansible.builtin.service:\n    name: \"{{ item }}\"\n    enabled: true\n    state: \"started\"\n    daemon_reload: \"{{ (ansible_facts['service_mgr'] == 'systemd') | ternary('yes', omit) }}\"\n  register: _start\n  until: _start is success\n  retries: 5\n  delay: 2\n  with_items: \"{{ keystone_services.keys() | list }}\"\n  listen:\n    - \"venv changed\"\n    - \"Restart uWSGI\"\n\n- name: Wait for uWSGI socket to be ready\n  ansible.builtin.wait_for:\n    host: \"{{ (keystone_use_uwsgi | bool) | ternary(keystone_uwsgi_bind_address, '127.0.0.1') }}\"\n    port: \"{{ (keystone_use_uwsgi | bool) | ternary(keystone_service_port, keystone_uwsgi_ports['keystone-wsgi-public']['socket']) }}\"\n    timeout: 25\n    delay: 10\n  register: _wait_check\n  until: _wait_check is success\n  retries: 5\n  listen:\n    - \"venv changed\"\n    - \"Restart uWSGI\"\n    - \"Start uWSGI\"\n\n- name: Restart Shibd\n  ansible.builtin.service:\n    name: \"shibd\"\n    enabled: true\n    state: \"restarted\"\n    daemon_reload: \"{{ (ansible_facts['service_mgr'] == 'systemd') | ternary('yes', omit) }}\"\n  register: _restart\n  until: _restart is success\n  retries: 5\n  delay: 2\n\n- name: Restart ssh\n  ansible.builtin.service:\n    name: \"{{ keystone_sshd }}\"\n    state: \"restarted\"\n\n- name: Flush all of the cache in memcached\n  vars:\n    nc_command:\n      debian: nc -q 1 $(awk '/^\\-l/ {print $2}' \"/etc/memcached.conf\" | awk -F, '{print $1}') $(awk '/^\\-p/ {print $2}' \"/etc/memcached.conf\")\n      redhat: nc $(awk -F '-l' '/^OPTIONS/ {print $2}' \"/etc/sysconfig/memcached\" | awk -F ',' '{gsub(/\"/, \"\", $1); print $1}' | awk -F '-' '{print $1}') 11211\n  ansible.builtin.shell: \"echo 'flush_all' | {{ nc_command.get(ansible_facts['os_family'] | lower) }}\"\n  changed_when: false\n  delegate_to: \"{{ item }}\"\n  with_items: \"{{ groups.memcached_all }}\"\n  listen: flush cache\n  when:\n    - keystone_flush_memcache | bool\n","created":"2025-12-08T13:57:09.628974Z","updated":"2025-12-08T13:57:09.628986Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_keystone/handlers/main.yml"}