Thursday, 2018-04-26

openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server  https://review.openstack.org/56436500:04
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Install packages as a list instead of per item  https://review.openstack.org/56436700:04
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Provide a hook for overriding configuration  https://review.openstack.org/56436900:04
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Refactor installation, configuration and web server implementation  https://review.openstack.org/56436200:39
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Add logrotate configuration  https://review.openstack.org/56436300:39
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: We don't need to check if selinux is enforcing  https://review.openstack.org/56436400:39
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server  https://review.openstack.org/56436500:39
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Install packages as a list instead of per item  https://review.openstack.org/56436700:39
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Provide a hook for overriding configuration  https://review.openstack.org/56436900:39
openstackgerritMerged openstack/ansible-role-ara master: Refactor installation, configuration and web server implementation  https://review.openstack.org/56436200:42
openstackgerritMerged openstack/ansible-role-ara master: Add logrotate configuration  https://review.openstack.org/56436300:42
openstackgerritMerged openstack/ansible-role-ara master: We don't need to check if selinux is enforcing  https://review.openstack.org/56436400:42
openstackgerritMerged openstack/ansible-role-ara master: Add support for nginx with reverse proxy to embedded server  https://review.openstack.org/56436500:42
openstackgerritMerged openstack/ansible-role-ara master: Install packages as a list instead of per item  https://review.openstack.org/56436700:42
openstackgerritMerged openstack/ansible-role-ara master: Provide a hook for overriding configuration  https://review.openstack.org/56436900:42
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Update license headers to match ARA  https://review.openstack.org/56437600:57
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Improve README with better examples  https://review.openstack.org/56437700:57
openstackgerritMerged openstack/ansible-role-ara master: Update license headers to match ARA  https://review.openstack.org/56437600:58
openstackgerritMerged openstack/ansible-role-ara master: Improve README with better examples  https://review.openstack.org/56437700:58
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Fix RST syntax typo  https://review.openstack.org/56437900:59
openstackgerritMerged openstack/ansible-role-ara master: Fix RST syntax typo  https://review.openstack.org/56437901:00
openstackgerritDavid Moreau Simard proposed openstack/ara master: Add support for custom context/application root  https://review.openstack.org/48437801:32
*** jparrill_ has joined #ara02:07
*** BlessJah_ has joined #ara02:11
*** BlessJah has quit IRC02:12
*** jlozadad[m] has quit IRC02:12
*** jparrill has quit IRC02:12
*** bcoca has quit IRC03:57
hirokidmsimard: 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 #ara06:42
*** gvincent has joined #ara06:45
*** DrWaluigi has quit IRC06:46
*** DrWaluigi has joined #ara06:48
grumpyowlHi, 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 sshnaidm08:19
grumpyowlI'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 ara08:20
*** jlozadad[m] has joined #ara08:50
*** jlozadad[m] has quit IRC09:39
*** jlozadad[m] has joined #ara10:20
dmsimardhiroki: need to install master11:44
dmsimardWith that patch checked out11:44
dmsimardClone ARA from GitHub, then:11:46
dmsimardgit fetch https://git.openstack.org/openstack/ara refs/changes/78/484378/10 && git checkout FETCH_HEAD11:46
dmsimardAnd pip install .11:46
dmsimardgrumpyowl: yes but it's not exactly easy. In fact I have an issue with upstream Ansible for that: https://github.com/ansible/ansible/issues/2770511:49
*** sshnaidm is now known as notsshnaidm12:10
*** notsshnaidm is now known as nosshnaidm12:10
*** nosshnaidm is now known as sshnaidm12:10
*** paulfantom has quit IRC12:40
*** tristanC has joined #ara12:42
*** bcoca has joined #ara13:06
*** bcoca has joined #ara13:06
grumpyowldmsimard: 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 execution13:22
*** mhu has joined #ara13:25
mhuHi, 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 ARA13:27
mhuLike 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 terminal13:27
mhuWDYT?13:28
dmsimardmhu: hey o/13:44
dmsimardmhu: 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.html13:45
dmsimardyou'll see that one of them has the full ansible playbook output13:45
dmsimardIt's done this way: https://github.com/openstack/ara/blob/master/run_tests.sh#L129-L13013:46
dmsimardhttps://github.com/openstack/ara/blob/master/run_tests.sh#L159-L16013:46
dmsimardrecords are basically arbitrary key/values with different types and rendering (list, dict, json, raw text, etc.)13:46
mhudmsimard, nice, are records activated by default or do you need to use the role ara_record in your playbook?13:46
dmsimardSince there is already this rendering logic built in, perhaps there could be an "ansible playbook" rendering mechanism of sorts13:47
dmsimardI've already mentioned in the past that it might be useful to be able to render markdown and restructured text13:47
dmsimard(for example)13:47
mhuis this output the raw ansible output, or is it generated from something else ?13:48
dmsimardmhu: 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
dmsimardmhu: it's the raw ansible output because look at the links I sent13:49
dmsimardhttps://github.com/openstack/ara/blob/master/run_tests.sh#L129-L130 runs a playbook and uses tee to reproduce the output in a log file13:49
dmsimardthen https://github.com/openstack/ara/blob/master/run_tests.sh#L159-L160 reads that file and adds it as a record to the playbook run13:49
mhualright13:49
dmsimardMaybe 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 that13:50
dmsimardmaybe 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 playbook13:51
dmsimardSo 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 automatically13:53
dmsimardwith the v2_playbook_on_stats hook or something13:53
dmsimardbcoca: ^ am I saying nonsense ? Callbacks don't have access to the actual stdout output right ?13:53
dmsimardgrumpyowl: 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
dmsimardgrumpyowl: I suppose sqlite is not an option ?13:54
bcocanot yet13:57
dmsimardbcoca: yet? oh13:57
bcocahttps://github.com/ansible/ansible/pull/3228013:57
bcocaimo they should handle all output, including errors and warnings13:58
dmsimardmhu: if you're interested in investigating that option, I can point you in the right direction14:11
*** tbielawa has joined #ara14:28
*** spiette has joined #ara14:56
*** grumpyowl has quit IRC15: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 IRC15:06
*** tbielawa is now known as tbielawa|brb15:10
*** tbielawa|brb is now known as tbielawa15:38
*** Bakey has joined #ara15:46
*** spiette has joined #ara15:50
*** tbielawa is now known as tbielawa|lunch16:53
*** harlowja has joined #ara18:46
*** paulfantom has joined #ara19:30
*** tbielawa|lunch is now known as tbielawa19:56
*** jlozadad_ has quit IRC20:03
*** sshnaidm is now known as sshnaidm|off20:39
*** jlozadad_ has joined #ara21:16
*** BlessJah_ is now known as BlessJah21:32
*** tbielawa has quit IRC22:43
*** jmccrory has quit IRC23:17
*** jmccrory has joined #ara23:18

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!