*** harlowja has quit IRC | 01:03 | |
*** harlowja has joined #ara | 02:13 | |
*** harlowja has quit IRC | 02:43 | |
*** it_friday__ has joined #ara | 03:07 | |
it_friday__ | THE L0DE RADIO HOUR IS LIVE HTTP://YOUTUBE.COM/L0DE/LIVE CALL IN NOW @ 315-505-4666 IRC.EFNET.ORG #LRH | 03:07 |
---|---|---|
it_friday__ | THE L0DE RADIO HOUR IS LIVE HTTP://YOUTUBE.COM/L0DE/LIVE CALL IN NOW @ 315-505-4666 IRC.EFNET.ORG #LRH | 03:07 |
it_friday__ | THE L0DE RADIO HOUR IS LIVE HTTP://YOUTUBE.COM/L0DE/LIVE CALL IN NOW @ 315-505-4666 IRC.EFNET.ORG #LRH | 03:07 |
it_friday__ | THE L0DE RADIO HOUR IS LIVE HTTP://YOUTUBE.COM/L0DE/LIVE CALL IN NOW @ 315-505-4666 IRC.EFNET.ORG #LRH | 03:07 |
it_friday__ | bcoca evrardjp hwoarang gvincent jmccrory jlozadad_ paulfantom spiette mhu tristanC jlozadad[m] DrWaluigi BlessJah jparrill_ JohnnyOSA openstackgerrit weshay sshnaidm|off ara-slack _KaszpiR_ jrist Verilium hughsaunders larsks SpamapS twouters boxrick dmsimard hiroki logan- berendt leifmadsen njohnston openstackstatus openstack mmercer myoung andymccr ssbarnea nhicher cliles mnaser miabbott Pies | 03:07 |
*** it_friday__ has left #ara | 03:07 | |
*** bcoca has quit IRC | 03:36 | |
*** gvincent_ has joined #ara | 05:38 | |
*** gvincent has quit IRC | 05:38 | |
*** sshnaidm|off has quit IRC | 06:17 | |
*** gvincent_ has quit IRC | 07:12 | |
*** dougbtv__ is now known as dougbtv | 12:22 | |
*** sshnaidm has joined #ara | 12:42 | |
*** jparrill_ has quit IRC | 15:24 | |
*** jparrill_ has joined #ara | 15:24 | |
hiroki | dmsimard: sorry, it was kingsday over here, so a bit AFK.. I've followed your instructions and tested out your code changes. However, it seems as though something goes wrong when requesting actual content stored in the SQLite database: https://ptpb.pw/AMsSt1E0zHV9-2al200FDr5-p-9m | 15:55 |
hiroki | I've cleared the database and ran a playbook so it got populated with whatever database scheme is most current, just in case. | 15:56 |
ara-slack | <dmsimard> @hiroki, that's an issue fixed yesterday due to a broken release of flask | 15:56 |
ara-slack | <dmsimard> Let me rebase the patch so it contains the fix | 15:57 |
hiroki | Ah right ! I'll clear the environment for a new try-out then | 15:57 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Add support for custom context/application root https://review.openstack.org/484378 | 15:59 |
dmsimard | hiroki: try with git fetch https://git.openstack.org/openstack/ara refs/changes/78/484378/11 && git checkout FETCH_HEAD | 15:59 |
dmsimard | That has the bad version blacklisted | 15:59 |
hiroki | Alright, give me 10 minutes, the machine needs to be re-provisioned (2min) | 16:00 |
dmsimard | Haha, no rush | 16:00 |
hiroki | looks good so far, i'll do further testing and put the reverse proxy in place to see if that works as well | 16:10 |
hiroki | dmsimard: with the reverse proxy in front things still work great and as expected, so it seems that all is well with the code changes ! | 16:16 |
*** DrWaluigi has quit IRC | 16:16 | |
dmsimard | Neat | 16:16 |
hiroki | One bug however remains, which occurs when clicking on a file reference in the 'Files' section | 16:16 |
hiroki | INFO werkzeug: 127.0.0.1 - - [28/Apr/2018 16:15:31] "GET /ara/file/cf10a3ba-d543-4081-a398-da2fad6fb390 HTTP/1.1" 301 - | 16:16 |
hiroki | There is no trailing slash appended to the GET request, whereas with other requests (tasks, for instance), this issue does not occur | 16:17 |
dmsimard | 301 is a redirect | 16:17 |
dmsimard | I'll take a look later perhaps | 16:17 |
dmsimard | In the meantime, I designed https://github.com/openstack/ansible-role-ara to be able to customize the root under embedded server, Apache and nginx | 16:18 |
hiroki | Yes it is a redirect, however, with a reverse proxy in between that speaks HTTPS front facing and proxying to ARA HTTP at the back, the file does not get loaded because ARA redirects to a HTTP URL, not the HTTPS url (which includes a non-default port BTW.) | 16:18 |
dmsimard | Oh, I see. | 16:19 |
hiroki | The port stays intact, but ont the protocol used HTTP vs. HTTPS | 16:19 |
hiroki | Great :) Seems like a good addition | 16:19 |
dmsimard | I believe there is a flask setting for preserving the url scheme | 16:19 |
dmsimard | http://flask.pocoo.org/docs/0.12/config/ | 16:20 |
dmsimard | PREFERRED_URL_SCHEME | 16:20 |
hiroki | It can be force with _scheme='https', but that's not a proper fix as it's hard coding it | 16:20 |
openstackgerrit | Merged openstack/ara master: Allow ARA module to be run https://review.openstack.org/563561 | 16:21 |
hiroki | Oh.. It defaults to HTTP | 16:21 |
dmsimard | Try adding self.PREFERRED_URL_SCHEME = 'https' in config/base or something like that | 16:21 |
dmsimard | Just to see if it works | 16:22 |
hiroki | Alright | 16:22 |
hiroki | Added that in base.py under 'self.FREEZER_IGNORE_404_NOT_FOUND'. Did not work | 16:24 |
dmsimard | Hmmm, I'm not sure. Does Hiawatha have rewrite rules so you could rewrite http to https ? | 16:29 |
hiroki | Yes, but it does not work with a non-default HTTPS port -> https://www.hiawatha-webserver.org/forum/topic/2726 | 16:30 |
dmsimard | The url you are browsing doesn't have :9191 in it, does it ? | 16:32 |
*** DrWaluigi has joined #ara | 16:35 | |
hiroki | dmsimard: no, just different URL scheme -> https://i.imgur.com/gngtwym.jpg | 16:37 |
*** jparrill_ has quit IRC | 16:40 | |
*** jparrill_ has joined #ara | 16:51 | |
hiroki | Will the custom context/application root patch be merged with master or backported to 0.14.X ? Doesn't really matter to me, but then I know what to refer to in the ARA spec file | 16:53 |
*** jparrill_ has quit IRC | 17:51 | |
*** jparrill_ has joined #ara | 18:16 | |
dmsimard | hiroki: it'll be part of the next release, 0.15.0, which is tagged from master | 19:35 |
hiroki | dmsimard: alright no worries, in that case i'll fix our spec file to that specific reference. FYI. -> https://ptpb.pw/ABf13R3lxQK_9iXd9crnhBhF6pp7/spec | 20:01 |
hiroki | I also have a spec file for Hiawatha done, i'll ask our packager to send it upstream to Fedora. Let me know if you'd like a copy of it | 20:02 |
hiroki | Oops, old URL. Correct one -> https://ptpb.pw/ADCFlwu8BtjFVawYJBIFhBQx3lQY/spec | 20:03 |
hiroki | It is a requirement to have the logging.yml file in place ? We'd like to disable file based logging as we have systemd output stdout / stderr anyways and have that forwarded. I reckon we can change the logging.yml file to not log. It is possible to work around it by having ARA ignore the file in the first place ? | 20:06 |
dmsimard | hiroki: fwiw ara is already packaged for rawhide: https://src.fedoraproject.org/cgit/rpms/ara.git/tree/ | 20:07 |
dmsimard | hiroki: yeah ARA will create a default logging file if there isn't one already | 20:08 |
dmsimard | You can configure it however you like though | 20:08 |
dmsimard | default logging configuration file* | 20:08 |
hiroki | Great, haven't caught that ARA tree on Fedora yet. Thank you for the changes to the application root, all is working well now :) | 21:51 |
hiroki | dmsimard: could you blacklist Ansible 2.5.2 in the requirements ? There seems to be a bug with 2.5.2 that prevents the file module from being idempotent for symlinks. It always changes the file and therefore reports changed if it has to deal with a symlink. 2.5.1 is confirmed not to have the bug, 2.5.2 does. I'll ask for it to be reported on monday as I could not find any reported issues on Github | 22:31 |
hiroki | To try it out yourself: https://ptpb.pw/AM7aW5bxASXeMAM5aGp1zrqxmvJM/yaml | 22:32 |
dmsimard | hiroki: if 2.5.2 doesn't work out for you, feel free to blacklist it locally (or pin to 2.5.1) | 22:37 |
hiroki | We did, but we reckon it will hurt more people then just us :) | 22:37 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!