*** weshay_pto has quit IRC | 02:18 | |
*** etienne has quit IRC | 04:00 | |
*** etienne has joined #ara | 04:01 | |
*** Glandos has quit IRC | 06:35 | |
*** Glandos has joined #ara | 06:37 | |
*** herald85 has joined #ara | 08:45 | |
*** ssbarnea|rover has joined #ara | 10:38 | |
ara-slack | d.todorov: @d.todorov has joined the channel | 10:45 |
---|---|---|
ara-slack | d.todorov: hey | 10:45 |
ara-slack | d.todorov: I need a little help | 10:46 |
ara-slack | d.todorov: ??? | 10:47 |
ara-slack | dmsimard: @d.todorov I was asleep and I'm in meetings now but ask away :slightly_smiling_face: | 13:44 |
openstackgerrit | Guillaume Vincent proposed openstack/ara-web master: Migrate to patternfly 4 https://review.openstack.org/625928 | 14:13 |
openstackgerrit | David Moreau Simard proposed openstack/ara-web master: WIP: Run a CI job that builds and publishes the web dashboard https://review.openstack.org/625666 | 14:35 |
*** ssbarnea|rover has quit IRC | 14:40 | |
*** ssbarnea has joined #ara | 14:41 | |
*** herald85 has quit IRC | 15:08 | |
openstackgerrit | David Moreau Simard proposed openstack/ara-web master: Do not merge: test relative links for /playbooks https://review.openstack.org/626216 | 15:28 |
openstackgerrit | David Moreau Simard proposed openstack/ara-web master: Do not merge: test relative links for /playbooks https://review.openstack.org/626216 | 15:30 |
openstackgerrit | David Moreau Simard proposed openstack/ara-web master: DNM: Test removing the 404 route https://review.openstack.org/626217 | 15:34 |
*** jungleslow has joined #ara | 15:44 | |
*** etienne has quit IRC | 16:59 | |
ara-slack | nj.chandu: @nj.chandu has joined the channel | 18:34 |
ara-slack | nj.chandu: <!here> I bumped on to ARA while looking for how one would go about listing failed/succeeded hosts per play? Looks like a pretty cool plugin for ansible. Right now I run the playbooks via Jenkins, is there a way to view the Playback reports in Jenkins? | 19:21 |
*** sshnaidm|off has quit IRC | 19:24 | |
ara-slack | liberty.young: @nj.chandu I’d recommend a pattern where you simply create a link to the ARA report for that run and put that in the Jenkins output. My shop prints out the stdout from Ansible in Jenkins (which includes the summary report at the end), which is fine and dandy for debugging in the trenches | 19:27 |
*** sshnaidm has joined #ara | 19:27 | |
ara-slack | nj.chandu: @liberty.young I will end up checking two different web interfaces in order to realize what is going on with the job. Would that lead to a responsibility of maintenance of data over a period of time? | 19:35 |
ara-slack | liberty.young: if you need the ARA output int he same jenkins job, you might want Jenkins to invoke the ARA cli or bake that logic in the ansible playbooks | 19:40 |
ara-slack | liberty.young: https://ara.readthedocs.io/en/stable/usage.html | 19:40 |
ara-slack | liberty.young: https://ara.readthedocs.io/en/stable/usage.html | 19:40 |
ara-slack | liberty.young: https://ara.readthedocs.io/en/stable/usage.html#querying-the-database-with-the-cli | 19:40 |
ara-slack | nj.chandu: I will go through them. Overall I like the tool, pretty cool one. Thanks @liberty.young. | 19:50 |
ara-slack | dmsimard: @liberty.young thanks for helping out! :smile: | 20:21 |
ara-slack | dmsimard: @nj.chandu are you installing ansible as part of your jenkins job ? Or is it installed on the jenkins master/slaves ? | 20:23 |
ara-slack | nj.chandu: @dmsimard I have set up for both, for the one’s where I’m setting up ansible this https://ara.readthedocs.io/en/stable/usage.html#generating-a-static-html-version-of-the-web-application seems like a good option. | 20:25 |
ara-slack | dmsimard: Depending on the size of your playbooks, the HTML static generation does not scale very well right now unfortunately -- there is lightweight alternative explained here: https://ara.readthedocs.io/en/latest/advanced.html | 20:27 |
ara-slack | dmsimard: The approach outlined in that advanced doc is what we're using to run >1 million playbooks a month with ara reports right now | 20:29 |
*** etienne has joined #ara | 20:32 | |
ara-slack | nj.chandu: I’ll take a look at it out, thanks @dmsimard | 20:35 |
*** ssbarnea has quit IRC | 21:00 | |
ara-slack | chris: When setting up ARA for Apache there’s a section for SetEnv ANSIBLE_CONFIG and then the /var/www directory. Is this a copy with different settings or is it a requirement that I move my ansible config to that directory. Also would a symlink work if that’s true? | 21:38 |
ara-slack | dmsimard: @xpi Using ansible with ara on the same server as the apache server makes things a bit complicated | 21:48 |
ara-slack | dmsimard: ^ sorry xpi, that was meant for @chris -- wrong autocompletion | 21:48 |
ara-slack | dmsimard: @chris The long story short is that the user running the ansible playbooks as well as apache must have access to the configuration and database | 21:49 |
ara-slack | dmsimard: So you can put your data in /var/lib/ara if you want, so long as apache and your ansible user has access to that | 21:49 |
ara-slack | dmsimard: When users set up ansible/ara/apache on the same machine, the problems they usually run into relates to read/write permissions, unix permissions, etc. | 21:52 |
ara-slack | chris: That’s kind of what I figured | 22:24 |
ara-slack | chris: I want to get away from the dev server option, but I’m trying to leave the ansible installation as vanilla as possible. | 22:24 |
ara-slack | dmsimard: @chris It all depends on your use case and the scale at which you're running | 22:28 |
ara-slack | chris: Very small. We’re just getting Ansible up and running and we need better reporting. We only have a single job running on a cron schedule | 22:29 |
ara-slack | dmsimard: If you look at https://github.com/openstack/ansible-role-ara (disclaimer: role has been a bit neglected), one of the deployment options is to have nginx in front of the dev server | 22:29 |
ara-slack | dmsimard: So it sets up a systemd unit file that runs the dev server and then there's nginx that is doing the reverse proxy and serving static content | 22:30 |
ara-slack | dmsimard: Since the proxy is over the network, there's no requirement for nginx to have access to anything | 22:31 |
ara-slack | dmsimard: Going to grab food and sign off, happy to chat about your setup later :smile: | 22:32 |
ara-slack | chris: Thanks! | 22:32 |
ara-slack | chris: I will review and post questions later | 22:32 |
*** etienne has quit IRC | 23:39 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!