redir | I assume we already have some tooling for storing time values as json on disk. Can someone point me at an example? | 00:51 |
---|---|---|
babbageclunk | going for a run, hope it doesn't all go wrong while I'm out! | 00:53 |
voidspace | thumper: ping | 00:56 |
thumper | voidspace: hey | 01:03 |
voidspace | thumper: hey, hi | 01:03 |
voidspace | thumper: I'm working on bug 1632362 | 01:04 |
mup | Bug #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 |
voidspace | thumper: which *appears* to be a problem with the juju/persistent-cookiejar library around the way it does file locking | 01:04 |
voidspace | thumper: the suggestion in the bug is to switch to a many-readers-one-writer style lock | 01:04 |
thumper | ugh, otp right now | 01:05 |
voidspace | thumper: I'll email it | 01:05 |
thumper | ack | 01:05 |
voidspace | thumper: I hear you have "opinions" on file locking... | 01:05 |
voidspace | thumper: :-) | 01:05 |
thumper | :) | 01:05 |
voidspace | thumper: although it seems like really we want a database... | 01:05 |
voidspace | thumper: which may only be as complex as rewriting file locking from scratch | 01:06 |
voidspace | or less... | 01:06 |
voidspace | thumper: assuming that's the real bug... | 01:06 |
redir | OK. I'm calling it. Time to go watch the incoming results. | 01:22 |
voidspace | good luck America | 01:22 |
voidspace | I'm also calling it time | 01:22 |
voidspace | g'night all | 01:22 |
alexisb | thumper, ping | 02:19 |
thumper | alexisb: pong | 02:20 |
alexisb | heya do you have a second to chat? | 02:20 |
thumper | yep | 02:20 |
thumper | hangout or bluejeans? | 02:20 |
alexisb | k meet you in bluejeans | 02:20 |
thumper | ack | 02:20 |
alexisb | let me plug in my laptop | 02:20 |
mup | Bug # changed: 1543362, 1544158, 1565943, 1607786 | 04:23 |
redir | someone shoot me | 04:51 |
* anastasiamac does not want to shoot redir | 05:24 | |
rick_h | alexisb: ping, can you grab wallyworld for the session? | 07:04 |
anastasiamac | rick_h: where r u? | 07:08 |
rick_h | anastasiamac: in the bolero room for the cross cloud controller | 07:08 |
anastasiamac | rick_h: we r in opereta, talking with uros | 07:10 |
rick_h | anastasiamac: wallyworld is there as well? I've got some guests in here it'd be good to get backup here | 07:10 |
anastasiamac | rick_h: come over here - the same conversation is taking place | 07:11 |
anastasiamac | rick_h: yes, wallyworld is here | 07:11 |
rick_h | anastasiamac: k, the calendar says this room so we've got 5 folks in here to talk about it | 07:11 |
anastasiamac | rick_h: there is more here :D | 07:12 |
cmars | good 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 |
mup | Bug #1639855: 2.0 metrics breaks 1.25 <juju-core:In Progress by cmars> <https://launchpad.net/bugs/1639855> | 07:59 |
redir | no seriously. | 08:30 |
redir | Shoot me. | 08:30 |
* redir goes to bed hoping not to have a 4 year hangover | 08:32 | |
hoenir | could someone review these patches? https://github.com/juju/juju/pull/6523 https://github.com/juju/utils/pull/249 | 08:44 |
voidspace | dooferlad: ping | 12:45 |
voidspace | rick_h: we doing 1:1 today? | 13:57 |
dooferlad | voidspace: how can I help? | 14:00 |
voidspace | rick_h: I'll be a bit late anyway, nothing *burning* that I need to talk about that can't be done by email | 14:00 |
voidspace | rick_h: so happy to skip, but also very happy to chat if you're around | 14:01 |
voidspace | dooferlad: hey | 14:01 |
voidspace | dooferlad: so I'm fixing the file locking to use juju/mutex instead of filelock | 14:01 |
voidspace | dooferlad: which uses named pipes (etc) to do the locking instead of the filesystem | 14:01 |
voidspace | dooferlad: but it has a 40 char max, and cookiejar uses full file paths which can exceed 40 chars | 14:01 |
voidspace | dooferlad: so I'm thinking that a hash of the full path is the thing to do | 14:02 |
voidspace | dooferlad: and am wondering which hashing algorithm to use - SHA1 looks promising in terms of a small output hash sized | 14:02 |
dooferlad | voidspace: can you give me a path to the file that has the problem? | 14:02 |
voidspace | dooferlad: but I thought you might have "opinions" that would be helpful | 14:02 |
dooferlad | voidspace: :-) | 14:02 |
voidspace | dooferlad: I'll have to dig to get that | 14:02 |
voidspace | dooferlad: and my wife just got back, let me come back to you on it | 14:03 |
dooferlad | voidspace: sounds good | 14:03 |
voidspace | rick_h: I just got the MAAS storage email | 14:05 |
voidspace | rick_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 storage | 14:05 |
voidspace | rick_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_h | Voidspace thank you. Understand it's not an immediate turnaround. | 14:08 |
dooferlad | voidspace: 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) if | 14:21 |
dooferlad | $HOME/.local/share/juju/cookies doesn't exist. | 14:21 |
rick_h | jam: ping | 15:35 |
voidspace | dooferlad: I think it's ok to use 29 character hash (of SHA256) : last ten chars of file path | 15:46 |
voidspace | dooferlad: and as we're the only user for juju cookies I don't think the cross-version incompatibility will be a problem | 15:46 |
dooferlad | voidspace: if we are the only users, why not just ask for a jar name on creation and use "juju/cookies/<name | 15:47 |
dooferlad | sorry, juju/cookies as that name | 15:48 |
dooferlad | when calling from our code | 15:48 |
voidspace | dooferlad: because the underlying library needs to generate locks for arbitrary paths | 15:48 |
dooferlad | voidspace: good point, well made :-) | 15:49 |
dooferlad | this feels a lot like we forked the cookie code instead of implementing a library to wrap file access inside a juju/mutex | 15:54 |
mup | Bug #1640521 opened: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521> | 16:00 |
mup | Bug #1640521 changed: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521> | 16:18 |
mup | Bug #1640521 opened: Unable to deploy Windows 2012 R2 on AWS <juju-core:New> <https://launchpad.net/bugs/1640521> | 16:21 |
lazyPower | rick_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!