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

Mark tool installation as failed when stderr contains traceback #27

Open
mvdbeek opened this issue Apr 22, 2016 · 2 comments
Open

Mark tool installation as failed when stderr contains traceback #27

mvdbeek opened this issue Apr 22, 2016 · 2 comments

Comments

@mvdbeek
Copy link
Member

mvdbeek commented Apr 22, 2016

Apparently this is not happening right now (and is the source for some confusion on http://dev.list.galaxyproject.org/ERROR-PIP-is-not-a-legl-parament-of-an-Ansible-Play-td4669045.html).
I guess we could check for the exit code / or cleanup messages that go to stderr?

@afgane
Copy link
Contributor

afgane commented Apr 23, 2016

In principle I don't see why not. There's a lot of log content in the thread you mention - did you find a portion where it indicates that checking the exit code would fix the problem?
(btw, I'm really still not sure where the problem is stemming from the in that whole exchange)

@mvdbeek
Copy link
Member Author

mvdbeek commented Apr 23, 2016

he's getting a traceback due to the absence of logging.capture() in python-2.6 (you can see that in ansible.log), but it looks like ansible reported success on the tool installation. So a better error / exit code detection wouldn't solve the problem, but it would be easier to see that somewthing went wrong. I will take a look at this.

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