/srv/irclogs.ubuntu.com/2017/10/18/#juju-dev.txt

babbageclunkwallyworld: should we fallback to release anytime we'd use devel - even if the user has specified devel explicitly?02:47
wallyworldbabbageclunk: yeah, IMO. develop just indicates level of risk the user wants.02:48
babbageclunkok02:48
wallyworldwe need to behave linke snaps02:48
wallyworld*like02:48
babbageclunkwallyworld: I'm not sure how snaps work in this case02:53
wallyworldbabbageclunk: you need to read up on them then :-)02:56
babbageclunkwallyworld: trying - any pointers? The closest I can find is that you can publish to multiple channels when publishing - but that's not the case here is it?02:57
wallyworldno, this isn't about publishing but the user specifying the level of risk they are willing to accept02:58
wallyworldi can try and find some snappy docs02:58
babbageclunkRight, but it seems like you could publish to beta without publishing to edge, and then someone who was on edge wouldn't see that version?02:59
babbageclunkI'm reading the docs on snapcraft.io02:59
wallyworldbabbageclunk: they would see a higher version in beta03:00
wallyworldif published there03:00
babbageclunkwhoa, there are channel branches?03:01
wallyworldbabbageclunk: you always get the highest version - the channel determines how far down you look to see what's available03:01
wallyworldyeah03:01
wallyworldyou can create a short lived snap (30 days default) from a branch03:01
wallyworlda feature branch03:01
wallyworldif you want longer you need to pay03:02
babbageclunkhttps://forum.snapcraft.io/t/channel-terminology-and-policy/55103:03
babbageclunkOk, I think I get the fallback between risk levels (modulo the talk about closing which I guess doesn't matter here).03:09
wallyworldbabbageclunk: correct, closing is not relevant here03:10
babbageclunkwallyworld: what about the other stream levels (proposed, testing)03:10
wallyworldignore testing. we don't really use proposed in practice i don't think, but we could sp probably should support it03:11
babbageclunkI think it makes sense for all of them to fallback to released, right?03:11
wallyworldit's almost like testing < develop < proposed < released03:11
babbageclunkBut if they all had released after them that would be right? Or should I only have the fallback for develop?03:12
babbageclunkwallyworld: ^03:14
wallyworldbabbageclunk: sorry, on call, so distracted03:14
wallyworldthe above order would be analogous to snap channels03:14
babbageclunkwallyworld: okthanks!03:20
wallyworldbabbageclunk: sorry, out of meeting now if you still had questions04:24
babbageclunkwallyworld: no, I think I understand - I've made everything follow that fallback, just going through the places that call PreferredStream now to make them do the fallback if they need to. Thanks!04:26
wallyworldbabbageclunk: ok, sgtm04:29
axwwallyworld: still at the guessing phase, but I have a suspicion that it's nothing to do with skews now. the logs say that the leadership worker is failing with "not found" and "state changing too quickly; try again soon"04:57
axwwallyworld: from looking at the code, that doesn't make sense... unless there's 2 leadership workers04:57
wallyworldinteresting04:57
axwwallyworld: we run a leadership worker *per state*04:57
axwwallyworld: so one might be expiring stuff while the other is extending04:58
wallyworldoh dear04:58
axwwallyworld: I think the best thing to do would be to make it so we run one per model04:58
wallyworldaxw: that sounds logical, one per state sounds crazy05:01
wallyworldaxw: although i think there's an aspect where maybe there's a controller level doc, rather than per model05:03
wallyworldthe clock#singular-controller lease doc05:03
axwwallyworld: I'm just talking about the applications one atm05:03
wallyworldah ok05:03
wallyworldin that case sounds good to do05:04
axwwallyworld: I think we'd want a per-machine one for singular05:04
axwbut I'll leave that for now05:04
wallyworldper controller i think?05:06
axwwallyworld: each controller machine needs to run the worker for failover, that's how the singular workers are implemented05:13
axwthey'll each try to claim, but only one will succeed05:13
* axw bbs05:14
thumperwallyworld: https://github.com/juju/names/pull/8405:21
wallyworldthumper: looking05:26
wallyworldthumper: lgtm05:28
=== frankban|afk is now known as frankban
=== hazmat_ is now known as hazmat
=== akhavr1 is now known as akhavr
=== frankban is now known as frankban|afk
axwwallyworld: I was wrong, when we expire the lease, the other manager will refresh its cache when the txn fails. so :/09:47
axwstill shit, but probably not shit enough to continue trying to untangle everything09:47
axwnot sure why it's getting "state changing too quickly errors" though... that refresh should fix it09:50
=== frankban|afk is now known as frankban
redircurl https://s3.amazonaws.com//aws-cloudwatch/downloads/latest/awslogs-agent-setup.py -O16:42
redirchmod +x ./awslogs-agent-setup.py16:42
redirjmeta-u./awslogs-agent-setup.py -n -r us-east-1 -c awslogs.confw16:43
redirw16:43
redirwhoops17:01
redirsomehow I found the shortcut to tell terminator to broadcast to all terminal windows17:01
redir:)17:01
redirglad it wasn't a secret17:02
=== frankban is now known as frankban|afk
thumperwallyworld: I think we should skip the release call again21:20
thumperwe know what we are doing21:20
wallyworldok21:32
thumperwallyworld: https://github.com/juju/juju/pull/794321:36
wallyworldok21:36
thumperwallyworld: I'm confused, got a minute?21:38
wallyworldsure21:38
thumper1:1 HO21:38
wallyworldthumper: the hamster died, but we had finished21:52
thumperyeah21:52
babbageclunkwallyworld: I've just clicked that environs.Tools.Tools already does fallback between custom source and public source.22:41
babbageclunkwallyworld: implementation wise it's simpler for me if the fallback goes:22:41
babbageclunkcustom/devel, public/devel, custom/released, public/released. Is that crazy or alright?22:42
wallyworldbabbageclunk: i'd have to re-read the code - i didn't think custom came into it for agent binaries, just image metadata22:44
wallyworldfor agent binaries, i thought we just had agent-stream to tweak things22:45
babbageclunksorry, thinko'd the function name: environs/tools.FindTools22:46
babbageclunkIt uses GetMetadataSources which adds one for agent-metadata-url and one for the default public source.22:47
wallyworldwe may use custom if agent binaries are sourced from metadata supplies at bootstrap22:47
wallyworldbut then it becomes custom > testing > develop > proposed > released22:48
babbageclunkNo, custom has streams in it.22:49
babbageclunkSo custom/public (and also cloud sources) are orthogonal to stream.22:50
hmlbabbageclunk: joining us?  we miss you23:35
hml:-)23:35

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