openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server https://review.openstack.org/564365 | 00:04 |
---|---|---|
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Install packages as a list instead of per item https://review.openstack.org/564367 | 00:04 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Provide a hook for overriding configuration https://review.openstack.org/564369 | 00:04 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Refactor installation, configuration and web server implementation https://review.openstack.org/564362 | 00:39 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Add logrotate configuration https://review.openstack.org/564363 | 00:39 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: We don't need to check if selinux is enforcing https://review.openstack.org/564364 | 00:39 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server https://review.openstack.org/564365 | 00:39 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Install packages as a list instead of per item https://review.openstack.org/564367 | 00:39 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Provide a hook for overriding configuration https://review.openstack.org/564369 | 00:39 |
openstackgerrit | Merged openstack/ansible-role-ara master: Refactor installation, configuration and web server implementation https://review.openstack.org/564362 | 00:42 |
openstackgerrit | Merged openstack/ansible-role-ara master: Add logrotate configuration https://review.openstack.org/564363 | 00:42 |
openstackgerrit | Merged openstack/ansible-role-ara master: We don't need to check if selinux is enforcing https://review.openstack.org/564364 | 00:42 |
openstackgerrit | Merged openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server https://review.openstack.org/564365 | 00:42 |
openstackgerrit | Merged openstack/ansible-role-ara master: Install packages as a list instead of per item https://review.openstack.org/564367 | 00:42 |
openstackgerrit | Merged openstack/ansible-role-ara master: Provide a hook for overriding configuration https://review.openstack.org/564369 | 00:42 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Update license headers to match ARA https://review.openstack.org/564376 | 00:57 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Improve README with better examples https://review.openstack.org/564377 | 00:57 |
openstackgerrit | Merged openstack/ansible-role-ara master: Update license headers to match ARA https://review.openstack.org/564376 | 00:58 |
openstackgerrit | Merged openstack/ansible-role-ara master: Improve README with better examples https://review.openstack.org/564377 | 00:58 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Fix RST syntax typo https://review.openstack.org/564379 | 00:59 |
openstackgerrit | Merged openstack/ansible-role-ara master: Fix RST syntax typo https://review.openstack.org/564379 | 01:00 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add support for custom context/application root https://review.openstack.org/484378 | 01:32 |
*** jparrill_ has joined #ara | 02:07 | |
*** BlessJah_ has joined #ara | 02:11 | |
*** BlessJah has quit IRC | 02:12 | |
*** jlozadad[m] has quit IRC | 02:12 | |
*** jparrill has quit IRC | 02:12 | |
*** bcoca has quit IRC | 03:57 | |
hiroki | dmsimard: thank you for the patch ! I'm trying to apply the code changes to an ara 0.14.6 installation. However, I can't find the cofnig/base.py file or another file that seems to be the proper place for the commited changes. Am I supposed to be using a different or perhaps newer version of ARA to apply the patch to ? (the paste.openstack URL is unreachable at the moment..) | 05:48 |
*** grumpyowl has joined #ara | 06:42 | |
*** gvincent has joined #ara | 06:45 | |
*** DrWaluigi has quit IRC | 06:46 | |
*** DrWaluigi has joined #ara | 06:48 | |
grumpyowl | Hi, is there any feature planned in the near future to prevent ansible process from failing when there's a problem with DB connection? | 08:18 |
*** sshnaidm|off is now known as sshnaidm | 08:19 | |
grumpyowl | I'm looking for a transparent solution to log my plays, but I don't want it to fail when there's an issue with DB. In this case I would simply like the process to continue and not gather any data with ara | 08:20 |
*** jlozadad[m] has joined #ara | 08:50 | |
*** jlozadad[m] has quit IRC | 09:39 | |
*** jlozadad[m] has joined #ara | 10:20 | |
dmsimard | hiroki: need to install master | 11:44 |
dmsimard | With that patch checked out | 11:44 |
dmsimard | Clone ARA from GitHub, then: | 11:46 |
dmsimard | git fetch https://git.openstack.org/openstack/ara refs/changes/78/484378/10 && git checkout FETCH_HEAD | 11:46 |
dmsimard | And pip install . | 11:46 |
dmsimard | grumpyowl: yes but it's not exactly easy. In fact I have an issue with upstream Ansible for that: https://github.com/ansible/ansible/issues/27705 | 11:49 |
*** sshnaidm is now known as notsshnaidm | 12:10 | |
*** notsshnaidm is now known as nosshnaidm | 12:10 | |
*** nosshnaidm is now known as sshnaidm | 12:10 | |
*** paulfantom has quit IRC | 12:40 | |
*** tristanC has joined #ara | 12:42 | |
*** bcoca has joined #ara | 13:06 | |
*** bcoca has joined #ara | 13:06 | |
grumpyowl | dmsimard: understood, however my case is slightly different: When ara callback fails (not hangs) due to DB being inaccessible, I don't want it to fail entire playbook execution | 13:22 |
*** mhu has joined #ara | 13:25 | |
mhu | Hi, I've been experimenting with adding color to the ansible logs that are exported by zuul, but upstream's not too keen on it (with reason, escape codes make everything hard to read or process) so I was thinking we could have this feature in ARA | 13:27 |
mhu | Like a "download this playbook's log" button on the report page that would prepare a log template similar to what you'd get from running the playbook in a terminal | 13:27 |
mhu | WDYT? | 13:28 |
dmsimard | mhu: hey o/ | 13:44 |
dmsimard | mhu: so if you look at the records of this playbook run: http://logs.openstack.org/78/484378/10/check/ara-integration-fedora-py35-devel/60966b5/logs/build/reports/ae03a0c3-fc94-4c7c-a2e2-e7defe730deb.html | 13:45 |
dmsimard | you'll see that one of them has the full ansible playbook output | 13:45 |
dmsimard | It's done this way: https://github.com/openstack/ara/blob/master/run_tests.sh#L129-L130 | 13:46 |
dmsimard | https://github.com/openstack/ara/blob/master/run_tests.sh#L159-L160 | 13:46 |
dmsimard | records are basically arbitrary key/values with different types and rendering (list, dict, json, raw text, etc.) | 13:46 |
mhu | dmsimard, nice, are records activated by default or do you need to use the role ara_record in your playbook? | 13:46 |
dmsimard | Since there is already this rendering logic built in, perhaps there could be an "ansible playbook" rendering mechanism of sorts | 13:47 |
dmsimard | I've already mentioned in the past that it might be useful to be able to render markdown and restructured text | 13:47 |
dmsimard | (for example) | 13:47 |
mhu | is this output the raw ansible output, or is it generated from something else ? | 13:48 |
dmsimard | mhu: records are available by default in the UI but using ara_record requires the ara modules to be in the library path (export ANSIBLE_ACTION_PLUGINS=...) | 13:48 |
dmsimard | mhu: it's the raw ansible output because look at the links I sent | 13:49 |
dmsimard | https://github.com/openstack/ara/blob/master/run_tests.sh#L129-L130 runs a playbook and uses tee to reproduce the output in a log file | 13:49 |
dmsimard | then https://github.com/openstack/ara/blob/master/run_tests.sh#L159-L160 reads that file and adds it as a record to the playbook run | 13:49 |
mhu | alright | 13:49 |
dmsimard | Maybe there is a better way but I haven't quite found how yet. The problem is that the callback doesn't receive the raw output -- the only way to get the full output (other than that) would be to wrap around the ansible-playbook command (ex: ara-playbook -i hosts playbook.yml) and I'd like to avoid that | 13:50 |
dmsimard | maybe a combination of https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/log_plays.py which would automatically log the output to a file and then have the callback run a record automatically at the end of the playbook | 13:51 |
dmsimard | So you enable log_plays which logs to a file, and then there is a special ara callback which creates a record with the contents of that file automatically | 13:53 |
dmsimard | with the v2_playbook_on_stats hook or something | 13:53 |
dmsimard | bcoca: ^ am I saying nonsense ? Callbacks don't have access to the actual stdout output right ? | 13:53 |
dmsimard | grumpyowl: yeah, I understand -- I don't have a solution for you right now. I can try and see if there is something I can do but not for the upcoming release, it has already been delayed too much :( | 13:54 |
dmsimard | grumpyowl: I suppose sqlite is not an option ? | 13:54 |
bcoca | not yet | 13:57 |
dmsimard | bcoca: yet? oh | 13:57 |
bcoca | https://github.com/ansible/ansible/pull/32280 | 13:57 |
bcoca | imo they should handle all output, including errors and warnings | 13:58 |
dmsimard | mhu: if you're interested in investigating that option, I can point you in the right direction | 14:11 |
*** tbielawa has joined #ara | 14:28 | |
*** spiette has joined #ara | 14:56 | |
*** grumpyowl has quit IRC | 15:03 | |
-openstackstatus- NOTICE: We've successfully troubleshooted the issue that prevented paste.openstack.org from loading and it's now back online, thank you for your patience. | 15:04 | |
*** spiette has quit IRC | 15:06 | |
*** tbielawa is now known as tbielawa|brb | 15:10 | |
*** tbielawa|brb is now known as tbielawa | 15:38 | |
*** Bakey has joined #ara | 15:46 | |
*** spiette has joined #ara | 15:50 | |
*** tbielawa is now known as tbielawa|lunch | 16:53 | |
*** harlowja has joined #ara | 18:46 | |
*** paulfantom has joined #ara | 19:30 | |
*** tbielawa|lunch is now known as tbielawa | 19:56 | |
*** jlozadad_ has quit IRC | 20:03 | |
*** sshnaidm is now known as sshnaidm|off | 20:39 | |
*** jlozadad_ has joined #ara | 21:16 | |
*** BlessJah_ is now known as BlessJah | 21:32 | |
*** tbielawa has quit IRC | 22:43 | |
*** jmccrory has quit IRC | 23:17 | |
*** jmccrory has joined #ara | 23:18 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!