Tuesday, 2017-04-18

*** themurph_ has quit IRC00:27
*** cuongnv has joined #ara01:02
*** cuongnv has quit IRC06:02
*** cuongnv has joined #ara06:02
*** jparrill has joined #ara06:08
*** karimb has joined #ara08:05
*** karimb has quit IRC08:20
*** openstackgerrit has quit IRC08:33
*** karimb has joined #ara08:54
*** mikel has joined #ara09:09
*** cuongnv has quit IRC10:12
*** mikel has quit IRC11:07
*** mikel has joined #ara11:21
*** karimb has quit IRC11:40
*** karimb has joined #ara12:32
*** gundalow has quit IRC13:06
*** gundalow has joined #ara13:07
*** dmsimard|afk is now known as dmsimard13:15
*** ChanServ sets mode: +o dmsimard13:16
*** themurph has joined #ara13:37
*** tbielawa has joined #ara14:23
*** tbielawa has quit IRC14:38
*** tbielawa has joined #ara14:40
*** jparrill has quit IRC15:05
*** mikel has quit IRC16:04
*** karimb has quit IRC16:47
*** harlowja_ has joined #ara16:50
*** mikel has joined #ara16:52
*** harlowja has quit IRC16:52
*** Selva has joined #ara17:04
*** openstackgerrit has joined #ara17:53
openstackgerritDavid Moreau Simard proposed openstack/ara master: Stop integration testing database migrations explicitely  https://review.openstack.org/45774817:53
openstackgerritDavid Moreau Simard proposed openstack/ara master: Move the tooltip for playbook path to be on the actual file name  https://review.openstack.org/45775017:58
dmsimardlogan-: fyi: https://review.openstack.org/#/c/457750/17:58
*** tbielawa is now known as tbielawa|lunch18:25
openstackgerritDavid Moreau Simard proposed openstack/ara master: Perf: Only count things once and do not iterate playbook list twice  https://review.openstack.org/45775918:25
*** Madhu has joined #ara18:53
MadhuHello everyone18:54
openstackgerritDavid Moreau Simard proposed openstack/ara master: Perf: Only count things once and do not iterate playbook list twice  https://review.openstack.org/45775918:54
MadhuI am having an issue in ara where I am running the playbook in jenkins , ARA is not getting updated with results18:54
dmsimardMadhu: how are you using ARA right now ?18:55
MadhuJenkins and ansible are running on the same server18:55
MadhuWhen I invoke playbook manually on the server, ARA is getting update18:56
MadhuBut If i run with jenkins with build parameters, its not getting updated18:56
openstackgerritMerged openstack/ara master: Stop integration testing database migrations explicitely  https://review.openstack.org/45774818:56
dmsimardMadhu: you need to make sure you're using the same database18:57
dmsimardthe default ara database path is ~/.ara/ansible.sqlite18:57
dmsimardso if jenkins is the one running it, it might end up being /var/lib/jenkins/.ara/ansible.sqlite or something (for example)18:58
Madhuyeah i can see the sqlite databse folder under /var/lib/jenkins18:58
Madhuyou are right18:58
Madhuhow can I avoid this18:59
dmsimardMadhu: you need to specify the location of the database you want to use18:59
dmsimardthere's documentation on how to do it here: http://ara.readthedocs.io/en/latest/configuration.html18:59
dmsimardthe easiest way would be something like "export ARA_DATABASE=sqlite:////tmp/jenkins.sqlite" or something, replace by the path you really want19:00
dmsimardjust have to make sure that jenkins has read and write access to the location where you'll be storing the database19:00
Madhuokay thank you dmsimard. I will change it and try19:01
openstackgerritDavid Moreau Simard proposed openstack/ara master: Perf: Only count things once and do not iterate playbook list twice  https://review.openstack.org/45775919:19
*** tbielawa|lunch is now known as tbielawa19:31
*** Selva has quit IRC19:57
*** Madhu has quit IRC20:05
*** Madhu has joined #ara20:06
Madhu@dmsimard20:23
Madhudo i have to change the permissios for the .ara folder to 777 under jenkins?20:23
Madhuplease let me know20:28
*** openstackgerrit has quit IRC20:33
Madhuthis is what i mentioned in the ARA Database20:33
Madhusqlite:////var/lib/jenkins/.ara/ansible.sqlite20:33
Madhui changed the folder .ara and the ansible.sqlite to 777 exec20:34
Madhuis this fine20:34
Madhuecho $ARA_DATABASE sqlite:////var/lib/jenkins/.ara/ansible.sqlite20:38
dmsimardMadhu: putting things in 777 is never a good idea21:03
dmsimardMadhu: put your database somewhere where you can set reasonable permissions so that whoever needs to access it can do it21:03
dmsimardyou can create a /var/lib/ara, a /home/ara folder, whatever -- and adjust user/group memberships21:04
dmsimardThat's outside the scope of ara, it's just linux system administration best practices :)21:04
*** tbielawa has quit IRC21:09
*** openstackgerrit has joined #ara21:14
openstackgerritMerged openstack/ara master: Perf: Only count things once and do not iterate playbook list twice  https://review.openstack.org/45775921:14
*** mikel has quit IRC23:14

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