Skip to content
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

Container generation for ansible-executor fails because of missing dependency #60

Open
iranzo opened this issue Nov 11, 2019 · 4 comments

Comments

@iranzo
Copy link

iranzo commented Nov 11, 2019

imagen

@iranzo
Copy link
Author

iranzo commented Nov 11, 2019

Forcing Dockerfile to use F29 allows the build to continue

@robnester-rh
Copy link

I believe this stems from an expectation of python 3 being the default on Fedora >= 30.
The following allows you to set python 3 as the default and results in successful completion:

# sudo update-alternatives --install /usr/bin/python python /usr/bin /python2.7 50
# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 60
# sudo update-alternatives --config python

Note: Your python version may be 3.5,3.6,3.7 etc. update as appropriate in the above command for python 3.

@iranzo
Copy link
Author

iranzo commented Nov 14, 2019

Thing is that if I use this repo for generation and it defaults to fedora 30, it should also do above commands in the docker file if needed, isn't it?

However the docker file is failing when adding the dependency for boto for python2 which is no longer there

@robnester-rh
Copy link

My apologies. My initial reading of this presumed that it was an issue in executing the ansible playbook itself. Disregard my comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants