/srv/irclogs.ubuntu.com/2016/11/09/#juju-dev.txt

redirI assume we already have some tooling for storing time values as json on disk. Can someone point me at an example?00:51
babbageclunkgoing for a run, hope it doesn't all go wrong while I'm out!00:53
voidspacethumper: ping00:56
thumpervoidspace: hey01:03
voidspacethumper: hey, hi01:03
voidspacethumper: I'm working on bug 163236201:04
mupBug #1632362: error during juju-wait ERROR cannot load cookies: file locked for too long; giving up: cannot acquire lock: resource temporarily unavailable <eda> <oil> <juju:Triaged by rharding> <Juju Wait Plugin:Invalid> <https://launchpad.net/bugs/1632362>01:04
voidspacethumper: which *appears* to be a problem with the juju/persistent-cookiejar library around the way it does file locking01:04
voidspacethumper: the suggestion in the bug is to switch to a many-readers-one-writer style lock01:04
thumperugh, otp right now01:05
voidspacethumper: I'll email it01:05
thumperack01:05
voidspacethumper: I hear you have "opinions" on file locking...01:05
voidspacethumper: :-)01:05
thumper:)01:05
voidspacethumper: although it seems like really we want a database...01:05
voidspacethumper: which may only be as complex as rewriting file locking from scratch01:06
voidspaceor less...01:06
voidspacethumper: assuming that's the real bug...01:06
redirOK. I'm calling it. Time to go watch the incoming results.01:22
voidspacegood luck America01:22
voidspaceI'm also calling it time01:22
voidspaceg'night all01:22
alexisbthumper, ping02:19
thumperalexisb: pong02:20
alexisbheya do you have a second to chat?02:20
thumperyep02:20
thumperhangout or bluejeans?02:20
alexisbk meet you in bluejeans02:20
thumperack02:20
alexisblet me plug in my laptop02:20
mupBug # changed: 1543362, 1544158, 1565943, 160778604:23
redirsomeone shoot me04:51
* anastasiamac does not want to shoot redir05:24
rick_halexisb: ping, can you grab wallyworld for the session?07:04
anastasiamacrick_h: where r u?07:08
rick_hanastasiamac: in the bolero room for the cross cloud controller07:08
anastasiamacrick_h: we r in opereta, talking with uros07:10
rick_hanastasiamac: wallyworld is there as well? I've got some guests in here it'd be good to get backup here07:10
anastasiamacrick_h: come over here - the same conversation is taking place07:11
anastasiamacrick_h: yes, wallyworld is here07:11
rick_hanastasiamac: k, the calendar says this room so we've got 5 folks in here to talk about it07:11
anastasiamacrick_h: there is more here :D07:12
cmarsgood morning juju-land. can I get a review of https://github.com/juju/charm/pull/225 and https://github.com/juju/juju/pull/6549 to fix https://bugs.launchpad.net/juju-core/+bug/1639855 ?07:59
mupBug #1639855: 2.0 metrics breaks 1.25 <juju-core:In Progress by cmars> <https://launchpad.net/bugs/1639855>07:59
redirno seriously.08:30
redirShoot me.08:30
* redir goes to bed hoping not to have a 4 year hangover08:32
hoenircould someone review these patches? https://github.com/juju/juju/pull/6523 https://github.com/juju/utils/pull/24908:44
voidspacedooferlad: ping12:45
voidspacerick_h: we doing 1:1 today?13:57
dooferladvoidspace: how can I help?14:00
voidspacerick_h: I'll be a bit late anyway, nothing *burning* that I need to talk about that can't be done by email14:00
voidspacerick_h: so happy to skip, but also very happy to chat if you're around14:01
voidspacedooferlad: hey14:01
voidspacedooferlad: so I'm fixing the file locking to use juju/mutex instead of filelock14:01
voidspacedooferlad: which uses named pipes (etc) to do the locking instead of the filesystem14:01
voidspacedooferlad: but it has a 40 char max, and cookiejar uses full file paths which can exceed 40 chars14:01
voidspacedooferlad: so I'm thinking that a hash of the full path is the thing to do14:02
voidspacedooferlad: and am wondering which hashing algorithm to use - SHA1 looks promising in terms of a small output hash sized14:02
dooferladvoidspace: can you give me a path to the file that has the problem?14:02
voidspacedooferlad: but I thought you might have "opinions" that would be helpful14:02
dooferladvoidspace: :-)14:02
voidspacedooferlad: I'll have to dig to get that14:02
voidspacedooferlad: and my wife just got back, let me come back to you on it14:03
dooferladvoidspace: sounds good14:03
voidspacerick_h: I just got the MAAS storage email14:05
voidspacerick_h: I'm very close to a complete PR for the issue I'm on currently, so I'll complete that then switch to MAAS storage14:05
voidspacerick_h: I've not looked at storage before, but there are plenty of people to ask if I need to (most of them on sprint with you though...) :-)14:06
rick_hVoidspace thank you. Understand it's not an immediate turnaround.14:08
dooferladvoidspace: on the subject of locking I would say that looking at the persistent-cookiejar code we could name a mutex 'juju-cookies' as long as we only have one location for the cookie file (next to the Juju settings) and that we need to import any existing cookies from the current location (JUJU_COOKIEFILE, GOCOOKIES or $HOME) if14:21
dooferlad$HOME/.local/share/juju/cookies doesn't exist.14:21
rick_hjam: ping15:35
voidspacedooferlad: I think it's ok to use 29 character hash (of SHA256) : last ten chars of file path15:46
voidspacedooferlad: and as we're the only user for juju cookies I don't think the cross-version incompatibility will be a problem15:46
dooferladvoidspace: if we are the only users, why not just ask for a jar name on creation and use "juju/cookies/<name15:47
dooferladsorry, juju/cookies as that name15:48
dooferladwhen calling from our code15:48
voidspacedooferlad: because the underlying library needs to generate locks for arbitrary paths15:48
dooferladvoidspace: good point, well made :-)15:49
dooferladthis feels a lot like we forked the cookie code instead of implementing a library to wrap file access inside a juju/mutex15:54
mupBug #1640521 opened: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521>16:00
mupBug #1640521 changed: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521>16:18
mupBug #1640521 opened: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521>16:21
lazyPowerrick_h - correct me if i'm wrong, but to bootstrap a controller with proxy settings we just drop http-proxy|https-proxy flags in a config.yaml and bootstrap with --config=myfile.yaml?19:08

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