Friday, 2018-06-01

*** harlowja has quit IRC00:58
*** dougbtv__ has joined #ara02:15
*** dougbtv_ has quit IRC02:15
*** bcoca has quit IRC02:17
*** dcreno has quit IRC02:49
*** dcreno has joined #ara02:59
*** dcreno has quit IRC03:03
*** dcreno has joined #ara03:11
*** dcreno has quit IRC03:15
*** dcreno has joined #ara03:22
*** dcreno has quit IRC03:26
*** dcreno has joined #ara03:28
*** dcreno has quit IRC03:32
*** larsks has quit IRC03:34
*** larsks has joined #ara03:35
*** dougbtv__ has quit IRC03:44
*** rvgate has quit IRC03:44
*** jmccrory has quit IRC03:44
*** berendt_ has quit IRC03:44
*** zxiiro has quit IRC03:44
*** tristanC has quit IRC03:44
*** harlowja has joined #ara04:17
*** harlowja has quit IRC04:20
*** sshnaidm_pto has joined #ara06:35
*** gvincent has quit IRC07:09
*** gvincent has joined #ara07:11
*** dougbtv__ has joined #ara07:47
*** rvgate has joined #ara07:47
*** jmccrory has joined #ara07:47
*** berendt_ has joined #ara07:47
*** tristanC has joined #ara07:47
*** zxiiro has joined #ara07:47
*** rvgate has quit IRC07:49
*** rvgate has joined #ara07:50
*** jparrill has joined #ara08:19
*** sshnaidm_pto has quit IRC08:29
*** sshnaidm_pto has joined #ara08:30
*** sshnaidm_pto has quit IRC08:36
*** sshnaidm_pto has joined #ara08:51
hughsaundersdmsimard: I see you already talked to odyssey4me about this, and the static thing is not long term. I'll give up trying to get that to work with swift. I really should have remembered from last time that this doesn't work and isn't easy to fix..09:05
*** jparrill has quit IRC09:20
*** sshnaidm_pto has quit IRC09:20
hughsaundersTurns out swift/cloudfiles can redirect / --> /index.html. By setting X-Container-Meta-Web-Index: index.html. I was already setting that header but on a request to the wrong endpoint #doh.09:59
openstackgerritArtem Goncharov proposed openstack/ara master: repair apache mod_wsgi configuration  https://review.openstack.org/57169911:10
*** dougbtv__ is now known as dougbtv11:11
*** dcreno has joined #ara11:25
*** sshnaidm_pto has joined #ara11:26
*** dcreno has quit IRC11:26
openstackgerritArtem Goncharov proposed openstack/ara master: repair apache mod_wsgi configuration  https://review.openstack.org/57169911:46
*** jlozadad has joined #ara12:06
*** gtema has joined #ara12:24
*** dcreno has joined #ara12:46
*** dcreno has quit IRC12:50
*** dcreno has joined #ara12:50
*** ara-slack1 has quit IRC13:04
*** ara-slack has joined #ara13:04
*** ara-slack has joined #ara13:04
*** ChanServ sets mode: +v ara-slack13:04
*** tbielawa has joined #ara13:10
*** gvincent has quit IRC13:13
*** gvincent has joined #ara13:24
*** themurph has joined #ara13:33
dmsimardhughsaunders: hey o/ sorry I missed you14:39
dmsimardyeah I discussed this with odyssey4me yesterday14:39
hughsaundersdmsimard: no problem, it now works :DD14:39
dmsimardI did mention that when I tried out s3, I had to do the same index thing -- they had a setting for it14:40
hughsaundersyeah14:40
dmsimardgood thing it's there for cloudfiles too14:40
dmsimardI wonder if it's worth documenting14:40
hughsaundersI thought was enabling the index thing, but I was hitting the wrong endpoint with my request..14:40
hughsaundersfixed that and now all is good14:40
hughsaundersthough we'll have to rethink if the static generator is going away14:40
dmsimardhughsaunders: yeah, it's a bit early to tell if 1.0 will provide something like that, it depends if there is something in the django ecosystem that's able to do it fairly easily (and efficiently)14:41
dmsimardThe need is to be able to easily upload your reports and browse them without complicated dependencies, we'll make that happen14:42
dmsimardNot sure how yet -- the sqlite middleware approach will likely be ported14:42
hughsaundershttps://github.com/datadesk/django-bakery14:44
hughsaundersdmsimard: out of interest why the move to django?14:46
dmsimardhughsaunders: I've put a ton of work in 1.0 based on the current backend with flask by using flask-restful: https://github.com/openstack/ara/tree/feature/1.014:47
dmsimardHowever, I was convinced to switch to django -- not so much for django itself but rather for django-rest-framework which is ridiculously good, maintained and developed. flask-restful is not very active.14:48
dmsimardAWX/Tower uses django/django-rest-framework as well but that didn't really influence the decision14:49
dmsimardYou can see an early version of the django backend/model/API here: https://github.com/openstack/ara-server14:49
hughsaundersdmsimard: might as well switch to vuejs while you're at it :p14:50
*** tbielawa is now known as tbielawa|brb14:51
dmsimardhughsaunders: I'm not 100% sure we've made up our mind. gvincent did bring up vuejs but we might end up using react because that's where patternfly (our css framework) is focusing I think.14:53
dmsimardI suck at frontend though, but there's plenty of opportunities to contribute if you'd like :)14:53
gvincent:D14:53
gvincentas long as you do not ask me to do Angular14:54
gvincenti'm fine14:54
dmsimardI honestly do not have a personal preference in JS frameworks, so long as we pick something that's maintained and hopefully simple enough14:55
hughsaundersHeh, I know nothing about frontend, but I'm doing a project in vue at the moment because it looked the least daunting of the current options!14:55
dmsimardhughsaunders: exactly my feelings :p14:55
dmsimardhughsaunders: so anyway, the general idea with 1.0 is that the core will be very focused: A database model and an API. You'll then have things leveraging that API, whether it's the callbacks, the web UI, etc. If someone wants to leverage the API to generate a static report of sorts I'm not going to stop them14:59
dmsimardThe API will open up a lot of interesting opportunities I think. Programmatically retrieving failed playbooks/tasks for monitoring/alerting, using metrics, etc.15:00
*** Bakey has joined #ara15:10
hughsaundersdmsimard: sounds interesting, so we could standup one api instance somewhere and point all our playbook runs at it?15:12
hughsaundersWould need a way of grouping playbook executions - eg all playbooks associated with a Jenkins build for example.15:13
dmsimardhughsaunders: yup, there will be a feature to logically group playbooks15:17
dmsimardhughsaunders: in the context of zuul, this could be used to define the "pre", "run" and "post" playbooks, for example.. or "setup", "install", "configure", etc. it'll be generic.15:17
hughsaundersdmsimard: bonus points for a generalised tag system15:18
dmsimardthat's the intent, yes15:18
dmsimardright now everything ties back to a playbook in the model but we'd like to have a layer on top to arbitrarily group playbooks together.15:19
hughsaundersYass, sounds great. Thanks for all your work on ARA :)15:19
dmsimardpeople could use this to group different playbooks into a single report or, for example, have a generic tag and people interested in that tag can follow that or something15:20
dmsimardi.e, "openstack rdo ci" and then you just keep on piling things into that tag so you know where to find those reports15:20
dmsimardthis would be very generic so people can do what they can15:20
dmsimardI haven't found exactly how tags will be passed -- i.e, how to identify that a playbook is part of a tag15:21
dmsimardan env var has been suggested but I find that a bit clunky15:22
hughsaundersNice thing about an env var, is that they are easy to inject without modifying stuff - so CI environments could inject tags.15:26
dmsimardyeah it's probably okay to have it as an option but perhaps not the *only* option15:27
dmsimardI've been thinking about a simple ansible var15:27
dmsimardcould be in a vars file, or just -e "ara_tag=something"15:28
BakeyI think that's the most flexible15:30
Bakeylet's you set a tag at runtime15:30
Bakeys/let's/lets15:30
*** tbielawa|brb is now known as tbielawa15:32
dmsimardright, ara would pick up whatever tag was the last one used during that playbook15:32
dmsimardso you could tag things dynamically if needed15:32
dmsimardi.e, block/rescue -> set_fact: ara_tag=rescued15:32
dmsimardI suppose we could/should support multiple tags15:37
ara-slack<dbpiv> when we start ARA via `ara-manage runserver`, is there a way force debug on?  I am getting more errors and it would be helpful to see what the error is?  Currently all I know is that I am getting 500 errors….15:56
*** dcreno has quit IRC15:57
*** bcoca has joined #ara16:04
*** jrist has quit IRC16:08
*** harlowja has joined #ara16:11
*** jrist has joined #ara16:25
*** gtema has quit IRC16:29
*** sshnaidm_pto has quit IRC16:44
*** tbielawa is now known as tbielawa|lunch17:11
*** harlowja has quit IRC17:22
*** gvincent has quit IRC17:23
hughsaundersmultiple tags ++17:31
*** myoung is now known as myoung|bbl17:47
*** dcreno has joined #ara17:54
ara-slack<dbpiv> Never mind I found it…  I knew I had seen it somewhere.18:07
*** harlowja has joined #ara18:14
*** tbielawa|lunch is now known as tbielawa18:31
ara-slack<dbpiv> and in case anyone stumbles on to this. It is simply `ara-manage runserver --debug` as illustrated on https://ara.readthedocs.io/en/latest/webserver.html18:41
*** openstackgerrit has quit IRC19:04
*** tbielawa is now known as tbielawa|mtg19:19
*** hwoarang has quit IRC19:29
*** spiette has quit IRC19:30
*** spiette has joined #ara19:30
*** hwoarang has joined #ara19:30
*** myoung|bbl is now known as myoung19:30
*** hwoarang has quit IRC19:35
*** hwoarang has joined #ara19:36
*** openstackgerrit has joined #ara19:55
openstackgerritDavid Moreau Simard proposed openstack/ara master: Add support for running the main WSGI application from a virtualenv  https://review.openstack.org/56725919:55
openstackgerritDavid Moreau Simard proposed openstack/ara master: Support specifying virtualenv path with or without activate_this.py  https://review.openstack.org/56728019:55
openstackgerritDavid Moreau Simard proposed openstack/ara master: WSGI: Move the application creation within the app method  https://review.openstack.org/56787119:55
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Default the ARA installation to a virtualenv  https://review.openstack.org/56709419:56
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Make sure the ARA systemd service is not running with apache  https://review.openstack.org/56743519:56
dmsimardssbarnea: still around ?20:06
openstackgerritDavid Moreau Simard proposed openstack/ara master: Allow junit reports task result overriding  https://review.openstack.org/57143020:08
dmsimardssbarnea: ^ avoided a nitpick on the commit message to point to upstream docs rather than infrared20:09
openstackgerritMerged openstack/ara master: Documented nginx config for static serving  https://review.openstack.org/57122020:17
*** dougbtv_ has joined #ara20:43
*** dougbtv has quit IRC20:45
*** tbielawa|mtg is now known as tbielawa|g0n320:50
*** tbielawa|g0n3 has quit IRC20:51
*** dcreno has quit IRC20:58
*** dcreno has joined #ara21:00
openstackgerritMerged openstack/ara master: Add support for running the main WSGI application from a virtualenv  https://review.openstack.org/56725921:03
*** dcreno has quit IRC21:05
openstackgerritMerged openstack/ara master: Support specifying virtualenv path with or without activate_this.py  https://review.openstack.org/56728021:09
openstackgerritMerged openstack/ara master: WSGI: Move the application creation within the app method  https://review.openstack.org/56787121:11
*** themurph has quit IRC21:17
*** dcreno has joined #ara21:25
*** dcreno has quit IRC21:29
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: Add support for installing from source  https://review.openstack.org/57183121:32
*** dcreno has joined #ara21:32
*** dcreno has quit IRC21:32
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793321:32
*** dcreno has joined #ara21:32
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793321:43
*** dcreno has quit IRC21:49
*** dcreno has joined #ara21:50
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793322:32
*** harlowja has quit IRC23:18
*** Bakey has quit IRC23:57

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