Wednesday, 2018-06-20

*** bcoca has quit IRC02:35
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793303:03
*** mnaser has quit IRC03:42
*** mnaser has joined #ara03:45
*** zxiiro has quit IRC03:49
*** sparky_005 has quit IRC03:49
*** paulfantom has quit IRC03:50
*** berendt_ has quit IRC03:51
*** mnaser has quit IRC03:51
*** boxrick has quit IRC03:51
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Refactor ara-server into namespaced python modules  https://review.openstack.org/57670003:58
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add basic jobs for ara-server  https://review.openstack.org/57670103:58
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: Refactor ara-plugins as a namespaced module  https://review.openstack.org/57670404:07
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: First iteration of the callback plugin  https://review.openstack.org/57670504:07
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: Add tox-pep8 gate job  https://review.openstack.org/57670604:07
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: Bootstrap the ara-clients repository  https://review.openstack.org/57671004:18
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: First iteration of the offline API client  https://review.openstack.org/57671104:18
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: First iteration of callback using API  https://review.openstack.org/57664904:22
*** openstack has joined #ara04:30
*** ChanServ sets mode: +o openstack04:30
*** jcl has quit IRC04:43
*** jcl has joined #ara04:44
*** paulfantom has joined #ara05:21
*** zxiiro has joined #ara05:25
*** berendt_ has joined #ara05:36
*** mnaser has joined #ara05:42
*** mnaser has quit IRC05:51
*** boxrick has joined #ara05:52
*** paulfantom has quit IRC05:57
*** berendt_ has quit IRC05:57
*** zxiiro has quit IRC05:57
*** boxrick has quit IRC05:58
*** mnaser has joined #ara06:10
*** boxrick has joined #ara06:20
*** zxiiro has joined #ara06:21
*** paulfantom has joined #ara06:21
*** berendt_ has joined #ara06:22
*** gvincent has joined #ara06:32
*** jcl has quit IRC06:51
*** sparky_005 has joined #ara06:57
openstackgerritGuillaume Vincent proposed openstack/ara-server master: Fix flake8 and bandit tests  https://review.openstack.org/57677107:40
openstackgerritGuillaume Vincent proposed openstack/ara-server master: Fix flake8 and bandit tests  https://review.openstack.org/57677107:42
*** sunguangning has joined #ara08:19
*** sunguangning has quit IRC08:41
*** sunguangning has joined #ara08:42
*** sshnaidm|afk is now known as sshnaidm08:57
*** rvgate has joined #ara09:27
*** jlozadad has quit IRC10:15
openstackgerritMerged openstack/ara-server master: Add completed attribute to plays and tasks, remove files from tasks  https://review.openstack.org/57664711:43
*** rvgate has quit IRC12:10
*** rvgate has joined #ara12:10
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Improve default django logging settings  https://review.openstack.org/57664812:12
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: First iteration of callback using API  https://review.openstack.org/57664912:14
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Refactor ara-server into namespaced python modules  https://review.openstack.org/57670012:21
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Refactor ara-server into namespaced python modules  https://review.openstack.org/57670012:39
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add basic jobs for ara-server  https://review.openstack.org/57670112:39
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Fix flake8 and bandit tests  https://review.openstack.org/57677112:39
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Make tox-pep8 job gating  https://review.openstack.org/57683912:41
openstackgerritMerged openstack/ara-server master: Improve default django logging settings  https://review.openstack.org/57664812:41
openstackgerritMerged openstack/ara-server master: First iteration of callback using API  https://review.openstack.org/57664912:42
openstackgerritMerged openstack/ara-server master: Refactor ara-server into namespaced python modules  https://review.openstack.org/57670012:42
openstackgerritMerged openstack/ara-plugins master: Refactor ara-plugins as a namespaced module  https://review.openstack.org/57670412:45
openstackgerritMerged openstack/ara-plugins master: First iteration of the callback plugin  https://review.openstack.org/57670512:45
*** myoung|off is now known as myoung12:48
openstackgerritMerged openstack/ara-clients master: Bootstrap the ara-clients repository  https://review.openstack.org/57671012:53
openstackgerritMerged openstack/ara-clients master: First iteration of the offline API client  https://review.openstack.org/57671112:53
openstackgerritMerged openstack/ara-plugins master: Add tox-pep8 gate job  https://review.openstack.org/57670612:53
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: Add ara-server to ara-clients requirements  https://review.openstack.org/57685013:20
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: Add ara-server to ara-clients requirements  https://review.openstack.org/57685013:22
openstackgerritMerged openstack/ara-server master: Add basic jobs for ara-server  https://review.openstack.org/57670113:28
openstackgerritMerged openstack/ara-server master: Fix flake8 and bandit tests  https://review.openstack.org/57677113:28
openstackgerritMerged openstack/ara-server master: Make tox-pep8 job gating  https://review.openstack.org/57683913:28
*** themurph has joined #ara13:30
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: Add ansible and ara-clients as requirements for ara-plugins  https://review.openstack.org/57686113:39
*** Bakey has joined #ara13:48
*** bcoca has joined #ara13:59
*** bcoca has joined #ara13:59
*** tbielawa has joined #ara14:02
openstackgerritMerged openstack/ara-clients master: Add ara-server to ara-clients requirements  https://review.openstack.org/57685014:04
*** themurph has quit IRC14:05
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: Rename ARA default callback to ara_default  https://review.openstack.org/57687014:16
openstackgerritDavid Moreau Simard proposed openstack/ara-plugins master: Fix import of the offline client  https://review.openstack.org/57687114:16
openstackgerritMerged openstack/ara-plugins master: Add ansible and ara-clients as requirements for ara-plugins  https://review.openstack.org/57686114:16
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: Rename offline client class and fix django bootstrap  https://review.openstack.org/57687214:18
openstackgerritDavid Moreau Simard proposed openstack/ara-clients master: Don't pass kwargs to the client if there isn't any  https://review.openstack.org/57688214:41
*** rvgate has quit IRC14:48
openstackgerritMerged openstack/ara-clients master: Rename offline client class and fix django bootstrap  https://review.openstack.org/57687215:14
openstackgerritMerged openstack/ara-clients master: Don't pass kwargs to the client if there isn't any  https://review.openstack.org/57688215:14
openstackgerritMerged openstack/ara-plugins master: Rename ARA default callback to ara_default  https://review.openstack.org/57687015:14
openstackgerritMerged openstack/ara-plugins master: Fix import of the offline client  https://review.openstack.org/57687115:14
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Remove stray database file  https://review.openstack.org/57689315:30
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add a basic job to test integration between server, clients and plugins  https://review.openstack.org/57689415:30
openstackgerritMerged openstack/ara master: Fix broken link in contribution docs for git-review  https://review.openstack.org/57524115:35
*** tbielawa has quit IRC15:41
*** tbielawa has joined #ara15:42
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add a basic job to test integration between server, clients and plugins  https://review.openstack.org/57689415:48
*** themurph has joined #ara15:51
*** themurph has quit IRC15:51
dmsimardgvincent: integration job to quickly test ara-server/ara-plugins/ara-clients integration \o/ http://logs.openstack.org/94/576894/2/check/ara-server-ansible-integration/e8f9c24/ara-report/result/5ad9d94b-eabe-4330-b505-267f6b21de9b/16:13
dmsimardtroubleshooting ara jobs with ara when developing ara = awesome16:15
*** jcl has joined #ara16:49
*** sshnaidm is now known as sshnaidm|off16:52
*** tbielawa is now known as tbielawa|mtg16:57
openstackgerritMerged openstack/ara-server master: Remove stray database file  https://review.openstack.org/57689317:03
openstackgerritMerged openstack/ara-server master: Add a basic job to test integration between server, clients and plugins  https://review.openstack.org/57689417:04
Bakeydmsimard: pulling this back into channel17:07
Bakeybasically we'd use ara_record to gather a bunch of app-related info on each of our servers17:08
Bakeythen we can ara_read to help generate some pretty HTML reporty things for folks to use17:08
Bakeywait....the ara facts can be stored in mysql right?17:09
dmsimardBakey: ara_record makes it a bit awkward when you want to have N values for one thing (i.e, one value per host) because then you need to suffix/prefix things since the key is unique -- ara_record is best used for single things that are global to the entire report17:09
dmsimardBakey: perhaps an option you might want to consider is setting a persistent fact (/etc/ansible/facts.d I think?) and then loading that -- ara will pick it up and it'll be available in the host facts17:10
dmsimardhttps://medium.com/@jezhalford/ansible-custom-facts-1e1d1bf65db817:10
dmsimardbrb17:10
Bakeyyes but I don't know what I want my facts to be yet17:11
Bakeybasically I'm looking for a way to generate an app inventory based on querying a server for the apps running on it17:11
BakeyTomcat or JBOSS in my case17:11
Bakeyand then writing out several facts about what is found to somewhere that can be used to generate a "report"17:11
dmsimardBakey: yeah it's a bit too abstract for me to give any precise direction and I haven't done Tomcat in a LOOONG time17:21
dmsimardBakey: your custom fact can be written in python, java, bash, whatever -- so long as it's executable and has a .fact extension17:23
dmsimardapparently it can be ini files too, I found an example here: https://github.com/openstack/openstack-ansible/blob/master/playbooks/common-tasks/restart-service.yml#L42-L4717:25
dmsimardand then it's available as a fact in ara, like for example in the hosts section of http://logs.openstack.org/95/576295/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/96e81ff/logs/ara-report/reports/4cbb10be-1397-4875-964a-c7d7708b849e.html17:26
dmsimardfact in question: http://logs.openstack.org/95/576295/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/96e81ff/logs/ara-report/host/3d6b7379-ddb7-49e8-b6e2-7213f3cb1105/17:26
dmsimardneed to afk for a while17:26
Bakeyyeah problem is I'm multi tenant so i can't set facts per host I need to set facts per app with X apps per host17:28
Bakeynot sure how to use custom facts to get me there17:28
*** SpamapS has quit IRC17:46
*** tbielawa|mtg is now known as tbielawa17:47
*** myoung is now known as myoung|lunch18:11
*** tbielawa is now known as tbielawa|lunch18:18
*** tbielawa|lunch is now known as tbielawa19:02
*** myoung|lunch is now known as myoung19:06
*** jcl has quit IRC20:24
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: WIP: Add API endpoints for hosts and results  https://review.openstack.org/57697420:32
*** jcl has joined #ara20:35
*** tbielawa has quit IRC20:46
*** myoung is now known as myoung|off21:07
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add API endpoints for hosts and results  https://review.openstack.org/57697422:17
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add missing unit tests for plays API endpoint  https://review.openstack.org/57700522:49
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add missing unit tests for tasks API endpoint  https://review.openstack.org/57700622:49
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add API endpoints for hosts  https://review.openstack.org/57697422:59
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add API endpoints for results  https://review.openstack.org/57700822:59
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add missing unit tests for tasks API endpoint  https://review.openstack.org/57700623:08
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add API endpoints for hosts  https://review.openstack.org/57697423:08
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add API endpoints for results  https://review.openstack.org/57700823:08
openstackgerritDavid Moreau Simard proposed openstack/ara-server master: Add comments to describe bytestrings  https://review.openstack.org/57700923:08

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