Wednesday, 2018-12-19

*** weshay_pto has quit IRC02:18
*** etienne has quit IRC04:00
*** etienne has joined #ara04:01
*** Glandos has quit IRC06:35
*** Glandos has joined #ara06:37
*** herald85 has joined #ara08:45
*** ssbarnea|rover has joined #ara10:38
ara-slackd.todorov: @d.todorov has joined the channel10:45
ara-slackd.todorov: hey10:45
ara-slackd.todorov: I need a little help10:46
ara-slackd.todorov: ???10:47
ara-slackdmsimard: @d.todorov I was asleep and I'm in meetings now but ask away :slightly_smiling_face:13:44
openstackgerritGuillaume Vincent proposed openstack/ara-web master: Migrate to patternfly 4  https://review.openstack.org/62592814:13
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: WIP: Run a CI job that builds and publishes the web dashboard  https://review.openstack.org/62566614:35
*** ssbarnea|rover has quit IRC14:40
*** ssbarnea has joined #ara14:41
*** herald85 has quit IRC15:08
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Do not merge: test relative links for /playbooks  https://review.openstack.org/62621615:28
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Do not merge: test relative links for /playbooks  https://review.openstack.org/62621615:30
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: DNM: Test removing the 404 route  https://review.openstack.org/62621715:34
*** jungleslow has joined #ara15:44
*** etienne has quit IRC16:59
ara-slacknj.chandu: @nj.chandu has joined the channel18:34
ara-slacknj.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 IRC19:24
ara-slackliberty.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 trenches19:27
*** sshnaidm has joined #ara19:27
ara-slacknj.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-slackliberty.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 playbooks19:40
ara-slackliberty.young: https://ara.readthedocs.io/en/stable/usage.html19:40
ara-slackliberty.young: https://ara.readthedocs.io/en/stable/usage.html19:40
ara-slackliberty.young: https://ara.readthedocs.io/en/stable/usage.html#querying-the-database-with-the-cli19:40
ara-slacknj.chandu: I will go through them. Overall I like the tool, pretty cool one. Thanks @liberty.young.19:50
ara-slackdmsimard: @liberty.young thanks for helping out! :smile:20:21
ara-slackdmsimard: @nj.chandu are you installing ansible as part of your jenkins job ? Or is it installed on the jenkins master/slaves ?20:23
ara-slacknj.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-slackdmsimard: 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.html20:27
ara-slackdmsimard: The approach outlined in that advanced doc is what we're using to run >1 million playbooks a month with ara reports right now20:29
*** etienne has joined #ara20:32
ara-slacknj.chandu: I’ll take a look at it out, thanks @dmsimard20:35
*** ssbarnea has quit IRC21:00
ara-slackchris: 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-slackdmsimard: @xpi Using ansible with ara on the same server as the apache server makes things a bit complicated21:48
ara-slackdmsimard: ^ sorry xpi, that was meant for @chris -- wrong autocompletion21:48
ara-slackdmsimard: @chris The long story short is that the user running the ansible playbooks as well as apache must have access to the configuration and database21:49
ara-slackdmsimard: So you can put your data in /var/lib/ara if you want, so long as apache and your ansible user has access to that21:49
ara-slackdmsimard: 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-slackchris: That’s kind of what I figured22:24
ara-slackchris: 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-slackdmsimard: @chris It all depends on your use case and the scale at which you're running22:28
ara-slackchris: 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 schedule22:29
ara-slackdmsimard: 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 server22:29
ara-slackdmsimard: 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 content22:30
ara-slackdmsimard: Since the proxy is over the network, there's no requirement for nginx to have access to anything22:31
ara-slackdmsimard: Going to grab food and sign off, happy to chat about your setup later :smile:22:32
ara-slackchris: Thanks!22:32
ara-slackchris: I will review and post questions later22:32
*** etienne has quit IRC23:39

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