/srv/irclogs.ubuntu.com/2016/04/20/#ubuntu-website.txt

davidcalleMorning o/06:53
dholbachdavidcalle, yo yo yo06:58
dholbachI didn't play around with staging too much yet06:59
dholbachand haven't figured out the hero tour06:59
dholbachI'm still going through the examples and making sure that stuff works or almost works with the new snapd/series 1606:59
davidcalleYep, btw, youtube-dl works for me07:02
dholbachbuilt from the newest trunk with the newest snapd and snapcraft?07:03
davidcalleA fresh build worked yesterday morning, but let me update and try again07:03
davidcalle*evening07:03
dholbachthanks07:04
dholbachoh, and install squid-deb-proxy{,-client} before :)07:05
davidcalleOh no wait, I haven't tried a fresh build actually, I just took dpm's word07:06
dholbachbig mistake :-P07:07
davidcalledholbach: how do you start webdm? I used to do it with snappy service webdm start07:07
dholbachI have no idea07:07
davidcalledholbach: do you still have ubuntu-core-config installed?07:30
dholbachI managed to fix a number of issues in lp:snappy-playpen, unfortunately this didn't give us more working snaps07:30
dholbachdavidcalle, yes... should I delete it? :)07:30
davidcalleNo, just checking if I should :)07:30
dholbachYou should not need to07:31
dholbach install this package manually.07:31
dholbachNot sure what that's supposed to mean... :)07:31
davidcalle:)07:33
davidcalledholbach: youtube-dl works perfectly for me :)08:04
dholbachok... maybe you can follow up on the bug report then?08:05
davidcalleok08:12
dholbachdavidcalle, the caching on staging (or whatever it is) is driving me nuts09:25
davidcalledholbach, I feel your pain!09:27
davidcalledholbach, will you mind if I wipe the staging db later today? (around 15)09:29
dholbachno, not at all09:30
dholbachI should be done with my tests before09:30
davidcalleok09:30
dholbachduring the import:09:30
dholbach502 Bad Gateway09:30
dholbachThe server returned an invalid or incomplete response.09:30
dholbachdo we have a way to access logs?09:30
dholbachor do we need to ask IS/webops?09:30
dholbachit's a bit hard to debug without logs09:30
davidcallewe have, I'll send them to you in 2 min09:31
dholbach<309:32
davidcalledholbach: any specific log file?09:39
davidcalleimport_md.log is empty09:39
dholbachsure, that's probably only used for the management command09:39
dholbachis there a log of the main thread?09:39
davidcallehttps://pastebin.canonical.com/154786/09:43
dholbachgracias09:44
dholbachdid you find the log?09:44
davidcallehttps://pastebin.canonical.com/154788/09:44
davidcalledholbach: lol -> https://pastebin.canonical.com/154789/09:45
davidcalledholbach: I need to run, I'll add the dep as soon as I'm back. python-yaml? python3-yaml?09:46
davidcalle(not doing it now as it needs a redeploy)09:47
dholbachI don't even know where that's coming from09:47
davidcalledholbach: the generate command09:47
dholbachah ok09:47
dholbachpython309:48
davidcalleok09:48
* davidcalle runs, bbiab09:48
dholbachsorry about that09:48
dholbachthanks davidcalle09:48
dholbachI guess it's this:09:49
dholbach2016-04-20 09:31:16 [17467] [CRITICAL] WORKER TIMEOUT (pid:17479)09:49
dholbach2016-04-20 09:31:16 [17467] [CRITICAL] WORKER TIMEOUT (pid:17479)09:49
dholbach2016-04-20 09:31:16 [30091] [INFO] Booting worker with pid: 3009109:49
dholbachcan we define what a suitable worker timeout is?09:49
dholbachok... maybe the issue here is that I'm using the admin interface09:50
dholbachand that it's going to work if we wait for the cronjob09:50
dholbachin that case we should increase the frequency09:50
dholbachand maybe go for hourly?09:50
dholbachor something09:50
dholbachlet's discuss later on09:50
dholbachI'm going to meet somebody for lunch later on, so will take a longer break, but will let you know once I'm back09:51
davidcalledholbach: back o/12:43
davidcalledholbach: about to redeploy for the new dep... any objection?12:45
* davidcalle presses button12:46
dholbachdavidcalle, no, please go ahead13:44
davidcalle:)13:49
dholbachdavidcalle, what do you think about what I said earlier?13:50
davidcalledholbach: how would that solve the timeout issue, more trials per day => more chances for it to pass?13:52
dholbachno13:52
dholbachit's a different process13:52
dholbachI believe that "[CRITICAL] WORKER TIMEOUT" is a wsgi or whatever else requirement13:53
dholbachif a slightly related, but also unrelated cronjob times out that's something separate13:53
dholbachor maybe I'm wrong, I don't know13:53
dholbachmhall119's api importer takes MUCH longer to complete13:54
dholbachand it's also a cronjob13:54
dholbachnot sure if I explained myself well13:54
davidcalledholbach: I see your point about workers, but not whywe should change the cronjob (I'm not against it, though)13:54
dholbachdavidcalle, using the worker through the admin interface makes no sense right no13:55
dholbachit times out and gets killed13:55
davidcalleyep13:55
dholbachthis provides no easy way to test13:55
dholbachand having to wait 1 day to see results is not really practical13:55
davidcalleOh right, for testing pruposes, gotcha13:55
davidcallepurposes*13:55
dholbachand to make sure that stuff works13:55
dholbachin normal conditions when everything works, daily is good enough for me :)13:56
davidcalledholbach: if you make a branch running it every 30min, I can plug that in :) (currently fighting with the db dump :/, asking IS for help)13:57
dholbachshit :-/13:57
dholbachI can't believe there's no easy way to do this13:57
dholbachhow are the other teams dealing with staging/prod data?13:57
davidcalledholbach: maybe you would know? What I'm doing is dropping the db, creating it, and "psql devportal-app < dbfile", it loads fine until http://paste.ubuntu.com/15948848/13:59
dholbachmaybe we can ask the U1 guys?13:59
dholbachthey must have experience with this13:59
davidcalledholbach: lol, deployment done, it worked14:00
davidcalledholbach: somehow, after 45min of fighting, the new db is in14:01
dholbachwow14:01
* davidcalle stops touching with postgre14:01
dholbachhttps://code.launchpad.net/~dholbach/developer-ubuntu-com/hourly-md-imports/+merge/29238414:01
davidcalletouch postgre*14:01
dholbachthere must be a way to exclude certain tables from a pg dump14:02
dholbachI remember I wrote a very hacky script to exclude certain bits from a pg dump ages ago, but I could imagine that somebody did a clean job of this somewhere14:03
davidcalledholbach: yeah, there must be one :) Sooo... Testing a few things related to the db and pushing your branch14:03
davidcalle(pushing on staging)14:04
dholbachthanks!14:16
davidcalledholbach: mhall119 db corruption fixed on staging \o/14:48
davidcalledpm: ^14:48
dholbachYES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!14:49
dholbach__   _______ ____  _14:49
dholbach\ \ / / ____/ ___|| |14:49
dholbach \ V /|  _| \___ \| |14:49
dholbach  | | | |___ ___) |_|14:49
dholbach  |_| |_____|____/(_)14:49
dholbach                     14:49
dpmoh wow, NICE WORK davidcalle and dholbach!14:51
dholbachship it14:51
davidcalledholbach: branch pushing in progress14:53
* dholbach hugs davidcalle 14:54
davidcalledholbach: pushed. You need to re-add import directives, though.15:17
dholbachawesome15:19
dholbachdavidcalle, I added snappy and snapcraft docs to staging15:40
dholbachdavidcalle, was python3-yaml added?15:41
davidcalledholbach: yep16:01
dholbachdavidcalle, ok... I'll take a look at it tomorrow16:01
dholbachlet's see if the main imports work later on16:02
dholbachI need to run after this call16:02
davidcalledpm: I need further confirmation from daniel, but it looks like the importer is working16:27
dpmnice!16:28
davidcalleHave a nice eod dpm o/16:28
dpmyou too!16:28
=== dpm is now known as dpm-mostly-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!