ARTbio / GalaxyKickStart

Ansible playbooks for Galaxy Server deployment
GNU General Public License v3.0
24 stars 22 forks source link

Script to generate gist for debugging #147

Closed mvdbeek closed 5 years ago

mvdbeek commented 8 years ago

so that we don't have to guess too much.

This should include the ansible_log, supervisor log, supervisor status, supervisor config file, galaxy.ini and /etc/default/supervisor.

drosofff commented 8 years ago

Could you clarify what you mean with "Script to generate gist". What does gist stand for ?

mvdbeek commented 8 years ago

https://gist.github.com -- just an example where you can paste logs.

drosofff commented 8 years ago

I know what is gist.github.com. Yet I still don't understand the current issue. Please explain.

mvdbeek commented 8 years ago

Instead of users raising an issue that is missing all the important details, and where we need to guess or wait for a response we would ask for the logs, which could be collected with a single command (get-logs) and posted to gist.github.com (post-logs).

drosofff commented 8 years ago

OK. Can I change the issue title to: Generate and post galaxykickstart install logs for better debugging ?

mvdbeek commented 8 years ago

Sure

mvdbeek commented 8 years ago

Alternatively we could also provide a galaxy tool to do this. Which would of course not work if galaxy isn't starting ...

drosofff commented 8 years ago

:-) You vote against your own suggestion, don't you ?

mvdbeek commented 8 years ago

That wouldn't be the first time :). In theory this sounds like a good idea, but the more I think about it the more problems I see. How do we know where the current log files are, if the user has customized the path? Perhaps a separate play or role would be the most robust solution, plus we can intercept failures in ansible and run the debug role. That could even be nice to have for travis.