*** themurph has quit IRC | 00:22 | |
*** bcoca has quit IRC | 00:41 | |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Automatically install pymysql or psycopg2 if necessary https://review.openstack.org/611231 | 04:12 |
---|---|---|
helloweenx | @dmsimard: did you even go to sleep yet? :-D | 06:22 |
*** helloweenx has quit IRC | 06:29 | |
*** gvincent has joined #ara | 06:45 | |
*** gvincent has quit IRC | 07:35 | |
*** gvincent has joined #ara | 08:18 | |
*** Xaroth has joined #ara | 08:33 | |
*** helloweenx has joined #ara | 09:10 | |
helloweenx | hey guys, i started wondering, why should i use ara, when there is basicly more complex solution in form of AWX? is it just because i want only funcionality that offer ARA and nothing else? or is ARA better in what is does compared to AWX? | 09:12 |
Xaroth | helloweenx: https://ara.readthedocs.io/en/latest/faq.html#why-don-t-you-use-ansible-tower-awx-rundeck-or-semaphore | 09:13 |
helloweenx | facepalm, sorry, should have read FAQ first ;) | 09:14 |
Xaroth | the tl;dr is that it's trying to do one job, and do it well, compared to AWX/Tower's suite of functionality | 09:15 |
Xaroth | I use it a lot when testing with playbooks, seeing it's a much easier way of interacting with ansible's output than the console | 09:16 |
helloweenx | yea, thats what i understood from FAQ now, thanks for confirmation. Im fairly new to Ansible and stuff around it, so i ask stupid questions pretty often | 09:20 |
Xaroth | the only stupid questions are the ones you fail to ask :) | 09:23 |
*** gvincent has quit IRC | 09:37 | |
*** sshnaidm has joined #ara | 11:05 | |
dmsimard | helloweenx: Xaroth is correct. Also, AWX and ARA aren't mutually exclusive. You can use either on their own or use them together. | 11:42 |
dmsimard | ARA only cares about reporting so it is simple to use, understand and doesn't get in the way of your workflows | 11:43 |
helloweenx | dmsimard: hey, you are up early :-D yea i get it now, thank you | 11:44 |
dmsimard | Yeah, I need to send kids to school haha | 11:44 |
helloweenx | can i annoy you with my ARA instalation via role this early? | 11:44 |
dmsimard | In an hour or so | 11:45 |
helloweenx | alright, let me know please then ;-) | 11:45 |
*** sshnaidm has quit IRC | 11:48 | |
*** gvincent has joined #ara | 12:00 | |
*** bcoca has joined #ara | 13:06 | |
dmsimard | helloweenx: hey, have a bit of time if you want to chat | 13:18 |
*** tbielawa has joined #ara | 13:18 | |
helloweenx | oh yes | 13:18 |
helloweenx | i moved forward a bit from yesterday after you told me, that i have problem in paths | 13:18 |
helloweenx | so i moved my folder with role to right path | 13:19 |
helloweenx | and now i am stucked at this error: | 13:19 |
helloweenx | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to find required executable easy_install in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"} | 13:20 |
helloweenx | at this task TASK [ara : Install pip for Red Hat distributions] | 13:20 |
helloweenx | btw i am on Ubuntu 18.04 | 13:20 |
helloweenx | and i revert to my snapshot before yesterday installing ARA without role, so now i have just pure ansible running | 13:22 |
dmsimard | helloweenx: ah, yeah, I need to fix that easy_install bit. | 13:26 |
helloweenx | so can i work around this somehow for now? | 13:27 |
dmsimard | Basically you just need pip installed. If it's installed, just delete that one easy_install task from the file | 13:34 |
dmsimard | I'll fix it later | 13:34 |
dmsimard | Sorry, I've been neglecting the role to try and get 1.0 released | 13:35 |
helloweenx | dude dont be sorry :-D thank you, gonna try it now | 13:36 |
dmsimard | I'm Canadian, sorry :P | 13:38 |
helloweenx | i know Canadians only from SouthPark, so now i can just picture you with those two part head, thats all what comes in my mind when you say you are Canadian :-D | 13:40 |
dmsimard | We have laws in Canada to protect people from saying sorry :D | 13:44 |
helloweenx | :-D | 13:45 |
dmsimard | https://www.cbc.ca/2017/sorry-can-we-talk-about-why-canadians-apologize-so-much-1.3939997 | 13:45 |
dmsimard | It's an interesting culture phenomena | 13:46 |
helloweenx | well its much better then here in Czech Republic. Not sure if you here about this at NA, but we would need law to stop our president to talk like trash :-D | 13:48 |
helloweenx | you know, you can find something like this everywhere, so your "sorry thing" is fine :-D | 13:48 |
helloweenx | *hear | 13:48 |
dmsimard | Red Hat has a large office in Brno but I've never been there yet | 13:50 |
helloweenx | @dmsimard: are you still here? | 14:04 |
dmsimard | helloweenx: o/ | 14:08 |
helloweenx | i am a bit further now, end up at this: | 14:09 |
helloweenx | TASK [ara : Get the location of ara-manage] *************************************************************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": "which ara-manage", "msg": "[Errno 2] No such file or directory", "rc": 2} | 14:09 |
helloweenx | btw Brno is not bad location to visit, not much crowded by tourists like Prague and Cesky Krumlov and also have some good stuff to see ;) | 14:10 |
dmsimard | helloweenx: hmmm, is "which" installed ? | 14:11 |
helloweenx | hmm | 14:11 |
helloweenx | how can i tell? :-D | 14:11 |
dmsimard | Log in to the machine and do like "which bash" | 14:12 |
dmsimard | It should print out something like /bin/bash | 14:12 |
helloweenx | returns this | 14:12 |
helloweenx | /bin/bash | 14:12 |
dmsimard | Ok so which is installed | 14:13 |
dmsimard | But isn't able to find ara-manage | 14:13 |
dmsimard | Do you have an /opt/ara-venv directory ? | 14:14 |
helloweenx | nope | 14:14 |
helloweenx | shall i create it manually and start role over? | 14:14 |
dmsimard | How are you running the role exactly ? | 14:18 |
helloweenx | i'm running mod_wsgi.yml from /etc/ansible/roles/ara/example-playbooks | 14:18 |
dmsimard | Ok, give me a bit of time and I'll try to run it. Ubuntu 18.04 right ? | 14:19 |
helloweenx | yea thats right | 14:20 |
helloweenx | i'll have to go in 10 minutes anyways, so no rush | 14:20 |
*** themurph has joined #ara | 14:23 | |
helloweenx | @dmsimard: man scratch that, i remembered that i changed some values at /etc/ansible/roles/ara/defaults/main.yml | 14:25 |
helloweenx | so i just put it back to defaults, run mod.wsgi.yml again and it ended up just OK | 14:25 |
helloweenx | PLAY RECAP ************************************************************************************************************************ localhost : ok=30 changed=11 unreachable=0 failed=0 | 14:26 |
dmsimard | woot | 14:27 |
helloweenx | alright, thank you very much for your help, i am pretty sure, ill be back tommorow with something else :-D | 14:30 |
dmsimard | sure | 14:31 |
*** openstackgerrit has quit IRC | 14:36 | |
*** Naphta has joined #ara | 14:53 | |
*** openstackgerrit has joined #ara | 14:59 | |
openstackgerrit | Merged openstack/ara-server master: Merge the tox-pep8 and tox-format jobs and use tox-linters https://review.openstack.org/611166 | 14:59 |
openstackgerrit | Merged openstack/ara-server master: One does not simply send emails to gvincent *scnr* https://review.openstack.org/611144 | 15:03 |
dmsimard | apollo13: left comments on https://review.openstack.org/#/c/611161/ | 15:17 |
*** apollo13 has quit IRC | 15:17 | |
gvincent | ahah yes remove all my copy paste relica | 15:18 |
*** apollo13 has joined #ara | 15:18 | |
openstackgerrit | Merged openstack/ara-web master: Make the permalink and clock icons for playbooks larger https://review.openstack.org/610962 | 15:19 |
openstackgerrit | Merged openstack/ara-web master: First iteration of playbook status icons based on playbook.status https://review.openstack.org/610935 | 15:19 |
dmsimard | gvincent: :P | 15:19 |
dmsimard | apollo13: regarding configuration with flat files (on top of env) | 15:19 |
dmsimard | I'm not saying it's the best approach but just for the sake of discussion, there's something in 0.x that we do that /could/ be an option | 15:20 |
dmsimard | 0.x ensures that an ~/.ara directory is created (the location of this directory is configurable) | 15:21 |
dmsimard | Part of the bootstrap involves setting up the logging and this is done here: https://github.com/openstack/ara/blob/master/ara/config/logger.py | 15:21 |
dmsimard | tl;dr, what logger.py does is to create a default ~/.ara/logging.yml file if it doesn't exist | 15:22 |
dmsimard | but it always ends up sourcing that file for configuration | 15:22 |
dmsimard | allowing users to customize their config if they want | 15:22 |
dmsimard | just like in ansible, env vars would have precedence | 15:26 |
openstackgerrit | Merged openstack/ara-server master: Use playbook.updated instead of "now" for calculating duration https://review.openstack.org/610968 | 15:31 |
dmsimard | hmmm, there's a regression around where we save files | 15:37 |
dmsimard | apollo13: if you still intend to iron out the kinks with the files model and API, I think once we set up the fk from file to playbook.id, we need to set a unique constraint for file.path with playbook.id | 15:40 |
dmsimard | no reason for us to even attempt to save the same path more than once for the playbook, even if it ends up being the same one blob of data | 15:42 |
*** tbielawa is now known as tbielawa|brb | 17:02 | |
*** tbielawa|brb is now known as tbielawa|mtg | 17:27 | |
*** jparrill has joined #ara | 17:49 | |
*** jparrill has quit IRC | 18:16 | |
apollo13 | jupp, there are certainly a few constraints and indices we can add | 19:34 |
apollo13 | as for config file; from an ops perspective yaml files are imo an horror (hard to template etc…) | 19:36 |
apollo13 | also in the end we will need to map 90% of it to settings.py anyways | 19:36 |
apollo13 | what I did quite well with in the past is in addition to supporting env vars, support and envfile -- this makes it easier if you want to set multiple options | 19:37 |
apollo13 | and if someone still needs more they can always write their own settings module and point DJANGO_SETTINGS_MODULE to it | 19:37 |
*** gvincent has quit IRC | 20:07 | |
*** tbielawa|mtg is now known as tbielawa|g0n3 | 20:16 | |
*** sshnaidm has joined #ara | 21:40 | |
*** sshnaidm is now known as sshnaidm|off | 21:40 | |
*** sshnaidm_ has joined #ara | 21:42 | |
*** sshnaidm_ has quit IRC | 21:42 | |
*** themurph has quit IRC | 21:43 | |
*** themurph has joined #ara | 21:45 | |
*** sshnaidm|off has quit IRC | 21:45 | |
*** themurph has quit IRC | 21:49 | |
dmsimard | apollo13: yeah agreed on yaml, I picked it for logging because I felt it was a better fit.. ini logging config file are hard to read imo | 21:57 |
dmsimard | Figuring this out isn't urgent for the moment | 21:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!