*** karimb has joined #ara | 00:14 | |
*** karimb has quit IRC | 00:22 | |
*** JakeDEvans has joined #ara | 03:43 | |
JakeDEvans | would you guys want/accept a pull request for a docker-compose.yml or DockerFile, and if so, how would it be formatted | 03:44 |
---|---|---|
JakeDEvans | I setup https://hub.docker.com/r/jacobdevans/ara/ | 03:44 |
JakeDEvans | you can find me on twitter, @jakedevans | 03:47 |
*** JakeDEvans has quit IRC | 03:47 | |
*** Maximus86 has joined #ara | 08:21 | |
*** karimb has joined #ara | 08:36 | |
Maximus86 | Anyone, please.. where can I file a bug report? | 09:00 |
karimb | Maximus86 not clear as per the docs :) | 09:59 |
karimb | Maximus86 it doesnt seem github issues are used, nor launchpad bugs | 10:00 |
Maximus86 | yeah I also tried to find stuff | 10:00 |
Maximus86 | no luck | 10:00 |
Maximus86 | "stuff" = a place to track and file bugs | 10:00 |
karimb | dmsimard worth enabling the issues tab on github ? | 10:01 |
Maximus86 | anyway | 10:59 |
Maximus86 | the revision of the db was not updated since 0.11.0 | 10:59 |
Maximus86 | so maybe logical that the db upgrades did not run? | 11:00 |
Maximus86 | though I don't see any upgrade file for 0.12.3? | 11:00 |
dmsimard | Maximus86: hey, you're right, how to file issues is not documented :( | 12:52 |
dmsimard | karimb: OpenStack projects don't use github issues, that's why it's toggled off | 12:53 |
dmsimard | karimb: It's either launchpad, or in the process of being moved towards storyboard | 12:53 |
dmsimard | Maximus86: sorry for not getting back to you yesterday, had my head deep into other work things | 12:53 |
Maximus86 | np :) | 13:02 |
Maximus86 | Still have some logs | 13:03 |
Maximus86 | can post them here, but if you can enable some form of public bug tracking, it might be better to post the info there? | 13:03 |
dmsimard | Maximus86: we do have public tracking on https://storyboard.openstack.org/#!/project/843 -- however it's not as straightforward as I would like from contributors not used to the OpenStack workflows | 13:13 |
dmsimard | Sometimes people end up posting issues on https://github.com/dmsimard/ara (original upstream) and I don't scold them for it but eventually I'll have to do something about it | 13:14 |
dmsimard | feel free to open an issue there for now, it's my fault for not coming up with proper docs and stuff :) | 13:14 |
dmsimard | if necessary I'll move the issue myself | 13:14 |
karimb | dmsimard yeah my guess was launchpad as github is just used for mirroring | 13:15 |
Maximus86 | aha awesome | 13:15 |
dmsimard | karimb: ara skipped launchpad entirely though, I wasn't interested in using launchpad if it was to migrate to storyboard a few months down the road | 13:15 |
dmsimard | plus I helped the storyboard devs with some feedback as an actual end user :) | 13:16 |
Maximus86 | dmsimard: would you prefer me filingh the issue on storyboard? | 13:16 |
dmsimard | leifmadsen: did you see that: https://hub.docker.com/r/jacobdevans/ara/ | 13:16 |
dmsimard | leifmadsen: came out of nowhere last night :) | 13:16 |
dmsimard | Maximus86: do you happen to already have an unbutu launchpad account ? | 13:28 |
dmsimard | Maximus86: storyboard currently uses launchpad as login backend | 13:28 |
Maximus86 | I do, but I just filed an issue on GH | 13:28 |
Maximus86 | https://github.com/dmsimard/ara/issues/117 | 13:28 |
Maximus86 | let me know if you need any more info | 13:29 |
dmsimard | ok, that works, I'll have a read soon, thanks | 13:29 |
-openstackstatus- NOTICE: Gerrit is going to be restarted due to performance problems | 13:36 | |
*** ChanServ changes topic to "Gerrit is going to be restarted due to performance problems" | 13:36 | |
leifmadsen | dmsimard: I didn't! looking! I ended up trying a new approach -- curious to see what he did | 13:41 |
leifmadsen | dmsimard: I hate when there is no Dockerfile associated :( | 13:42 |
dmsimard | leifmadsen: yeah I didn't look (yet) but it looks like there's definitely interest in running ara in docker, that's the third person in a couple days pitching something | 13:42 |
-openstackstatus- NOTICE: Gerrit has been successfully restarted | 13:42 | |
*** ChanServ changes topic to "Gerrit has been successfully restarted" | 13:42 | |
leifmadsen | dmsimard: nice! I basically wanted to access the ara command from my jenkins master to generate the html output, but I couldn't figure out a clean way of building the container so that I could access the commands | 13:44 |
leifmadsen | I've tried a couple approaches now, but I wonder if people doing ARA in containers aren't in the same scenario as me | 13:44 |
dmsimard | leifmadsen: hm, I've seen something before around python-openstackclient being packaged in a container | 13:45 |
dmsimard | need to remember who it was | 13:46 |
dmsimard | the use case is probably similar | 13:46 |
leifmadsen | oh true | 13:47 |
leifmadsen | I would imagine the same approach would work... let me google | 13:47 |
dmsimard | leifmadsen: in the end iirc it was mostly a lean container with osc and then a bash alias that'd wrap around it (say docker run -it openstackclient $1 -> osc server list) | 13:48 |
dmsimard | or something like that | 13:48 |
leifmadsen | gotcha | 13:48 |
leifmadsen | yea the issue was the deps and the binary accessing it | 13:49 |
*** 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.0: https://github.com/openstack/ara/releases/tag/0.12.0 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/" | 13:49 | |
-openstackstatus- NOTICE: Gerrit has been successfully restarted | 13:49 | |
dmsimard | leifmadsen: https://github.com/gbraad/dockerfile-openstack-client ? | 13:49 |
* leifmadsen looks | 13:49 | |
dmsimard | can't vouch for it, never tried it, but the approach seemed to make sense | 13:50 |
leifmadsen | yea, will check out some approaches, thanks! | 13:52 |
leifmadsen | hrmmmmmmmmmmmmm | 13:52 |
leifmadsen | ah so they install via curl... interesting... | 13:53 |
dmsimard | they do what where ? | 13:53 |
leifmadsen | the container is build via a sh script which does a curl to pull down a yml used by ansible to install the client in the container... | 13:53 |
leifmadsen | not sure I agree with this approach lol | 13:53 |
leifmadsen | https://github.com/gbraad/dockerfile-openstack-client/blob/master/centos/run_container.sh | 13:54 |
leifmadsen | so really the trick here, is that they install the client via a package (RPM) and not via python itself... which is why I did a "hmmmmmmm" | 13:54 |
dmsimard | So basically they bypass Dockerfile completely lol | 13:55 |
dmsimard | Use ansible-container while you're at it | 13:55 |
leifmadsen | yea.... | 13:55 |
dmsimard | Hm. Actually I did talk to you about an ara role yesterday | 13:56 |
leifmadsen | well I'm still trying to wrap my head around how to make it so the ara binaries have access to the right deps | 13:56 |
dmsimard | Ansible-container could just use that o_O | 13:56 |
leifmadsen | yea, I mean the "how" it gets installed could be debated, but I'm trying to think about how to satisfy the deps from requirements.txt while running from another container | 13:56 |
dmsimard | leifmadsen: I don't follow. The deps aren't installed in the container ? | 13:56 |
leifmadsen | I think a lot of these approaches with teh openstackclients are being run on machines hosting the container | 13:56 |
leifmadsen | they are, but then you have to expose things via volumes so that things can be read | 13:57 |
leifmadsen | since you're in another container running the app... | 13:57 |
leifmadsen | at least this seems to be what is happening... says things like it can't load ara.shell etc | 13:57 |
leifmadsen | even though I see the file | 13:57 |
dmsimard | Ah so using containerized ara from another container ? | 13:57 |
leifmadsen | I think I need to go and bother Doug to de-derp me, because I think I've just gotten my brain in a situation where it is stuck | 13:57 |
leifmadsen | dmsimard: yea that was the idea anyways... providing the binary to jenkins_master container via docker-compose and linking | 13:58 |
*** tbielawa has joined #ara | 13:59 | |
dmsimard | I haven't done that before. I mean, I've done linking for network stuff (say, mysql, httpd, etc) but not for using a binary from another container | 13:59 |
leifmadsen | yea, same | 14:03 |
leifmadsen | :) | 14:03 |
dmsimard | leifmadsen: the dockerfile for that dockerhub thing is here https://github.com/JakeDEvans/docker-ara | 14:16 |
leifmadsen | gotcha, so yea I kind of assumed he was going to be running the web interface... | 14:18 |
leifmadsen | I wonder if he tried running ara from another container.... | 14:18 |
*** spiette has joined #ara | 14:18 | |
*** ChanServ sets mode: +o dmsimard | 14:20 | |
*** dmsimard 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/" | 14:20 | |
dmsimard | In case you missed it, I posted about the 0.12 release this week: https://dmsimard.com/2017/03/12/an-even-better-ansible-reporting-interface-with-ara-0-12 | 14:20 |
dmsimard | Maximus86: looking at your thing now | 14:21 |
leifmadsen | \o/ | 14:23 |
dmsimard | leifmadsen: I missed some boolean things yesterday T_T | 14:31 |
leifmadsen | doh! | 14:31 |
dmsimard | Maximus86: are you around ? | 14:33 |
Maximus86 | dmsimard: I am | 14:34 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Properly use boolean Ansible types in configuration parameters (take two) https://review.openstack.org/445518 | 14:36 |
dmsimard | Maximus86: so I meant to ask you for a debug config but I realized toggling it on was broken (hence this patch just now ^) | 14:37 |
dmsimard | Maximus86: could you manually edit the config.py file (i.e, /usr/lib/python2.7/site-packages/ara/config.py) | 14:37 |
dmsimard | and change this line to "True" (no quotes) https://github.com/openstack/ara/blob/master/ara/config.py#L98 | 14:37 |
dmsimard | restart apache, go to your vhost/debug/config | 14:38 |
dmsimard | and pastebin that (feel free to truncate any sensitive info) | 14:38 |
Maximus86 | dmsimard: Is it normal lines 96-101 were removed in https://review.openstack.org/445518 ? | 14:42 |
Maximus86 | ah k nevermind | 14:43 |
dmsimard | Maximus86: yeah, they've moved up in an if/else logic to support ansible 2.3 differences | 14:43 |
Maximus86 | yeah just saw that | 14:43 |
dmsimard | I'm re-working that particular file to make it cleaner | 14:44 |
dmsimard | it's grown organically and it's a bit messy right now | 14:44 |
Maximus86 | I was confused because the file you linked on github was different from the file in the review link | 14:44 |
Maximus86 | hence the lines did not match | 14:44 |
Maximus86 | anyway, enabled it now | 14:44 |
dmsimard | Maximus86: so if you go to http://ara/debug/config, you should see a table with all the config items | 14:46 |
Maximus86 | dmsimard: http://pastebin.com/ruqtAe0C | 14:48 |
dmsimard | Maximus86: ok, what about if you run "ara-manage db history", can you pastebin that ? | 14:55 |
*** tbielawa has quit IRC | 14:55 | |
*** tbielawa has joined #ara | 14:55 | |
Maximus86 | dmsimard: http://pastebin.com/r3rP1ain | 15:00 |
dmsimard | Maximus86: that's good too.. huh | 15:02 |
* dmsimard scratches head | 15:02 | |
Maximus86 | I could create a mysqldump | 15:03 |
Maximus86 | but need to know then what kind of stuff is actually written in the dbv | 15:03 |
Maximus86 | *db | 15:03 |
Maximus86 | let me have alook | 15:03 |
Maximus86 | at least you can import that and recreate my issue | 15:03 |
Maximus86 | but it's as easy as: install centos 7 with all deps, install older version of ara, run ansible at least once, and then upgrade | 15:04 |
Maximus86 | I do have some failed runs too | 15:04 |
dmsimard | Maximus86: I'll figure it out | 15:05 |
Maximus86 | dmsimard: does ara actually store a copy of playbook or role related files in the db? | 15:07 |
Maximus86 | or does it rely on the files not changing on disk? | 15:07 |
Maximus86 | to display their contents? | 15:07 |
dmsimard | Maximus86: yup, they're compressed and unique (i.e, running the same playbooks 100 times will not save 100 files) | 15:07 |
dmsimard | ara saves files as ansible sees them -- it doesn't seek out by itself | 15:08 |
Maximus86 | dmsimard: nice, I saw some hashing but did not have a look in the code to see what was going onn but this means that if I want to send you a sql dump, all my playbook files are unredacted in the db | 15:08 |
dmsimard | if you do select * from the file content table, you should only see gibberish which is really just zipped text | 15:08 |
Maximus86 | I see | 15:09 |
dmsimard | Maximus86: right - I didn't look at anything though, promise | 15:09 |
Maximus86 | dmsimard: no issue for me, no passwords or any really sensitive info in there either, but might be an issue since the dump contains code I wrote at work | 15:10 |
Maximus86 | dmsimard: can you firstr try to reproduce on your end? | 15:14 |
dmsimard | Maximus86: yeah | 15:14 |
dmsimard | of course | 15:14 |
Maximus86 | dmsimard: sorry, if you are unable to reproduce I'll figure something out | 15:15 |
*** IRCFrEAK has joined #ara | 15:16 | |
*** IRCFrEAK has left #ara | 15:16 | |
*** IRCFrEAK has joined #ara | 15:16 | |
*** IRCFrEAK has left #ara | 15:16 | |
*** IRCFrEAK has joined #ara | 15:16 | |
*** IRCFrEAK has quit IRC | 15:16 | |
*** lamer14895042822 has joined #ara | 15:20 | |
*** lamer14895042822 has quit IRC | 15:23 | |
*** tbielawa is now known as tbielawa|brbXorg | 15:46 | |
*** tbielawa has joined #ara | 15:50 | |
Maximus86 | dmsimard: something even more fishy happened | 16:18 |
Maximus86 | dmsimard: "ERROR! Unexpected Exception: cannot import name 'app' " | 16:18 |
Maximus86 | while trying to run ansible... | 16:19 |
Maximus86 | uncommenting the ara values in ansible.cfg, ansible works again as expected | 16:19 |
Maximus86 | where can I look for meaningful info? | 16:19 |
Maximus86 | at least more meaningful than the error I am getting atm | 16:19 |
Maximus86 | (this is on ubuntu 16.04, ansible 2.2.1, ara 0.12.3) | 16:20 |
Maximus86 | first ansible run I do after the upgrade | 16:20 |
dmsimard | Maximus86: and ara 0.11 works just fine you said, right ? | 16:21 |
Maximus86 | yes | 16:22 |
dmsimard | can you stick on 0.11 for now while I figure this out ? | 16:22 |
Maximus86 | yes of course | 16:22 |
Maximus86 | it's non critical anyway | 16:22 |
dmsimard | don't want to leave you in a broken state | 16:22 |
Maximus86 | dmsimard: just downgraded to v0.11.0 via pip uninstall and pip install ara==0.11.0 | 16:25 |
Maximus86 | dmsimard: I can run ansible without errors now, after uncommenting the are stuff in ansible.cfg | 16:25 |
Maximus86 | (using just the callback plugins on that ubuntu box, with a local sqlite) | 16:25 |
dmsimard | what ansible.cfg config was causing issues ? | 16:26 |
Maximus86 | I had ara config in callbacks, actions and modules | 16:26 |
Maximus86 | I just blanket commented them, did not bother to test which single one was causing issues | 16:27 |
Maximus86 | I'll test and report back :) | 16:27 |
dmsimard | okay | 16:27 |
dmsimard | finding bugs is unfortunate but also cool so we can fix them | 16:27 |
Maximus86 | /usr/local/lib/python2.7/dist-packages/ara/plugins/callbacks | 16:28 |
Maximus86 | that's the one | 16:28 |
dmsimard | so callback_plugins was causing an error ? | 16:29 |
Maximus86 | did an upgrade, tried to run ansible -> fail, commented that line , ran ansible-> succes | 16:29 |
Maximus86 | yes | 16:29 |
dmsimard | yeah well that's what tells ansible to use ara :/ | 16:29 |
Maximus86 | hence why I'm in this IRC room and not ansible :P | 16:30 |
Maximus86 | jk | 16:30 |
dmsimard | you're finding all these problems I've never ran in, I should hire you as QA or something | 16:30 |
Maximus86 | lol I am known to break stuff (involuntarily) | 16:31 |
Maximus86 | I like the project. as long as I find bugs, and action is taken on them, it's not that unfortunate, it hopefully prevents others frustration | 16:31 |
Maximus86 | so I am happy to test and file bugs | 16:31 |
Maximus86 | also for future versions | 16:31 |
dmsimard | ansible 2.1.5 and 2.2.2 are bound to be released soon as well as the first release candidate for 2.3 | 16:32 |
dmsimard | testing will happen :p | 16:32 |
Maximus86 | ansible has becoma s a pillar of my daily work, so I shy away from RC or betas, but I'll certainly upgrade to the latest available | 16:34 |
*** themurph has joined #ara | 17:11 | |
*** Maximus86 has left #ara | 18:10 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Cleanup ARA configuration module https://review.openstack.org/445518 | 18:42 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Cleanup ARA configuration module https://review.openstack.org/445518 | 18:43 |
dmsimard | andymccr: fyi that improves how configuration in >=2.3 is handled versus <2.3 (tested successfully locally, I'll also run it in gate, 2.3rc1 is due to be out soon) | 18:46 |
*** tbielawa is now known as tbielawa|lunch | 19:30 | |
*** tbielawa|lunch is now known as tbielawa | 19:58 | |
*** tbielawa is now known as tbielawa|lunch | 19:59 | |
*** tbielawa|lunch is now known as tbielawa | 20:02 | |
*** tbielawa is now known as tbielawa|lunch | 20:03 | |
*** tbielawa|lunch has quit IRC | 20:25 | |
*** Maximus86 has joined #ara | 23:07 | |
Maximus86 | dmsimard: I updated the ticket with a schemq dump | 23:24 |
Maximus86 | and did a quick test by wiping and recreating the db | 23:24 |
Maximus86 | no error so far | 23:25 |
Maximus86 | at least no datatables error | 23:25 |
Maximus86 | I do get the same errors in the apache error log as before | 23:25 |
Maximus86 | this might have to do with my wsgi/apache config | 23:25 |
Maximus86 | I'll do some tests Thursday or Friday and report back | 23:26 |
*** Maximus86 has left #ara | 23:26 | |
*** karimb has quit IRC | 23:30 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!