*** Bakey has quit IRC | 00:50 | |
*** njt has quit IRC | 02:41 | |
*** njt has joined #ara | 02:43 | |
*** nicovs_be has joined #ara | 02:59 | |
*** nicovs_be has quit IRC | 03:03 | |
*** bcoca has quit IRC | 05:39 | |
*** sshnaidm|off is now known as sshnaidm | 07:57 | |
*** nicovs_be has joined #ara | 07:59 | |
*** sshnaidm is now known as sshnaidm|afk | 08:11 | |
*** sshnaidm|afk is now known as sshnaidm | 10:47 | |
*** nicovs_be has quit IRC | 11:02 | |
*** sshnaidm is now known as sshnaidm|afk | 12:22 | |
*** sshnaidm|afk is now known as sshnaidm | 13:26 | |
*** rguichard has joined #ara | 13:30 | |
rguichard | Hy guys ! Quick question, when using apache2 w/ ara-wsgi, should the custom ansible.cfg provided by the doc be used by ansible instead of the default one ? | 13:35 |
---|---|---|
*** rguichard is now known as osones | 13:38 | |
*** osones has left #ara | 13:41 | |
*** openstackstatus has quit IRC | 13:43 | |
*** openstack has joined #ara | 13:44 | |
*** ChanServ sets mode: +o openstack | 13:44 | |
*** bcoca has joined #ara | 14:39 | |
*** bcoca has joined #ara | 14:39 | |
*** rguichard has joined #ara | 14:46 | |
*** openstack has quit IRC | 14:46 | |
*** openstack has joined #ara | 14:48 | |
*** ChanServ sets mode: +o openstack | 14:48 | |
rguichard | yep | 14:48 |
rguichard | when I use the embeded web server, everything works fine | 14:50 |
rguichard | I just don't understand how is this suppose to work with ara-wsgi | 14:51 |
dmsimard | rguichard: ok so I happened to have discussed exactly this with someone else yesterday: http://eavesdrop.openstack.org/irclogs/%23ara/%23ara.2017-11-28.log.html#t2017-11-28T16:51:49 | 14:57 |
*** rguichard has quit IRC | 14:58 | |
dmsimard | rguichard: the long story short is that ansible and apache needs to have read/write access to the same database | 14:58 |
dmsimard | he's gone T_T | 14:58 |
*** sshnaidm is now known as sshnaidm|rover | 15:16 | |
*** rguichard has joined #ara | 15:34 | |
rguichard | @dmsimard, I read the irc logs, it works fine now ^^ | 16:05 |
dmsimard | rguichard: woohoo | 16:06 |
dmsimard | rguichard: sorry about not replying fast, multitasking :D | 16:06 |
rguichard | np ! | 16:06 |
dmsimard | rguichard: let me know if you need help with anything else | 16:09 |
dmsimard | rguichard: it appears the apache configuration is a bit problematic for new users, it's a topic often asked about. I'll try and see if we can improve the documentation or otherwise improve the ansible role we have to set this up properly | 16:09 |
dmsimard | there's a role here: https://github.com/openstack/ansible-role-ara but we haven't done a good job of keeping it up to date, tested and etc | 16:10 |
*** dougbtv_ has joined #ara | 16:20 | |
*** dougbtv has quit IRC | 16:22 | |
rguichard | Actually, I'm trying to integrate ara with openstack-ansible. Since OSA doesn't use ansible.cfg but source each env var, I have trouble figure out how those two can work together... | 16:22 |
*** dougbtv_ is now known as dougbtv | 16:22 | |
dmsimard | rguichard: oh, OSA actually already uses ARA in their CI | 16:24 |
dmsimard | rguichard: so maybe it would be helpful to look at how they do it, there's also #openstack-ansible you can ask in (I idle there as well) | 16:24 |
dmsimard | here's a few links that might get you started | 16:25 |
dmsimard | https://github.com/openstack/openstack-ansible-tests/blob/d3b0998f9fea02fb8018af97a22a54fc21faddaf/test-ansible-functional.sh#L64 | 16:25 |
dmsimard | https://github.com/openstack/openstack-ansible-tests/blob/6fcb784c587e017c3816b747d11b4a7f4483f6f2/test-log-collect.sh#L87 | 16:25 |
dmsimard | https://github.com/openstack/openstack-ansible/blob/c4aeb63e840624f81b56891d3a0bbe91d5aced71/scripts/gate-check-commit.sh#L101 | 16:26 |
dmsimard | https://github.com/openstack/openstack-ansible/blob/4a91084f1bf2b3536aa74898a45322aab399e462/scripts/scripts-library.sh#L147 | 16:26 |
dmsimard | otherwise the folks there are all familiar with ara and I'm sure they can help :) | 16:26 |
dmsimard | rguichard: also, keep in mind that using an ansible.cfg is not mutually exclusive with env vars | 16:27 |
dmsimard | rguichard: there's probably nothing stopping you from using both, env vars simply have priority over the same configuration found in an ansible.cfg file | 16:27 |
rguichard | Indeed, but it seems that the openstack-ansible wrapper doesn't read any ansible.cfg files | 16:28 |
rguichard | I will poke some folks at #openstack-ansible about that ^^ | 16:28 |
dmsimard | rguichard: you can probably force it to by just exporting ANSIBLE_CONFIG prior to running whatever it is you're running | 16:29 |
dmsimard | but I'm not super familiar with the OSA installer, I've only played with it a little bit | 16:29 |
rguichard | kind of dirty though | 16:29 |
dmsimard | oh actually evrardjp, boxrick and logan- are here, they surely know ^ | 16:29 |
dmsimard | rguichard wants to have ara in OSA outside of a CI context | 16:30 |
dmsimard | there's even andymccr, they're all here :D | 16:30 |
rguichard | rackspace comes in pack | 16:31 |
evrardjp | :) | 16:31 |
evrardjp | pip install and then show the proper callback plugin path with ANSIBLE_CALLBACK_PLUGINS | 16:32 |
*** tbielawa has joined #ara | 16:32 | |
evrardjp | if you have your own ansible.cfg you can do the same :) | 16:33 |
evrardjp | rguichard: boxrick and logan- aren't working for rackspace :D | 16:34 |
*** Bakey has joined #ara | 16:35 | |
dmsimard | openstack-ansible is an openstack community project :) | 16:40 |
*** weshay is now known as weshay_mtg | 17:00 | |
*** tbielawa is now known as tbielawa|lunch | 17:06 | |
*** sshnaidm|rover is now known as sshnaidm|rover|m | 17:10 | |
*** sshnaidm|rover|m is now known as sshnaidm|rover | 17:10 | |
*** tbielawa|lunch is now known as tbielawa | 18:22 | |
*** weshay_mtg is now known as weshay | 18:42 | |
*** sshnaidm|rover is now known as sshnaidm|off | 20:01 | |
*** tbielawa has quit IRC | 21:50 | |
*** jparrill has joined #ara | 22:09 | |
dmsimard | evrardjp: oh your fix for play hosts being taken out even while rescued is in 2.4.2 | 23:26 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!