*** harlowja has quit IRC | 00:28 | |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 01:06 |
---|---|---|
*** harlowja has joined #ara | 03:05 | |
*** harlowja has quit IRC | 03:40 | |
*** jrist has quit IRC | 06:08 | |
*** jrist has joined #ara | 06:09 | |
paulfantom | dmsimard: is there any public facing ARA instance? some interactive demo? | 13:40 |
dmsimard | paulfantom: it's used in OpenStack's CI so you can look at any job and see a live version. Hang on. | 13:41 |
dmsimard | Example: http://logs.openstack.org/33/557933/15/check/ara-role-integration-fedora/419b1cd/ara-report/ | 13:43 |
dmsimard | Or another example: http://logs.openstack.org/36/553636/8/check/openstack-ansible-deploy-aio_basekit-centos-7/3446a09/logs/ara/ | 13:43 |
paulfantom | thanks! | 13:44 |
dmsimard | Sure thing | 13:44 |
paulfantom | I 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 |
dmsimard | neat | 13:46 |
dmsimard | What's the website ? | 13:46 |
paulfantom | demo.cloudalchemy.org | 13:55 |
paulfantom | asnible roles to deploy grafana, prometheus and some metrics exporters | 13:55 |
dmsimard | It's kind of like CI/CD in a sense, cool :D | 13:58 |
paulfantom | it is :D | 13:59 |
paulfantom | I think I have a solution to include ara in this, but I need your verification | 14:00 |
paulfantom | Since everything is running on travis I was thinking about using `ara generate html` and copying it to server running deployed site | 14:02 |
paulfantom | but I'm not sure if copying static files is a good solution | 14:04 |
paulfantom | Everything comes down to this script: https://github.com/cloudalchemy/demo-site/blob/5682ce9f574b198ec2adb80c593b48e6316a951c/deploy.sh | 14:05 |
dmsimard | paulfantom: depends on your use case | 15:21 |
dmsimard | you'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 |
dmsimard | We 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.html | 15:24 |
paulfantom | I rebuild everything from scratch once in a while (about once per 2 months), daily runs are just ensuring everything is ok | 15:24 |
dmsimard | It 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 fine | 15:24 |
paulfantom | this demo is also some sort of integration test | 15:25 |
dmsimard | yeah that's what I was mentioning earlier, it's like ci/cd :) | 15:25 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 15:26 |
paulfantom | I don't think I will ever get to >300k jobs/month with this project :D | 15:26 |
dmsimard | paulfantom: you could always use a database (sqlite by default) and then either stand up the embedded server or deploy ara with wsgi | 15:26 |
dmsimard | paulfantom: but static generation is definitely the simplest way | 15:27 |
paulfantom | ok, so I'll go with static generation | 15:27 |
dmsimard | There'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 |
dmsimard | https://github.com/openstack/ansible-role-ara | 15:27 |
paulfantom | oh! I can help :D | 15:28 |
paulfantom | do you want CI based on molecule, testinfra and travis? :D | 15:28 |
dmsimard | you can strike travis out since we have zuul :) | 15:29 |
dmsimard | I'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 well | 15:29 |
paulfantom | if it can spin up docker containers, it can use molecule | 15:29 |
dmsimard | If I had the time I would really like some testinfra things | 15:30 |
paulfantom | some simple tests: https://github.com/cloudalchemy/ansible-prometheus/blob/master/tests/test_default.py :) | 15:30 |
dmsimard | yeah those are nice, I played a bit with the ruby equivalent in an earlier life (serverspec) https://github.com/dmsimard/openstack-serverspec | 15:31 |
dmsimard | i.e, https://github.com/dmsimard/openstack-serverspec/blob/master/spec/tests/swift_loadbalancer/swift_proxy_spec.rb | 15:32 |
paulfantom | I was playing with it when doing PoCs | 15:32 |
paulfantom | I prefer python :D | 15:33 |
dmsimard | yeah | 15:33 |
dmsimard | there was a time in my life where I did a lot of puppet and ruby :( | 15:33 |
dmsimard | ara was in part inspired by puppetboard actually | 15:33 |
paulfantom | haven't heard of it, but it looks like part of Foreman | 15:35 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 15:38 |
dmsimard | paulfantom: https://github.com/voxpupuli/puppetboard | 15:38 |
paulfantom | Yeah, I googled it ;) | 15:39 |
* dmsimard gasp | 15:39 | |
paulfantom | I'm looking over your role to setup ARA | 15:44 |
paulfantom | ansible-lint would issue many warnings :D | 15:44 |
dmsimard | paulfantom: yeah, it was contributed by someone and we improved from there | 15:45 |
dmsimard | I'm working on the integration jobs right now, lint is on the radar too. | 15:45 |
dmsimard | The role will be an important part of testing the upcoming 1.0 release | 15:45 |
dmsimard | and it's just been neglected for too long | 15:46 |
paulfantom | Maybe later I'll contribute some testinfra parts and linter compatibility but I can't promise now, since I have some more important issues to solve | 15:51 |
paulfantom | But I'm sure I'll mention ARA on a local meetup in Poland :) | 15:51 |
dmsimard | paulfantom: oh cool! Is it an Ansible meetup ? | 15:52 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 15:52 |
paulfantom | yes and no, I'll be presenting how to set up and manage grafana and prometheus with ansible | 15:53 |
dmsimard | If we cross paths, remind me to give you some stickers :p | 15:54 |
paulfantom | of course! :D | 15:55 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 15:59 |
dmsimard | these jobs hurt my brain | 15:59 |
dmsimard | so much nested inception things | 15:59 |
paulfantom | yeah | 16:01 |
paulfantom | I was trying to understand what is going on, then got to "noop for now" an chuckled :D | 16:02 |
dmsimard | paulfantom: 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 |
dmsimard | Zuul, the CI job runner actually runs Ansible (and ARA!) so I need to setup a "nested" Ansible and run things from there | 16:56 |
dmsimard | Oh, and on different Linux distributions too. You can kind of read my intent from this file: https://review.openstack.org/#/c/557933/19/.zuul.yaml | 16:57 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 18:29 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: WIP: Zuul jobs experiments https://review.openstack.org/557933 | 21:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!