Open darshjain opened 3 days ago
I am unable to reproduce this both on our runner and locally. The first image seems to suggest an older version of Python - is your host running at least Python3.9?
The version number shown could also be the Python version running on the log server, in which case this error might stem from an incorrect version of ansible-core on your system.
What's the output if you run pip freeze | grep ansible
(*inside your venv)?
Python 3.12.3
Ouptut of venv (socbed) - ansible==10.5.0 ansible-core==2.17.5
I thinkt the logserver when deployed does not have these configurations as Ubuntu 16.06 (installed on logserver) might not have latest python, and there is no way to update it
Just a follow up, I happened to notice while tinkering with post_install for log_server, that apt update doesn't work : it is not able to establish its Internet Connection. To confirm this, I increased the timeout to 10 mins and ssh'ed into the server. It is not able to ping to any online resource. This is a important issue to address as well.
The problem, as indicated by your screenshots, is the version of ansible-core
you are running. This is caused by your Ansible version (10.5.0
) not matching the one listed in requirements.txt
. Did you install them with pip install -r requirements.txt
inside a clean virtual environment?
Describe the bug While running $ ./tools/build_vms
I recieve two errors
and
Host system (please complete the following information):