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

ansible-bender build hangs #101

Closed
jpopelka opened this issue Apr 1, 2019 · 3 comments
Closed

ansible-bender build hangs #101

jpopelka opened this issue Apr 1, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jpopelka
Copy link

jpopelka commented Apr 1, 2019

$ git clone https://github.com/packit-service/packit.git
$ ansible-bender build -- ./recipe.yaml

It hangs indefinitely. With --debug I can see

utils.py DEBUG  TASK [copy]  ****
utils.py DEBUG  fatal: [localhost]: FAILED! => {"changed": false, "checksum": "71dfb412ae517d2a4442e26331f29f5d9ecc7dd1", "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}
@dhodovsk
Copy link
Contributor

dhodovsk commented Apr 2, 2019

I got the same hang issue but with a different error.

10:01:44.704 utils.py          DEBUG  fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'home_path' is undefined...

It took me a while to realize that the build is not going to continue, so I'd expect to get the error so I can investigate right away.

@TomasTomecek TomasTomecek added the bug Something isn't working label Apr 3, 2019
@TomasTomecek
Copy link
Collaborator

@jpopelka this feels like a bug in ansible, I can check for such case in bender so this won't happen

@dhodovsk that should be fixed in 0.5.1, please create a new issue if you are still hitting it

@TomasTomecek
Copy link
Collaborator

Reproduced locally.

https://bugzilla.redhat.com/show_bug.cgi?id=1696706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants