/srv/irclogs.ubuntu.com/2014/01/27/#juju-dev.txt

jamdimitern: Good morinng! I'm in the hangout whenever you want to join07:28
dimiternjam, morning, i'm just about to open it :)07:28
rogpeppemornin' all09:03
dimiternmorning ;)09:04
drj11morning morty09:13
jamdimitern: you might want to check your Spam folder. BTSTravel successfully booked the flight, but the email with itinerary got flagged as spam.09:19
dimiternhmm09:20
jamAnd google, at least, thinks emails with attachments from bts are spam09:20
dimiternjam, thanks, I'll have a look09:20
jam" We've found that lots of messages from btstravel.be are spam. "09:20
dimiternjam, nope, i've just got a reply09:20
dimiternjam, she'll book it soon09:20
jamdimitern: I get direct emails from them, but not emails including the itinerary. You may need to check once its booked :)09:21
dimiternjam, will do :)09:21
* fwereade is having further happy fun electricity times09:34
TheMuefwereade: heya09:35
TheMuefwereade: have you been able to talk to rogpeppe about his approach?09:35
fwereadeTheMue, yeah, he convinced me, please confer with him09:41
rogpeppeTheMue: i'm in a sprint this week, but i should be able to get a few moments here and there to help09:41
dimiternfwereade, if you have a moment, https://codereview.appspot.com/53210044 fixes bug 106797909:42
_mup_Bug #1067979: race: concurrent charm deployments corrupts deployments <deploy> <race-condition> <test-needed> <juju-core:In Progress by dimitern> <https://launchpad.net/bugs/1067979>09:42
fwereadedimitern, awesome, I will try09:42
fwereadeeveryone, however, we've got to open up a wall and figure out if there's something that'll burn the house down in there09:42
fwereadeso my presence this morning at least is likely to be random and fleeting09:43
* dimitern is afk for a while09:43
* fwereade grumbles09:43
TheMuerogpeppe: ok, much is already in your branch, so I can use it, especially with the noted todos. in case of questions I simply try to reach you09:44
TheMuerogpeppe: where is the sprint?09:45
rogpeppeTheMue: london09:45
TheMuerogpeppe: nice, would like to go there too. only been once in london, in heathrow for 3h :D09:45
rogpeppeTheMue: i'm not that keen on london :-)09:47
TheMuerogpeppe: would like to do some sightseeing but surely not live09:49
cgzprerecorded sightseeing would be boring...09:53
cgzall the canned laughter...09:53
TheMuecgz: what is "prerecorded sightseeing"?10:01
cgzTheMue: I was poking you a little about the idea of 'live' being as in live television, rather than as in to reside :P10:04
cgzjam: 1:1 on g+?10:04
jamhey cgz, sure10:05
jamcgz: in the weekly one, or in the 1:1 ?10:05
jamsorry, in the weekly calendar 1:1 or in the daily standup hangout?10:06
cgzthe daily will do10:06
jamcgz: I'm there10:06
TheMuecgz: hehe, ok, fought with my lack of knowledge of the english language10:07
jamTheMue: they're pronounced differently, but spelled the same10:09
jamshort 'i' vs long 'i'10:10
TheMuejam: maybe we should write phonetics here ;)10:10
jamTheMue: english would be much better if it was phonetical10:11
TheMuejam: same problem here. and my younger daughter fights with it even more while learning japanese10:13
jamTheMue: Chinese is just as bad: http://forum.koohii.com/viewtopic.php?pid=10599210:14
TheMuejam: *iirks*10:15
jamTheMue: listen to the audio, it is pretty amazing10:16
rogpeppeanyone got an opinion on the best way to fix https://bugs.launchpad.net/juju-core/+bug/1273169 ?10:40
_mup_Bug #1273169: bootstrap: error from apt-get update is uninformative <juju-core:New> <https://launchpad.net/bugs/1273169>10:40
rogpeppetwo immediate possibilities spring to mind, but perhaps there's a better idea10:41
* fwereade waves at meebey10:41
jamfwereade: rogpeppe: standup?10:48
jamdimitern_: a quick thought. if you change how charm archives are named in storage, it would be good to keep the charm name in there. (so charm-123-UUID, or somethnig like that) otherwise pure UUID/SHA256 hashes are really meaningless if you ever just listed your storage12:07
vdsanyone can help me in understanding what's happening: https://pastebin.canonical.com/103609/ ?  http://paste.ubuntu.com/6825878/12:13
dimitern_jam, that's a fair point12:17
dimitern_vds, if you're using 1.16, this is a known issue with the simple streams format12:20
jamvds: if you're using --upload-tools, it expects to find a 'jujud' in the same directory as the 'juju'12:20
jamdimitern_: that would be 1.17, actually (I'm pretty sure)12:20
dimitern_jam, ah, ok12:20
jam1.16 didn't go for streams..../juju12:20
dimitern_right!12:21
vdsdimitern_,  hello, for what I can see, it's there: /home/vds/canonical/bin/juju /home/vds/canonical/bin/jujud12:21
vdsdimitern_, is it ok that https://streams.canonical.com/juju returns a 404?12:22
vdsif I hit it with a browser?12:22
dimitern_vds, actually, I'm not that into simplestreams stuff myself12:23
dimitern_vds, but if you're trying to bootstrap from source with --upload-tools it should work, as long as your GOPATH and other Go stuff is in the right place12:24
jamvds: it won't "real soon now' but it is expected right now12:24
jamwell, the code didn't expect it, but we're fixing ithat12:24
vdsdimitern_, once everything is compile, does GOPATH still matters?12:25
vdsin any case, the GOPATH is fine, the same command used to work on Thu and it is broken since Fri.12:26
vdsjam, I was running an older revno, now I'm on trunk and I still get the same issue, I was wondering if it's just me or that bootstrap is broken.12:27
jamvds: if you're running from source, you probably ran "go build" in the source tree, you need to run "go install" and run it from where jujud is next to juju (I believe12:28
dimitern_vds, have you tried not giving --series=... ?12:28
vdsjam, yep, did that12:29
dimitern_vds, I have this handy little script to rebuild the binaries12:29
dimitern_vds, http://paste.ubuntu.com/6825937/12:29
vdsdimitern_, yes, it works, but I need trusty, how else do I do it?12:29
dimitern_vds, default-series: trusty?12:30
dimitern_in env.yaml12:30
dimitern_vds, if you're on trusty, --upload-tools automagically uploads the tools in both "default-series" and your current series12:31
vdsdimitern_, I'm on saucy, but the charm I'm trying to test requires trusty, I've changed the default in env.yaml, let's see if it works :)12:32
* dimitern_ needs to step away for and hour or so12:52
fwereadevds, I think you need a fix for https://bugs.launchpad.net/juju-core/+bug/121739712:52
_mup_Bug #1217397: image-stream configuration option for openstack provider <config> <openstack-provider> <juju-core:In Progress by wallyworld> <https://launchpad.net/bugs/1217397>12:52
fwereadevds, ian's working on it12:53
fwereadevds, (or, you don't necessarily need it, but you'd need to generate your own image metadata and set image-metadata-url)12:53
vds fwereade thanks for the info13:16
=== gary_poster|away is now known as gary_poster
vdsany known issues with juju debug-log, I'm getting this: http://paste.ubuntu.com/6826178/13:29
TheMuevds: local provider? in that case debug-log doesn't work (yet)13:32
vdsTheMue, OpenStack13:32
TheMuevds: in that case it's strange, hmm13:33
TheMuevds: current debug-log makes a ssh connect to the state server and tails the mentioned file13:34
vdsTheMue, http://paste.ubuntu.com/6826243/13:41
TheMuevds: hmm, I'm stunning13:46
TheMuevds: it is set in the syslog config13:48
TheMuevds: it seems this is missing. troubles during bootstrapping?13:48
vdsTheMue, not that I can see, and it happens all the time, I'm using juju-core trunk13:52
TheMuevds: what do you see in /etc/rsyslog.d on the state server?13:55
vdsTheMue, /etc/rsyslog.d/25-juju.conf http://paste.ubuntu.com/6826312/13:57
TheMuevds: looks right *headshaking*13:59
TheMuevds: and rsyslogd is running?14:01
vdsTheMue, yep14:05
TheMuevds: could be interesting would happens if you restart it, but that's not the idea behind it14:06
vdsTheMue, not much14:08
TheMuevds: sadly I'm reaching my limits now14:11
vdsTheMue, thanks :)14:11
vdsTheMue, I wonder if that happens just to me, I'm bootstrapping a trusty machine, that's it, nothing strange14:12
TheMuevds: never tested it on trusty so far14:13
jamespagefwereade, hey - just repro'ed that issue I was taking about last week when tearing down environments14:33
jamespagehttp://paste.ubuntu.com/6826470/14:33
fwereadejamespage, cool, thanks; remind me, was there already a bug for that?14:40
* jamespage digs14:41
jamespagefwereade, https://bugs.launchpad.net/juju-core/+bug/124480714:42
_mup_Bug #1244807: juju-deployer teardown fails due to hook errors <destroy-service> <theme-oil> <juju-core:Triaged> <https://launchpad.net/bugs/1244807>14:42
fwereadejamespage, gaah, found the bug14:43
fwereadejamespage, thanks14:43
vdsTheMue, btw: when I bootstrap I get a lot of lines like: ERROR TLS handshake failed: EOF14:52
TheMuevds: only when bootstrapping trusty?14:58
vdsthedac, well, so far that's what I'm bootstrapping.14:59
fwereaderogpeppe, natefinch, dimitern_: anyone recognise http://paste.ubuntu.com/6826597/ -- I seem to be seeing it 100% of the time on trunk15:03
=== arosales_ is now known as arosales
natefinchfwereade: sorry, was afk.  I haven't seen that one.15:41
fwereadenatefinch, can you repro? it's possible I'm doing something dense15:42
natefinchfwereade: checking15:44
natefinchgah, I wish bzr switch would warn me that I have uncommitted changes that'll get merged into the new branch and screw everything up15:46
fwereadenatefinch, ouch, sorry :(15:49
natefinchit's ok, luckily fairly segregated changes.15:49
natefinchfwereade: go test ./... from worker/uniter passes for me15:52
natefinchfwereade: on trunk15:52
natefinchfwereade: oops, noticed that's not where you were testing15:53
natefinchfwereade: launchpad.net/juju-core/state/apiserver/uniter  also passes for me15:54
fwereadenatefinch, thanks for confirming15:54
sinzuinate_finch, CI consistently sees an error that I think is in the machine, not the test or juju17:04
sinzuiERROR juju.cmd supercommand.go:294 cannot use 37019 as state port, already in use17:04
sinzui^ How do I smack mongodb to be in a pristine state17:05
nate_finchsinzui: you should remove the default mongo upstart script.... though that should be on 2701917:06
sinzuinate_finch, 37019 is the port juju says it wants to use17:06
nate_finchsinzui: oh wait, mongo is 27017  ... hmm17:08
nate_finchsinzui: remnants from an old test that died?17:08
sinzuipossibly17:08
nate_finchcheck for instances of mongo and kill them mercilessly17:08
nate_finchalso some of the tests create folders called /tmp/mongo-test*    (typing from memory, but something like that)17:09
nate_finchmgo-test I think17:09
nate_finchthose should get blown away, if only to maintain disk space17:09
sinzuiI killed mongodb, but I juju still complains about the port in use17:10
sinzuiWTF, netstat says it is there, but ps says there is no mongodb17:12
sinzuiI see some progress and killing the proc that was restarted17:13
nate_finchsinzui: it's almost certainly a port getting stuck from mongo, but not sure why it wouldn't be freed up when you killed mongo17:17
sinzuiI have bootstrapped with 1.17.1 \o/17:17
sinzuiI cannot destroy-environment though. Looks like the command no longer honors JUJU_HOME17:18
sinzuithere will never be a .juju dir17:18
nate_finchhuh weird17:19
vdscould you please tell me where am I supposed to find the logs of a subordinate charm? they don't appear in machine-XXX.log nor in unit-MAINCHARM-0.log17:20
cgzhttps://codereview.appspot.com/56560043 is ready, really I want Andrew to look at it when he comes on, because I don't understand why localStorage is so complex in the first place18:12
cgzI'm off now, later!18:12
* thumper tries to remember details around structure equality in golang20:57
nate_finchthumper: gotta be careful, since it depends on whats in the structure (i.e., if it has a map, you can't do it)20:58
thumpernate_finch: it is a struct with three strings20:58
thumpernate_finch: http://play.golang.org/p/e3O_2dSfgC20:59
thumpernate_finch: different values, but same contents20:59
thumperyes you need to be careful...20:59
* thumper thinks he has this...20:59
nate_finchyeah, comparing pointers is rarely what you want21:01
=== nate_finch is now known as natefinch
thumpernatefinch: I was thinking back to how equality works in C++21:03
thumpermember-wise comparison by default21:03
thumperwhich is kinda like this21:03
thumperobviously two maps are going to be two different maps21:03
thumperand it isn't going to check content21:03
thumperis that right?21:03
natefinchthumper: right.... well, they could be the same map, but they probably aren't21:04
* thumper nods21:04
thumperif they are the same map, is it equal?21:04
thumperyes21:04
natefinchthumper: I think go just smacks you if you try21:05
thumperhaha21:05
thumperreturn errors.New("don't do that"21:05
thumper)21:05
thumpernatefinch: I have a new go project21:05
thumpernatefinch: which I've not started yet21:06
thumpernatefinch: got a few minutes for a hangout?21:06
natefinchthumper: sure21:06
thumpernatefinch: https://plus.google.com/hangouts/_/76cpi448v94dmmna9rmctckokk?hl=en21:07
natefinchthumper: prog.go:14: invalid operation: c == b (struct containing map[string]string cannot be compared)21:08
natefinchthumper: http://play.golang.org/p/DfJsb1AIMT21:52
thumpernatefinch: ta21:52
thumpernatefinch: similar in some idea...21:53
thumpernatefinch: I'll see if I have some time to hack some stuff later21:53
natefinchthumper: cool21:54
wallyworldthumper: hiya, do you know that status of the 1.17 release?21:56
thumperwallyworld: nope21:56
thumperstuck I think21:56
wallyworldi saw a bug that was assigned to 1.17.1 moved to 1.17.221:56
wallyworldi had that work committed last last week21:56
wallyworldmaybe a 1.17.1 is being rolled out taking a rev prior to the local provider changes21:57
* thumper shrugs22:01
wallyworldthumper: at the moment, i'm working on allowing generic support for non-released images in simplestreams - previously azure supported a hard coded approach. it's a little messy due to inconsistent url path conventions. sigh. more work than i thought, and more testing also22:05
wallyworldwilliam wants this for thursday22:05
thumperwallyworld: I thought you weren't working today22:06
wallyworldwell, i am somewhat22:06
wallyworldi may have to be afk a little tomorrow morning for lachie's first day of school22:06
* thumper nods22:06
wallyworldplus i want to get this stuff done. it's on my mind22:07
* thumper wants an event bus inside juju-core22:40
* thumper signs22:40
thumperperhaps one day22:40
* thumper resists the temptation to write one for this test22:40
davecheneyyo dog, i put an event bus inside juju, so you could wait for events, while waiting for events22:51
davecheney#pleasemakeitstop22:51
thumper:)22:52
wallyworldthumper: i think someone said there was a go pubsub project somewhere? in our copious free time, let's plug it in23:07
hazmatwallyworld, nsq23:38
hazmatdifferent operational semantics than what we want for juju, at least once instead of at most23:38
wallyworldhazmat: i wasn't going to do it :-)23:45
wallyworldbut i do think our event substrate is broken somewhat23:45
hazmatwallyworld,  how so?23:53
hazmatwallyworld, i agree fwiw, but curious your reasons23:53
wallyworldhazmat: hard to explain in detail over irc. but a couple of things. 1. we notify of changes but then make the recipients all poll back to get the changes. so stampeding herd problem and race condition23:55
wallyworld2. we don't mux/demux notifications to recipients23:55
hazmatwallyworld,  yup that's  the same nutshell. moving the pub/sub to the api layer would help.. non composable db transactions as observation feed aren't ideal.23:55
wallyworldso send a lot more round trips than we need23:55
hazmatactually that's a little different but also good23:56
wallyworldi agree somewhat with backend issues you mention. but think we can model around that23:56
wallyworldgenerally, any polling based system doesn't scale well23:56
hazmatwallyworld, the notify of change, and fetch change actually helps solve some races as well, its fairly tried and true for state based changes as opposed to event queue work23:56
wallyworlddepends. i've also seen the opposite. i guess it related to ovrall system architecture23:57
hazmatthe herd is a bit worse than that, since its baked into the charm model.23:57
wallyworldoh :-(23:57
hazmatsvc a 1k units related to svc b's 1 unit.. .. svc b changes.23:58
wallyworldhaving arrived late to juju-core, i do get the feeling scalability wasn't up front in the design considerations23:58
wallyworldor as important as perhaps it might have been23:58
wallyworldcause "we'll solve it later wen needed" sorta can lead to design that's hard to change23:59
hazmatthere was a lot resistance to event mq models in favor of state observation models23:59
wallyworldthey don't have to be mutually exclusive23:59
hazmattrue23:59
wallyworldeg events can be used to communicate the model state at the time the event was published23:59

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