{"id":762,"status":"changed","playbook":{"id":2,"items":{"plays":18,"tasks":603,"results":2357,"hosts":15,"files":157,"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-14T10:04:43.190296Z","ended":"2025-12-14T10:14:53.851603Z","duration":"00:10:10.661307","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.13.5","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":100,"results":1261},"started":"2025-12-14T10:09:06.964054Z","ended":"2025-12-14T10:12:15.736910Z","duration":"00:03:08.772856","name":"Create container(s)","status":"completed"},"task":{"id":468,"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-14T10:10:04.215959Z","ended":"2025-12-14T10:10:05.282491Z","duration":"00:00:01.066532","name":"lxc_container_create : Execute first script","uuid":"fa163e3e-aca0-c085-3d55-000000001a16","action":"ansible.builtin.command","lineno":82,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":157},"host":{"id":4,"name":"aio1-neutron-server-container-987d5a37","changed":55,"failed":0,"ok":112,"skipped":39,"unreachable":0},"delegated_to":[{"id":3,"name":"aio1","changed":104,"failed":0,"ok":252,"skipped":145,"unreachable":0}],"content":{"attempts":1,"changed":true,"cmd":["/var/lib/lxc/aio1-neutron-server-container-987d5a37/container-first-run.sh"],"delta":"0:00:00.025401","end":"2025-12-14 10:10:04.454719","invocation":{"module_args":{"_raw_params":"/var/lib/lxc/aio1-neutron-server-container-987d5a37/container-first-run.sh","_uses_shell":false,"argv":null,"chdir":null,"creates":"/var/lib/lxc/aio1-neutron-server-container-987d5a37/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-14 10:10:04.429318","stderr":"\nexport CPID=\"$(lxc-info -Hpn aio1-neutron-server-container-987d5a37)\"\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-neutron-server-container-987d5a37/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-neutron-server-container-987d5a37/setup.complete","stderr_lines":["","export CPID=\"$(lxc-info -Hpn aio1-neutron-server-container-987d5a37)\"","","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-neutron-server-container-987d5a37/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-neutron-server-container-987d5a37/setup.complete"],"stdout":"noop","stdout_lines":["noop"]},"created":"2025-12-14T10:10:04.523354Z","updated":"2025-12-14T10:10:04.523392Z","started":"2025-12-14T10:10:04.264260Z","ended":"2025-12-14T10:10:04.512479Z","duration":"00:00:00.248219","changed":true,"ignore_errors":false}