Friday, 2017-05-26

*** cuongnv has joined #ara00:48
openstackgerritMerged openstack/ara master: Provide helpful return output on ara_record tasks  https://review.openstack.org/46804800:56
*** jparrill has joined #ara06:10
*** jparrill has quit IRC06:14
*** jparrill has joined #ara06:24
*** jclaret has joined #ara07:17
*** openstackgerrit has quit IRC07:48
*** karimb has joined #ara08:01
*** ishanjain has joined #ara08:29
ishanjainHi all08:35
*** viniciusfs has quit IRC08:45
ishanjainI have a setup where we maintain a large number of environments via Ansible playbooks and to keep a track of who changed what, we now have an ARA setup. At the end of (some very important) playbooks, we generate a sort of repo that goes to a text file. I was thinking about a best way to make this output file a part of the stats of an execution in A08:48
ishanjainRA. When i use ARA record module, the output is all messed up as it displays in JSON like format. When i use a simple cat command to output the generated report as a task, the output is pretty again but to reach it, one has to go all the way to the last 'task' and there see it. I was wondering if there is a way to make this report a part of the fil08:48
ishanjaines where it can be viewed nicely, or any other good idea around this.08:48
ishanjain@dmsimard: i know you are working on getting the include files recorded by ARA08:49
ishanjainbut any way we can explicitly do it within ansible playbook ?08:49
*** viniciusfs has joined #ara09:02
*** ishanjain has quit IRC10:30
*** viniciusfs has quit IRC10:32
*** cuongnv has quit IRC10:41
*** viniciusfs has joined #ara10:47
*** ishanjain has joined #ara10:55
dmsimardishanjain: there's a feature that merged yesterday that will allow you to add files with ara_record11:45
dmsimardishanjain: in this example, we replicate the output of the ansible-playbook command https://review.openstack.org/#/c/467696/5/run_tests.sh11:47
dmsimardAnd then the 'output' key is available here: http://logs.openstack.org/96/467696/5/gate/gate-ara-integration-latest-centos-7/5cdf12d/logs/build/reports/c7105996-412d-4728-89d0-0e8d34f4b17e.html11:48
dmsimardIn the records section11:48
dmsimardIn truth, it was already possible to save files with ara_record during a playbook, that particular commit adds the ability to do it after the playbook has finished.11:49
*** viniciusfs has quit IRC12:35
*** Sinergi has joined #ara12:50
*** viniciusfs has joined #ara12:51
SinergiHello, I am kindly seeking help, I ran into an issue during ARA install when running as a user without escalated permissions.  I am trying to cleanly uninstall ARA but failing to do so, 'pip uninstall ara' completes fine but re-installing 'sudo pip install ara' gives errors when typing 'ara' at cli12:56
Sinergihttps://www.irccloud.com/pastebin/FfKAJ383/12:57
dmsimardSinergi: that doesn't ring me a bell13:01
dmsimardSinergi: do you have any custom configuration for the database location ?13:02
SinergiI didn't get as far as that I'm afraid.  I was following the docs to install, I got as far as pip install ara, running into errors and then trying to remove ara to straight a fresh.13:03
SinergiOnce removing ARA and re-installing, I get the error above.13:03
Sinergi[smith@node-dev ~]$ ara13:04
SinergiTraceback (most recent call last):13:04
Sinergi  File "/usr/bin/ara", line 7, in <module>13:04
Sinergi    from ara.shell import main13:04
Sinergi  File "/usr/lib/python2.6/site-packages/ara/shell.py", line 18, in <module>13:04
Sinergi    from ara.webapp import create_app13:04
Sinergi  File "/usr/lib/python2.6/site-packages/ara/webapp.py", line 15, in <module>13:04
Sinergi    import ara.config13:04
Sinergi  File "/usr/lib/python2.6/site-packages/ara/config.py", line 88, in <module>13:04
Sinergi    'ARA_DATABASE': 'sqlite:///{}'.format(database_path)13:04
SinergiValueError: zero length field name in format13:04
dmsimardSinergi: please use a pastebin13:04
Sinergisorry! sure, I'm brand new :-/13:05
dmsimardSinergi: that error really doesn't make any sense :/ is this on python3 ?13:05
dmsimardno wait, that's 2.6 actually13:05
dmsimardara isn't supported on 2.6, you'll need to use 2.7 or later13:05
SinergiOk, thanks for confirming for me, I appreciate it :)13:06
dmsimardSinergi: no problem, what kind of system is this ?13:12
dmsimardSinergi: FWIW upstream Ansible is going to be dropping support for older versions of python sometime soon13:13
*** jparrill has quit IRC13:15
*** tbielawa has joined #ara13:26
SinergiIt's an old c6100 node that we use for accessing our systems that are locked down in the data centre.  It's on it's last legs so it should hopefully get replaced this year13:27
SinergiI'm quite new to ansible but came across ARA and wanted to give it a try.  I'll fire up a VM and try it from there13:28
SinergiThanks for your help13:28
dmsimardSinergi: all good, let me know if you have any questions :)13:29
*** jparrill has joined #ara13:30
*** viniciusfs has quit IRC13:57
*** karimb has quit IRC14:00
*** karimb has joined #ara14:11
*** viniciusfs has joined #ara14:13
*** ishanjain has quit IRC14:15
*** viniciusfs has quit IRC14:48
*** viniciusfs has joined #ara15:02
*** viniciusfs has quit IRC15:11
*** tbielawa is now known as tbielawa|lunch15:51
*** jclaret has quit IRC16:00
*** tbielawa|lunch is now known as tbielawa17:17
*** karimb has quit IRC17:57
*** tbielawa is now known as tbielawa|brb19:13
*** tbielawa|brb is now known as tbielawa19:26
*** redaudit has joined #ara19:56
*** tbielawa has quit IRC20:13
dmsimardharlowja: if you have a chance, can you take the master branch of ara for a spin and let me know if it does what you're looking for ? If not we can look at improvements before tagging the next release21:35
dmsimardnote that it does require you to configure two more Ansible things http://ara.readthedocs.io/en/latest/configuration.html#using-ansible-cfg21:35
dmsimardaction_plugins and library21:36
*** jparrill has quit IRC21:42
harlowjacools21:48
harlowjawill do21:48
*** jparrill has joined #ara22:05
*** jparrill has quit IRC23:29
*** redaudit has quit IRC23:34
*** redaudit has joined #ara23:38

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