{"id":775,"status":"changed","playbook":{"id":2,"items":{"plays":18,"tasks":608,"results":2412,"hosts":15,"files":158,"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-hosts.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-08T13:40:18.992997Z","ended":"2025-12-08T13:50:25.791366Z","duration":"00:10:06.798369","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.11","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-hosts.yml","controller":"aio1.openstack.local","user":"root"},"play":{"id":14,"items":{"tasks":98,"results":1235},"started":"2025-12-08T13:44:15.227830Z","ended":"2025-12-08T13:47:37.309648Z","duration":"00:03:22.081818","name":"Create container(s)","status":"completed"},"task":{"id":470,"items":{"results":13},"path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-lxc_container_create/tasks/lxc_container_config.yml","tags":["lxc-config","lxc-containers-create"],"started":"2025-12-08T13:45:11.181853Z","ended":"2025-12-08T13:45:12.228869Z","duration":"00:00:01.047016","name":"lxc_container_create : Execute first script","uuid":"fa163eb8-f9d2-e19b-22df-000000001acf","action":"ansible.builtin.command","lineno":82,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":158},"host":{"id":14,"name":"aio1-glance-container-171e0f70","changed":55,"failed":0,"ok":110,"skipped":42,"unreachable":0},"delegated_to":[{"id":3,"name":"aio1","changed":105,"failed":0,"ok":258,"skipped":142,"unreachable":0}],"content":{"attempts":1,"changed":true,"cmd":["/var/lib/lxc/aio1-glance-container-171e0f70/container-first-run.sh"],"delta":"0:00:00.022366","end":"2025-12-08 13:45:12.000654","invocation":{"module_args":{"_raw_params":"/var/lib/lxc/aio1-glance-container-171e0f70/container-first-run.sh","_uses_shell":false,"argv":null,"chdir":null,"creates":"/var/lib/lxc/aio1-glance-container-171e0f70/setup.complete","executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2025-12-08 13:45:11.978288","stderr":"\nexport CPID=\"$(lxc-info -Hpn aio1-glance-container-171e0f70)\"\n\nfunction update_backup_resolvers {\n  if [[ -e \"/proc/${CPID}/root/etc/resolv.conf.setup\" ]]; then\n    mv /proc/${CPID}/root/etc/resolv.conf.setup /proc/${CPID}/root/etc/resolv.conf\n  elif [[ -e \"/proc/${CPID}/root/etc/resolv.conf\" ]]; then\n    cp /proc/${CPID}/root/etc/resolv.conf /proc/${CPID}/root/etc/resolv.conf.setup\n  fi\n}\n\n# If the setup is complete return as the process is complete\nif [[ -f \"/var/lib/lxc/aio1-glance-container-171e0f70/setup.complete\" ]]; then\n  exit 0\nfi\n\n# Backup the resolvers as the setup script is not executed within an NS.\nupdate_backup_resolvers\n\n# Use the host resolvers\ncat /etc/resolv.conf > /proc/${CPID}/root/etc/resolv.conf\n\n# Execute\nnsenter --mount=/proc/${CPID}/ns/mnt --pid=/proc/${CPID}/ns/pid \\\n        --uts=/proc/${CPID}/ns/uts --ipc=/proc/${CPID}/ns/ipc \\\n        -- /opt/container-setup.sh\n\n# Generate the lxc container create prep commands\n\n\n# Create dir \"/var/backup\"\nmkdir -p \"/var/backup\"\n\n# Create dir \"/openstack/src\"\nmkdir -p \"/openstack/src\"\n\n# Create dir \"/opt/cache/files\"\nmkdir -p \"/opt/cache/files\"\n\n\n# Run extra commands\necho noop\n\n# Restore the resolvers\nupdate_backup_resolvers\n\n# Mark the setup as complete\ntouch /var/lib/lxc/aio1-glance-container-171e0f70/setup.complete","stderr_lines":["","export CPID=\"$(lxc-info -Hpn aio1-glance-container-171e0f70)\"","","function update_backup_resolvers {","  if [[ -e \"/proc/${CPID}/root/etc/resolv.conf.setup\" ]]; then","    mv /proc/${CPID}/root/etc/resolv.conf.setup /proc/${CPID}/root/etc/resolv.conf","  elif [[ -e \"/proc/${CPID}/root/etc/resolv.conf\" ]]; then","    cp /proc/${CPID}/root/etc/resolv.conf /proc/${CPID}/root/etc/resolv.conf.setup","  fi","}","","# If the setup is complete return as the process is complete","if [[ -f \"/var/lib/lxc/aio1-glance-container-171e0f70/setup.complete\" ]]; then","  exit 0","fi","","# Backup the resolvers as the setup script is not executed within an NS.","update_backup_resolvers","","# Use the host resolvers","cat /etc/resolv.conf > /proc/${CPID}/root/etc/resolv.conf","","# Execute","nsenter --mount=/proc/${CPID}/ns/mnt --pid=/proc/${CPID}/ns/pid \\","        --uts=/proc/${CPID}/ns/uts --ipc=/proc/${CPID}/ns/ipc \\","        -- /opt/container-setup.sh","","# Generate the lxc container create prep commands","","","# Create dir \"/var/backup\"","mkdir -p \"/var/backup\"","","# Create dir \"/openstack/src\"","mkdir -p \"/openstack/src\"","","# Create dir \"/opt/cache/files\"","mkdir -p \"/opt/cache/files\"","","","# Run extra commands","echo noop","","# Restore the resolvers","update_backup_resolvers","","# Mark the setup as complete","touch /var/lib/lxc/aio1-glance-container-171e0f70/setup.complete"],"stdout":"noop","stdout_lines":["noop"]},"created":"2025-12-08T13:45:12.077044Z","updated":"2025-12-08T13:45:12.077074Z","started":"2025-12-08T13:45:11.808769Z","ended":"2025-12-08T13:45:12.072927Z","duration":"00:00:00.264158","changed":true,"ignore_errors":false}