*** jparrill has quit IRC | 10:30 | |
*** ara has joined #ara | 14:20 | |
*** ara has quit IRC | 14:20 | |
*** sshnaidm|off is now known as sshnaidm | 14:28 | |
ara-slack | <yaroslav.shabalin> @dmsimard Is there any way (or any plans to implement such a feature) to attach arbitrary file (i.e. some external tool log) to the playbook report? I mean something like playbook, roles files attached now. It would be very useful to have detailed logs on hand in case some task fails. | 15:18 |
---|---|---|
ara-slack | <yaroslav.shabalin> Something that can be invoked conditionally, like ara_attach module I guess. )) | 15:20 |
ara-slack | <dmsimard> Hey there @yaroslav.shabalin, you can already kind of do this with ara_record, see for example here: https://github.com/openstack/ara/blob/master/run_tests.sh#L175 (looks like this, if you expand the records tab: http://logs.openstack.org/98/517098/4/check/legacy-ara-integration-py35-latest/cb7df14/logs/build/reports/12d9d6be-a401-4488-a287-c27019da34e0.html ) | 15:22 |
ara-slack | <dmsimard> I'm not sure if it's a good idea to allow users to save any file easily, this ends up being saved in the database and isn't very efficient at scale. I think a good implementation would be to save your logfiles somewhere (other than inside ara) and then have a link inside your ara report (for example record a link to your logfile) | 15:24 |
ara-slack | <yaroslav.shabalin> Oh, thanks! Actually I was thinking about using ara_record, just doubting if database column is large enough to hold the file content. What is it's maximum size btw? | 15:27 |
ara-slack | <dmsimard> It's a gzipped 2**32, if you hit the limit let me know how big that is :slightly_smiling_face: | 15:29 |
ara-slack | <dmsimard> It's basically a blob. | 15:30 |
ara-slack | <yaroslav.shabalin> Basically I don't see much difference between saving large file with ara_record and attaching it, if it ends up laying in the DB. But I understand your point. I was hoping to avoid complicated solutions, I mean logstash, ansible tower etc. ARA so far is the best fit due to it's simplicity yet sufficiency. | 15:49 |
ara-slack | <dmsimard> @yaroslav.shabalin I think it depends on your use case. I tend to use ARA alongside CI and CD so logging (and hosting those logs on a web server) is part of our workflow. If I had to attach logs to an ara report, either it's implicit (the ara report is already part of the logs) or I would link to the logs through ara_record. | 16:02 |
openstackgerrit | David Moreau Simard proposed openstack/ara feature/1.0: WIP: Re-structure API routes and return contents https://review.openstack.org/516172 | 16:26 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: WIP: Zuul job simplification https://review.openstack.org/517826 | 16:45 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: WIP: Zuul job simplification https://review.openstack.org/517826 | 17:10 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: WIP: Zuul job simplification https://review.openstack.org/517826 | 17:24 |
*** sparky_005 has quit IRC | 20:11 | |
*** sparky_005 has joined #ara | 21:51 | |
*** njohnston has quit IRC | 21:53 | |
*** vcn[m] has quit IRC | 21:54 | |
*** njohnston has joined #ara | 21:55 | |
*** vcn[m] has joined #ara | 22:28 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!