*** tready has quit IRC | 00:29 | |
*** leifmadsen has quit IRC | 03:26 | |
*** leifmadsen has joined #ara | 03:27 | |
*** tready has joined #ara | 05:26 | |
*** tready has quit IRC | 05:31 | |
*** tready has joined #ara | 07:27 | |
*** tready has quit IRC | 07:31 | |
*** karimb has joined #ara | 09:24 | |
*** tready has joined #ara | 09:27 | |
*** tready has quit IRC | 09:32 | |
-openstackstatus- NOTICE: paste.openstack.org is down, due to connectivity issues with backend database. support ticket has been created. | 10:56 | |
*** ChanServ changes topic to "paste.openstack.org is down, due to connectivity issues with backend database. support ticket has been created." | 10:56 | |
*** tready has joined #ara | 11:29 | |
*** ChanServ changes topic to "ARA - Ansible Run Analysis: Making playbook runs easier to visualize, understand and troubleshoot | Git: https://github.com/openstack/ara - Docs: https://ara.readthedocs.io/en/latest/ - Latest version: 0.12.3: https://dmsimard.com/2017/03/12/an-even-better-ansible-reporting-interface-with-ara-0-12 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/" | 11:43 | |
-openstackstatus- NOTICE: paste.openstack.org service is back up - turns out it was a networking issue, not a database issue. yay networks! | 11:43 | |
*** tready has quit IRC | 12:19 | |
*** karimb has quit IRC | 12:28 | |
*** Maximus86 has joined #ara | 12:47 | |
Maximus86 | @dmsimard | 12:47 |
---|---|---|
Maximus86 | dmsimard: I updated the bug | 12:48 |
Maximus86 | dmsimard: was able to reproduce the datatables issue on a sparkling clean install of ara | 12:48 |
dmsimard | Maximus86: ok, looking | 12:51 |
openstackgerrit | Merged openstack/ansible-role-ara master: Clean up ansible-role-ara https://review.openstack.org/445984 | 12:54 |
dmsimard | Maximus86: there's something that doesn't work in your procedure to reproduce | 12:56 |
Maximus86 | tell me? | 12:56 |
dmsimard | where's the creation of the ara mysql user ? | 12:57 |
Maximus86 | ah wow sorry I copied the wrong scripty | 12:57 |
Maximus86 | CREATE USER 'ara' identified by 'arapass'; | 12:57 |
Maximus86 | GRANT ara_role_rw TO ara; SET DEFAULT ROLE ara_role_rw FOR ara; flush privileges; | 12:57 |
Maximus86 | I will edit my comment | 12:57 |
Maximus86 | done | 12:58 |
dmsimard | Maximus86: what version of mysql are you running ? | 12:59 |
dmsimard | mariadb 10.1.20 right ? | 12:59 |
Maximus86 | [root@localhost ~]# rpm -qa | grep Mar | 12:59 |
Maximus86 | MariaDB-common-10.1.22-1.el7.centos.x86_64 | 12:59 |
Maximus86 | MariaDB-server-10.1.22-1.el7.centos.x86_64 | 12:59 |
Maximus86 | MariaDB-shared-10.1.22-1.el7.centos.x86_64 | 12:59 |
Maximus86 | MariaDB-client-10.1.22-1.el7.centos.x86_64 | 12:59 |
dmsimard | ok | 12:59 |
dmsimard | Did you set any particular permissions on /etc/ansible ? | 13:00 |
Maximus86 | [root@localhost ~]# ls -lahtr /etc/ansible/ | 13:01 |
Maximus86 | total 20K | 13:01 |
Maximus86 | drwxr-xr-x. 2 root root 6 11. Nov 14:37 roles | 13:01 |
Maximus86 | drwxr-xr-x. 2 root root 27 16. Mär 11:04 facts.d | 13:01 |
Maximus86 | -rw-r--r--. 1 root root 531 16. Mär 12:28 ansible.cfg | 13:01 |
Maximus86 | -rw-r--r--. 1 root root 47 16. Mär 12:33 hosts | 13:01 |
Maximus86 | drwxr-xr-x. 4 root root 62 16. Mär 12:33 . | 13:01 |
Maximus86 | drwxr-xr-x. 77 root root 8,0K 16. Mär 12:33 .. | 13:01 |
Maximus86 | + | 13:01 |
Maximus86 | no acls | 13:01 |
dmsimard | Maximus86: pymysql installed from where ? pip ? | 13:04 |
Maximus86 | [root@localhost ~]# pip install pymysql | 13:05 |
Maximus86 | Collecting pymysql | 13:05 |
Maximus86 | Downloading PyMySQL-0.7.10-py2.py3-none-any.whl (78kB) | 13:05 |
Maximus86 | 100% |████████████████████████████████| 81kB 1.3MB/s | 13:05 |
Maximus86 | Installing collected packages: pymysql | 13:05 |
Maximus86 | Successfully installed pymysql-0.7.10 | 13:05 |
dmsimard | Maximus86: so that mysql script is still not working for me, seeing failure to authenticate -- at first glance it looks like it's because the user is not named "ara@localhost" | 13:09 |
dmsimard | sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1045, u"Access denied for user 'ara'@'localhost' (using password: YES)") | 13:09 |
Maximus86 | if it could not connect to the db. it should not be able to show stuff in the ui, right? | 13:11 |
dmsimard | I could eventually go beyond what you're telling me to make things work but I really want to do the same thing you're doing | 13:11 |
dmsimard | the home page probably wouldn't work at all, no | 13:12 |
Maximus86 | well everything worked here | 13:12 |
Maximus86 | as I described | 13:12 |
Maximus86 | so erm.. | 13:12 |
Maximus86 | maybe I should automate it | 13:12 |
Maximus86 | or export my vagrant box | 13:12 |
dmsimard | It's on a fresh installation of centos ? I'm trying to reproduce out of a fresh VM here | 13:12 |
Maximus86 | need to go now, I'll be back in ~ one hour | 13:13 |
dmsimard | if you could perhaps make a bash script to reproduce the issue, it'd probably be what is the most straightforward without any ambiguity | 13:13 |
Maximus86 | fresh install, but with a kickstart of my own | 13:13 |
Maximus86 | ok I'll do my best to provide that | 13:13 |
Maximus86 | can take some time :) | 13:13 |
dmsimard | sorry for being such a pain, I really can't reproduce this but there's obviously an issue and I want to fix it | 13:13 |
dmsimard | Maximus86: btw you can use https://gist.github.com/dmsimard/e24d147e0b74f7e25c3efd82a8bf9a77 as a base if it can help | 13:20 |
dmsimard | that one was using sqlite, so missing mysql bits | 13:20 |
*** tbielawa has joined #ara | 13:29 | |
*** tbielawa is now known as tbielawa|mtg | 13:29 | |
*** karimb has joined #ara | 13:30 | |
dmsimard | dougbtv, leifmadsen: so you know what sucks about ansible and containers | 13:34 |
dmsimard | systemd or lack thereof | 13:34 |
leifmadsen | yep.... | 13:34 |
dougbtv | siiigh, yeah | 13:35 |
dmsimard | that example I linked yesterday ? It was exactly that | 13:35 |
leifmadsen | systemd is everywhere! except containers. definitely not in containers. But everywhere else! | 13:35 |
dmsimard | so my idea to leverage the ansible role for both native and containerized installs is pretty much out the window unless we make it pretty pretty ugly | 13:36 |
dmsimard | it'd be it's own ansible-container thing | 13:36 |
dmsimard | not to say it wouldn't work, just that it'd be different | 13:36 |
dougbtv | random thought, but, I really love running containers from systemd units, it's really cute. They log to the foreground and get picked up by the journal, you can create dependencies, etc | 13:36 |
* dmsimard wanted to hit two stones with one bird | 13:36 | |
dougbtv | lol | 13:36 |
dmsimard | (yes, two stones with one bird) | 13:36 |
dmsimard | dougbtv: you know, I didn't know that was a thing until I googled some stuff just now | 13:37 |
dmsimard | It's sort of bastardizing if you ask me but eh | 13:37 |
dmsimard | it considers the docker container as a service | 13:37 |
dmsimard | sure | 13:37 |
dmsimard | ¯\_(ツ)_/¯ | 13:37 |
dougbtv | depends on use case, but, for something simple it feels cute. it's like petting a bird, it's not as good as petting a dog or cat, but, you can do it. | 13:38 |
dmsimard | dougbtv: you're talking to the wrong guy I have two birds | 13:38 |
leifmadsen | dmsimard: can you use tags with ansible-container? | 13:38 |
dougbtv | I actually really like birds :) | 13:38 |
dmsimard | hence ara and the bird logo :P | 13:38 |
leifmadsen | we could just use the same role, then filter out the non-containerizable bits with a tag | 13:38 |
dougbtv | had cockatiels growing up, they were awesome | 13:38 |
dougbtv | but... I'm a cat guy :) (to the chagrin of most, haha) | 13:38 |
leifmadsen | I have cocktails all the time | 13:39 |
dougbtv | haha | 13:39 |
dougbtv | pretty sure the way I spelled that it looks like I've been having cocktails all morning | 13:40 |
leifmadsen | all. day. long. | 13:46 |
leifmadsen | wait, that's tomorrow | 13:46 |
leifmadsen | it's taking me forever to write this simple README | 13:47 |
leifmadsen | not enough coffe | 13:47 |
dmsimard | oh hey there's an "official" centos docker image with systemd enabled already https://hub.docker.com/r/centos/systemd/ | 13:48 |
dmsimard | so you don't need to jump through the systemd hoops documented in https://hub.docker.com/_/centos/ | 13:49 |
dmsimard | 70MB too, pretty good | 13:50 |
* dmsimard looks | 13:50 | |
leifmadsen | oh nice | 13:52 |
leifmadsen | I think I'd rather use another image than python:2 anyways in the long term | 13:52 |
leifmadsen | because it's HUGE | 13:53 |
leifmadsen | (twss?) | 13:53 |
dmsimard | a fellow twss'er | 13:55 |
dmsimard | I restrain myself so much to be politically correct in public :( | 13:56 |
dmsimard | oh god | 13:57 |
dmsimard | ansible-container will run ara | 13:57 |
dmsimard | so we'll get an ara report of ansible-container running ara | 13:57 |
dmsimard | >_< | 13:57 |
dmsimard | well, I'm trying | 13:57 |
leifmadsen | lol | 13:58 |
dmsimard | INCEPTIONS | 13:59 |
dmsimard | the ansible-container container is huge.. | 13:59 |
leifmadsen | how huge is huge? | 14:00 |
leifmadsen | oh you mean a container that containers the contents of ansible-container? :) | 14:00 |
dmsimard | yeah | 14:00 |
dmsimard | ansible/ansible-container-builder 0.2 6a0481cdff24 5 months ago 710.6 MB | 14:01 |
leifmadsen | oh that's not bad | 14:01 |
dmsimard | leifmadsen: oh, hey, almost there http://paste.openstack.org/show/602971/ | 14:06 |
dmsimard | turns out "which" is not installed in the centos systemd docker image T_T | 14:06 |
leifmadsen | so you're going to get ansible-container done by the time I finish this bloody README :D | 14:06 |
leifmadsen | amazing | 14:06 |
dmsimard | damn centos | 14:06 |
dmsimard | first they don't include wget | 14:06 |
dmsimard | now they don't include which | 14:06 |
leifmadsen | you don't need wget, only curl :) | 14:06 |
dmsimard | wget4lyfe | 14:06 |
dougbtv | i hate having to install which, that bugs me | 14:08 |
leifmadsen | I hate having to write rst | 14:09 |
leifmadsen | :) | 14:09 |
leifmadsen | because I don't do it enough... md4lyfe | 14:09 |
dougbtv | md++ | 14:10 |
dmsimard | dougbtv: try to get pypi to read markdown | 14:10 |
dmsimard | good luck | 14:10 |
leifmadsen | I got it working fine yesterday :) | 14:10 |
leifmadsen | http://toad.rtfd.io | 14:10 |
dmsimard | rtfd != pypi | 14:11 |
dmsimard | i.e, https://pypi.python.org/pypi/ara/0.12.3 | 14:11 |
dmsimard | people resort to "translators" md -> rst lol https://coderwall.com/p/qawuyq/use-markdown-readme-s-in-python-modules | 14:11 |
dmsimard | pypandoc.convert('README.md', 'rst') | 14:12 |
openstackgerrit | David Moreau Simard proposed openstack/ansible-role-ara master: Alphabetically sort required packages, don't assume which is installed https://review.openstack.org/446530 | 14:13 |
dmsimard | ^ this makes me sad | 14:13 |
openstackgerrit | Merged openstack/ansible-role-ara master: Alphabetically sort required packages, don't assume which is installed https://review.openstack.org/446530 | 14:13 |
leifmadsen | so sad | 14:14 |
leifmadsen | is there a good editor for looking at RST? | 14:14 |
leifmadsen | would that just be atom.io or something? | 14:14 |
*** tbielawa|mtg has quit IRC | 14:14 | |
*** tbielawa has joined #ara | 14:14 | |
leifmadsen | I want to validate I have the right syntax. I normally just use remarkable, but that's for MD | 14:14 |
dmsimard | hum I have vscode that has a plugin for live rst preview | 14:14 |
dmsimard | I believe pycharm also has a rst preview thing | 14:15 |
leifmadsen | I have no idea what any of that is lol | 14:15 |
dmsimard | vscode is like atom | 14:15 |
dmsimard | but from microsoft | 14:15 |
leifmadsen | o.O | 14:15 |
dmsimard | it's faster and better :/ | 14:15 |
dmsimard | if all else fails I use http://rst.ninjs.org/ | 14:15 |
leifmadsen | my Windows desktop is actually i3wm :) | 14:15 |
leifmadsen | thx! | 14:15 |
dmsimard | hmm, next hurdle | 14:16 |
dmsimard | ansible-container_1 | fatal: [ara]: FAILED! => {"changed": true, "cmd": ["systemctl", "daemon-reload"], "delta": "0:00:00.015422", "end": "2017-03-16 14:16:18.889690", "failed": true, "rc": 1, "start": "2017-03-16 14:16:18.874268", "stderr": "Failed to get D-Bus connection: Operation not permitted", "stdout": "", "stdout_lines": [], "warnings": []} | 14:16 |
leifmadsen | ah looks like I have atom.io in a container and it has rst preview plugin | 14:17 |
leifmadsen | fixed | 14:17 |
leifmadsen | incoming contrib | 14:17 |
*** tready has joined #ara | 14:18 | |
openstackgerrit | Leif Madsen proposed openstack/ara master: Add Dockerfile for building ARA https://review.openstack.org/445058 | 14:18 |
*** tbielawa is now known as tbielawa|mtg | 14:23 | |
*** tbielawa|mtg is now known as tbielawa | 14:59 | |
*** karimb has quit IRC | 15:02 | |
*** karimb has joined #ara | 15:04 | |
tready | \quit | 15:45 |
*** tready has quit IRC | 15:45 | |
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted to address hung remote replication tasks, and should return to an operable state momentarily | 15:56 | |
*** karimb has quit IRC | 16:00 | |
*** karimb has joined #ara | 16:02 | |
*** Maximus86 has left #ara | 16:10 | |
*** karimb has quit IRC | 16:12 | |
*** karimb has joined #ara | 16:17 | |
*** karimb has quit IRC | 16:38 | |
dmsimard | leifmadsen: so I can't figure it out | 17:00 |
leifmadsen | oh? | 17:00 |
leifmadsen | ansible-container? | 17:00 |
leifmadsen | did you read dougbtv's blog post? :) | 17:00 |
leifmadsen | http://dougbtv.com/nfvpe/2017/03/16/ansible-container/ | 17:01 |
dougbtv | yeah after talking about it yesterday I was like "hrmm, it'd be nice to put this in the bag-o-tricks" so, made a recipe for it | 17:01 |
dmsimard | leifmadsen: https://github.com/ansible/ansible-container/issues/399 | 17:01 |
leifmadsen | ugh | 17:02 |
dougbtv | annoying | 17:02 |
dougbtv | did you try entrypoint for kicks? | 17:02 |
dmsimard | so, say I install httpd and do systemctl enable httpd | 17:03 |
dmsimard | that'll work | 17:03 |
dmsimard | daemon-reload, though, nope | 17:03 |
*** tbielawa is now known as tbielawa|brb | 17:15 | |
*** tbielawa|brb is now known as tbielawa | 17:44 | |
*** tbielawa is now known as tbielawa|lunch | 18:44 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add a project manifesto https://review.openstack.org/446709 | 19:33 |
dmsimard | Going to ping a few people here, this is sort of important, please have a look if you have a chance and let me know what you think | 19:33 |
dmsimard | andymccr, berendt, boxrick1, hughsaunders, larsks, leifmadsen, mnaser, tbielawa|lunch ^ | 19:34 |
* mnaser reads | 19:34 | |
leifmadsen | looking | 19:34 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add a project manifesto https://review.openstack.org/446709 | 19:35 |
* larsks reads | 19:35 | |
leifmadsen | commented | 19:43 |
leifmadsen | +1 though, only changes are around grammar from my viewpoint | 19:43 |
leifmadsen | it's is not possessive :) | 19:43 |
leifmadsen | (I hate English) | 19:44 |
leifmadsen | The cobbler's kids have no shoes (cobbler's is possessive) | 19:44 |
leifmadsen | It's is "it is", and not possessive... | 19:44 |
leifmadsen | :facepalm: | 19:44 |
*** tbielawa|lunch is now known as tbielawa | 19:52 | |
* tbielawa peeps | 19:53 | |
tbielawa | dmsimard: i love that you reference existing ideals (re:Zen); Also +1 to unix philosophy, but you'd need to define ARA in separate components to really adhere to that value. ara records the data, ara-<whatever shows it> makes the recorded data available as intuitively.... | 19:58 |
tbielawa | i should put this into an official comment thing shouldn't I? I should register for this service... | 19:58 |
dmsimard | leifmadsen: I'm french so grammar comments are okay :) | 19:58 |
leifmadsen | dmsimard: don't worry, english folks get it wrong too :) | 19:59 |
dmsimard | tbielawa: I agree with that statement | 19:59 |
dmsimard | it's a good comment | 19:59 |
tbielawa | dmsimard: you just got an achievement for adhering to value #2, being receptive to user feedback! | 20:00 |
tbielawa | achievement unlocked: Value 3 | 20:00 |
dmsimard | lol | 20:00 |
tbielawa | haha | 20:00 |
tbielawa | derp, typoed that first line | 20:00 |
dmsimard | tbielawa: so, yes, technically ARA is actually several components. The callback, the web application, the ara_record/ara_read modules. | 20:01 |
tbielawa | each following that principle | 20:01 |
tbielawa | al? | 20:01 |
dmsimard | the CLI, etc. | 20:01 |
dmsimard | I wanted to put something along the lines of "the right tool for the right job" somewhere in there too but it sort of folded back into unix philosophy's do one thing and do it well :) | 20:02 |
tbielawa | yeah, ESR talks about how things like 'postfix' (I forget which exactly he maintained) are broken into components and each follows that value. it does one thing, does it well. furthermore, they graciously expect invalid input and strictly produce valid output to hook into other programs (see more: The Cathedral and the Bazaar) | 20:02 |
tbielawa | dmsimard: you're not trying to rush merging this are you? I want to contribute feedbacks through the proper tracking system but don't have the free time right now. | 20:05 |
dmsimard | tbielawa: no, not in a rush -- there's a tl;dr on how to get started with reviews/contributions here http://ara.readthedocs.io/en/latest/contributing.html | 20:06 |
tbielawa | ackackack | 20:06 |
dmsimard | I can help you get started if you'd like, just ping me | 20:06 |
tbielawa | ack | 20:06 |
tbielawa | yeah, there is this other idea that keeps popping into my head but I never sign up for the idea board. | 20:07 |
tbielawa | just something that MAY output during an ansible run that says that ARA has loaded. basically so I have an extra queue to ensure I have my settings configured right. | 20:07 |
tbielawa | heh | 20:07 |
tbielawa | *que | 20:08 |
tbielawa | ? english..... | 20:08 |
dmsimard | tbielawa: yeah, sure. Easy :) | 20:11 |
dmsimard | tbielawa: regarding your comment | 20:11 |
dmsimard | It would go like this, towards the top | 20:11 |
dmsimard | Its purpose is to provide a way to simply and easily understand what happens throughout playbook runs at any scale. | 20:12 |
dmsimard | ARA itself is composed of several components to achieve that purpose. The project as well as those components adhere to some important core values. | 20:12 |
dmsimard | This manifesto exists to explain the different core values incorporated in the project's development and roadmap for users, contributors and developers alike. | 20:12 |
dmsimard | (then the thing continues) | 20:12 |
tbielawa | dmsimard++ | 20:15 |
tbielawa | :+1: | 20:15 |
dmsimard | there is no karma bot or github emojis here friend | 20:16 |
dmsimard | :P | 20:16 |
tbielawa | it will live on in my perpetual irc logs. | 20:16 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add a project manifesto https://review.openstack.org/446709 | 20:17 |
dmsimard | now with grammar and components | 20:17 |
tbielawa | lol | 20:17 |
tbielawa | now with 100% more grammar | 20:17 |
dmsimard | french grammar is so much more complicated than english too and it's something my brain never figured out yet I got good grades on written exams | 20:17 |
dmsimard | ¯\_(ツ)_/¯ | 20:18 |
dmsimard | one of my kids is learning to read right now and I'm helping her with homework and stuff and she asks me daddy why is there so many silent letters | 20:18 |
dmsimard | I don't know, kid, I don't know | 20:19 |
tbielawa | haha | 20:19 |
tbielawa | 'see that "x" letter? if it's at the end, just forget it exists.' | 20:19 |
tbielawa | also, h's are a joke we use to trick americans into sounding silly | 20:20 |
tbielawa | dmsimard: i assumed you were talking about French language homework, not english. | 20:20 |
dmsimard | tbielawa: yeah :p | 20:20 |
dmsimard | tbielawa: for french speakers, hard things are "th" and "ed" sounds | 20:20 |
dmsimard | like three != tree | 20:20 |
dmsimard | and disturbed != disturb bed | 20:21 |
tbielawa | threadded | 20:21 |
tbielawa | multi-threaded | 20:21 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add a project manifesto https://review.openstack.org/446709 | 20:24 |
tbielawa | oh yeha good update | 20:26 |
dmsimard | thanks berendt :) | 20:26 |
tbielawa | that part got me thinking earlier, say I'm running ara on a group of hosts. i was imagining dumping daters from all of them and then manually imnporting it into a secondary aggregation system | 20:26 |
tbielawa | just thinking out loud | 20:27 |
dmsimard | something I eventually want to do but I haven't got the time (or the logstash-ish knowledge) is to feed data from ARA into elasticsearch so that you can easily search things like patterns, make dashboards and stuff. | 20:27 |
tbielawa | yeah. | 20:28 |
dmsimard | like, I tried this one ELK container and I just couldn't figure out how to send data to it :p | 20:28 |
tbielawa | I know some companies would love to be able to import this into splunk easily, too. I've done some basic splunk integration in the past, but not enough to know how to even start enabling that w/ ARA | 20:28 |
dmsimard | I mean, you can just export stuff to JSON so it's pre-chewed/indexed/grok'd | 20:29 |
dmsimard | It's just how to get that pre-chewed data to the actual system | 20:29 |
tbielawa | actually, another team I know would probably lose their minds and it would completely replate that ansible-tailer thing we're probably still using. or at least improve the data they can extra from splunk right now | 20:29 |
tbielawa | yeah, it would be more of a 'recommended splunk integration procedure' type document rather than any actual thing. probably.... | 20:29 |
tbielawa | that sounds corporate | 20:30 |
* dmsimard nods | 20:30 | |
tbielawa | please forget i said that | 20:30 |
*** tbielawa has quit IRC | 20:40 | |
*** karimb has joined #ara | 21:41 | |
*** rattboi is now known as quartermaster | 21:48 | |
*** quartermaster is now known as rattboi | 21:57 | |
*** karimb has quit IRC | 22:46 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!