Saturday, 2018-03-31

*** harlowja has quit IRC00:28
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793301:06
*** harlowja has joined #ara03:05
*** harlowja has quit IRC03:40
*** jrist has quit IRC06:08
*** jrist has joined #ara06:09
paulfantomdmsimard: is there any public facing ARA instance? some interactive demo?13:40
dmsimardpaulfantom: it's used in OpenStack's CI so you can look at any job and see a live version. Hang on.13:41
dmsimardExample: http://logs.openstack.org/33/557933/15/check/ara-role-integration-fedora/419b1cd/ara-report/13:43
dmsimardOr another example: http://logs.openstack.org/36/553636/8/check/openstack-ansible-deploy-aio_basekit-centos-7/3446a09/logs/ara/13:43
paulfantomthanks!13:44
dmsimardSure thing13:44
paulfantomI was asking because I have a demo site (for some ansible roles) which is provisioned daily with ansible and I'm looking for some visualisation software :)13:44
dmsimardneat13:46
dmsimardWhat's the website ?13:46
paulfantomdemo.cloudalchemy.org13:55
paulfantomasnible roles to deploy grafana, prometheus and some metrics exporters13:55
dmsimardIt's kind of like CI/CD in a sense, cool :D13:58
paulfantomit is :D13:59
paulfantomI think I have a solution to include ara in this, but I need your verification14:00
paulfantomSince everything is running on travis I was thinking about using `ara generate html` and copying it to server running deployed site14:02
paulfantombut I'm not sure if copying static files is a good solution14:04
paulfantomEverything comes down to this script: https://github.com/cloudalchemy/demo-site/blob/5682ce9f574b198ec2adb80c593b48e6316a951c/deploy.sh14:05
dmsimardpaulfantom: depends on your use case15:21
dmsimardyou're spinning a new thing up every day from scratch ? would your ara report contain only the data from this one run or do you want some sort of continuous reporting ?15:22
dmsimardWe used static files just fine until fairly recently in the OpenStack CI jobs -- some details here: http://lists.openstack.org/pipermail/openstack-dev/2018-March/128902.html15:24
paulfantomI rebuild everything from scratch once in a while (about once per 2 months), daily runs are just ensuring everything is ok15:24
dmsimardIt doesn't scale very well when you're talking about >300k jobs/month or if you have large playbooks but other than that static generation is fine15:24
paulfantomthis demo is also some sort of integration test15:25
dmsimardyeah that's what I was mentioning earlier, it's like ci/cd :)15:25
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793315:26
paulfantomI don't think I will ever get to >300k jobs/month with this project :D15:26
dmsimardpaulfantom: you could always use a database (sqlite by default) and then either stand up the embedded server or deploy ara with wsgi15:26
dmsimardpaulfantom: but static generation is definitely the simplest way15:27
paulfantomok, so I'll go with static generation15:27
dmsimardThere's a role that can help setting up the webserver but it's not very well tested right now (working on that actually)15:27
dmsimardhttps://github.com/openstack/ansible-role-ara15:27
paulfantomoh! I can help :D15:28
paulfantomdo you want CI based on molecule, testinfra and travis? :D15:28
dmsimardyou can strike travis out since we have zuul :)15:29
dmsimardI'm not very familiar with molecule (but I know what it is) but a lot of the things it does is handled natively by zuul as well15:29
paulfantomif it can spin up docker containers, it can use molecule15:29
dmsimardIf I had the time I would really like some testinfra things15:30
paulfantomsome simple tests: https://github.com/cloudalchemy/ansible-prometheus/blob/master/tests/test_default.py :)15:30
dmsimardyeah those are nice, I played a bit with the ruby equivalent in an earlier life (serverspec) https://github.com/dmsimard/openstack-serverspec15:31
dmsimardi.e, https://github.com/dmsimard/openstack-serverspec/blob/master/spec/tests/swift_loadbalancer/swift_proxy_spec.rb15:32
paulfantomI was playing with it when doing PoCs15:32
paulfantomI prefer python :D15:33
dmsimardyeah15:33
dmsimardthere was a time in my life where I did a lot of puppet and ruby :(15:33
dmsimardara was in part inspired by puppetboard actually15:33
paulfantomhaven't heard of it, but it looks like part of Foreman15:35
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793315:38
dmsimardpaulfantom: https://github.com/voxpupuli/puppetboard15:38
paulfantomYeah, I googled it ;)15:39
* dmsimard gasp15:39
paulfantomI'm looking over your role to setup ARA15:44
paulfantomansible-lint would issue many warnings :D15:44
dmsimardpaulfantom: yeah, it was contributed by someone and we improved from there15:45
dmsimardI'm working on the integration jobs right now, lint is on the radar too.15:45
dmsimardThe role will be an important part of testing the upcoming 1.0 release15:45
dmsimardand it's just been neglected for too long15:46
paulfantomMaybe later I'll contribute some testinfra parts and linter compatibility but I can't promise now, since I have some more important issues to solve15:51
paulfantomBut I'm sure I'll mention ARA on a local meetup in Poland :)15:51
dmsimardpaulfantom: oh cool! Is it an Ansible meetup ?15:52
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793315:52
paulfantomyes and no, I'll be presenting how to set up and manage grafana and prometheus with ansible15:53
dmsimardIf we cross paths, remind me to give you some stickers :p15:54
paulfantomof course! :D15:55
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793315:59
dmsimardthese jobs hurt my brain15:59
dmsimardso much nested inception things15:59
paulfantomyeah16:01
paulfantomI was trying to understand what is going on, then got to "noop for now" an chuckled :D16:02
dmsimardpaulfantom: it's a "framework" I'm putting together to test different combination of things (versions of ansible, with sqlite/mysql/postgresql, with apache mod_wsgi or nginx reverse proxy, etc.16:55
dmsimardZuul, the CI job runner actually runs Ansible (and ARA!) so I need to setup a "nested" Ansible and run things from there16:56
dmsimardOh, and on different Linux distributions too. You can kind of read my intent from this file: https://review.openstack.org/#/c/557933/19/.zuul.yaml16:57
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793318:29
openstackgerritDavid Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments  https://review.openstack.org/55793321:47

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