-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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/Openshift Ansible installer is not working on RHEL 7 #5501
Comments
@megabreit, I was having the exact same problem -- fixed it by removing the version I had previously installed with yum, and installed it with pip instead:
After that, all worked well for me -- hope it helps! |
@fsilveir Thanks. I didn't know about the --user option. But getting pip working on RHEL 7 is always a pain. I prefer a clean install playbook :-) |
@megabreit indeed not a fun experience.... alternatively you can also try setting-up a virtualenv just for the install playbook. |
I googled a bit for the error and tried to find how other people fixed this problem. |
|
@megabreit can you submit a PR for this change? |
support for older jinja2 in installer #5501 Reviewed-by: Ryan Petrello https://github.com/ryanpetrello
@blomquisg @ryanpetrello Just for curiosity: Are there any more formal things to follow? Tests, checks, etc? Or is it ok to close the issue? |
Hey @megabreit, We're gonna verify some things on our end, and then we'll close it out - thanks! |
🎉 @megabreit thanks for the PR! 🎉 |
I've confirmed that we can install using a 3.11 OpenShift Cluster. The installation has been passing no problem for a while and therefore we can consider this as being verified. |
ISSUE TYPE
SUMMARY
The Kubernetes/Openshift Ansible installer does not work on RHEL 7
ENVIRONMENT
STEPS TO REPRODUCE
oc login
ansible-playbook -i inventory install.yml -e openshift_token=$(oc whoami -t) -e openshift_user=clusteradminuser -vvv
Taget cluster is Openshift 3.11, oc binary is 3.11 too.
EXPECTED RESULTS
successfull installation
ACTUAL RESULTS
Playbook terminates:
I suspect that the Jinja2 version is too old to support 'equalto'
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: