This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71
stars
66
forks
source link
applying requirements.txt with version 7.0.0 fails because ansible module 9.6.0 version has been removed. #583
Initially the playbook failed with several tasks involving the Kubernetes ansible module.
TASK [baseline : Remove deprecated efs-provisioner namespace] ******************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (kubernetes) on pdcesx03028's Python /bin/python3. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
When checking the python module list "python3 -m pip list" it seemed different from the requirements.txt.
So I tried to re-apply the requirements.txt (it was supposedly done already by my automation, but apparently the error was not reported), and saw the behavior above (ERROR: No matching distribution found for ansible==9.6.0)
It might be a good idea to fix the version in 7.0.0 to 9.6.1 to avoid this problem...
References
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Viya4 Deployment Version Details
7.0.0
Ansible Variable File Details
No response
Steps to Reproduce
git clone 7.0.0 cd ~/viya4-deployment python3 -m pip install -r requirements.txt
Expected Behavior
sucessful return code (no error)
Actual Behavior
We get this error message
Additional Context
Initially the playbook failed with several tasks involving the Kubernetes ansible module.
When checking the python module list "python3 -m pip list" it seemed different from the requirements.txt. So I tried to re-apply the requirements.txt (it was supposedly done already by my automation, but apparently the error was not reported), and saw the behavior above (ERROR: No matching distribution found for ansible==9.6.0)
It might be a good idea to fix the version in 7.0.0 to 9.6.1 to avoid this problem...
References
No response
Code of Conduct