New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes/preinstall fails due to missing jsonschema package #11153
Comments
I get this:
Then this:
Then when both Homebrew and Python are happy - this:
|
`(base) ➜ kubespray git:(master) python --version
` |
What happened?
The task
Verify that the packages list structure is valid
failed because the jsonschema package was missing. That task uses theansible.utils.validate
module, and its default engine isansible.utils.jsonschema
.https://docs.ansible.com/ansible/latest/collections/ansible/utils/validate_module.html
My Python environment is managed by venv, which I set up following the psetting-up-your-first-cluster guide.
What did you expect to happen?
Expect all required Python packages to be defined in requirements.txt.
How can we reproduce it (as minimally and precisely as possible)?
python3 -m venv venv source venv/bin/activate pip install -U -r requirements.txt
OS
Darwin 23.4.0 arm64
Version of Ansible
Version of Python
Python 3.12.3
Version of Kubespray (commit)
f9e76689a
Network plugin used
cilium
Full inventory with variables
Use the below
inventry.ini
, and use the sample variables (no customize).Command used to invoke ansible
ansible-playbook -i inventory/mycluster/inventry.ini cluster.yml -b -v -u ubuntu --private-key=~/.ssh/private_key
Output of ansible run
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered: