*** cherna has quit IRC | 00:32 | |
boxrick | dmsimard: I tried upgrading from ARA 13.XX to the current latest version. It seems to be ignoring the ansible.cfg in defined in the apache config | 15:09 |
---|---|---|
boxrick | And then giving this error: AnsibleError: Unable to create local directories(/var/www/.ansible/tmp): [Errno 13] Permission denied: '/var/www/.ansible' <-- as opposed to trying /var/www/ara/.ansible which is defined in the config | 15:10 |
boxrick | Any ideas why this upgrade, may have caused it ignore the config ? | 15:10 |
dmsimard | boxrick: hmmm, not that I can think of. Did you also upgrade the version of ansible ? | 15:11 |
boxrick | Yea. I will try some other things, I imagine something invalid inside the .cfg file is making it a bit funny. | 15:12 |
boxrick | Since its logging to the defined location and clearly trying to run. | 15:12 |
dmsimard | boxrick: I don't think there has been much, if anything, around wsgi/config between 0.13 and 0.14 | 15:17 |
dmsimard | changelogs are in the tags here https://github.com/openstack/ara/releases | 15:17 |
dmsimard | boxrick: if you figure out the issue, let me know, I'm curious | 15:22 |
boxrick | Ok | 15:48 |
boxrick | From what I can see apache is ignoring: SetEnv ANSIBLE_CONFIG /var/www/ara/ansible.cfg | 15:48 |
boxrick | Or its being overwritten somewhere | 15:50 |
boxrick | dmsimard: This is very much a 0.14.4 specific and Ansible 2.4 problem | 16:06 |
boxrick | 0.14.3 with Ansible 2.3.2 works fine | 16:07 |
boxrick | Then an upgrade and it begins ignoring the ansible.cfg | 16:07 |
dmsimard | boxrick: how about 0.14.4 and ansible 2.3.2 v? | 16:07 |
boxrick | hmm let me give it a go | 16:07 |
boxrick | If I force it back to 2.3.2 it all works fine even with 0.14.4 | 16:09 |
dmsimard | ok so it's a 2.4 specific issue then | 16:15 |
dmsimard | Let's see... | 16:15 |
boxrick | I was just looking through the 2.4 specific changes to see if there were things relating to how it overrides or deals with the config | 16:16 |
boxrick | Nothing obvious in the docs which would indicate a massive change here, so needs some deeper looking at the source. | 16:17 |
boxrick | How has the 2.4 support been in ARA to implement, straightforwards or a pain? | 16:17 |
dmsimard | boxrick: these bits have not changed afaik https://github.com/ansible/ansible/blob/stable-2.4/lib/ansible/config/manager.py#L136 | 16:17 |
dmsimard | boxrick: it was one patch: https://github.com/openstack/ara/commit/3fc206831465103f599468af7f856cb16eb756e2 | 16:18 |
*** tbielawa has joined #ara | 16:26 | |
dmsimard | boxrick: I'm kind of busy fixing everyone's gate after the openstack zuul v3 migration but if you find the root cause, happy to accept a patch :D | 16:29 |
boxrick | No rush anyway, just thought id try and fix 2.4 whilst I was playing with things. I may be able to look next week. | 16:31 |
*** tbielawa is now known as tbielawa|brb | 18:51 | |
*** Pernille has joined #ara | 18:55 | |
*** tbielawa|brb has quit IRC | 18:56 | |
*** tbielawa|brb has joined #ara | 19:29 | |
*** Pernille has quit IRC | 20:34 | |
*** tbielawa|brb is now known as tbielawa|g0n3 | 20:39 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!