/srv/irclogs.ubuntu.com/2020/03/26/#juju.txt

wallyworldhpidcock: https://github.com/juju/juju/pull/1136001:30
wallyworldbabbageclunk: lgtm, ty01:39
babbageclunkwallyworld: thanks!01:39
hpidcockwallyworld: oops sorry, was lying down with a headache02:45
wallyworldall good, hopr you're ok02:45
tlmdoes anyone know why we start certificates 7 days before now and not 5 minutes in the past ?03:45
* wallyworld shrugs03:45
tlm¯\_(ツ)_/¯03:46
kelvinliuwallyworld: these two PRs for adding storage support for non stateful app, https://github.com/juju/charm/pull/308 https://github.com/juju/juju/pull/11362 could u take a look?06:36
parlosGood Morning Juju!07:44
stickupkidmanadart, got this for CR https://github.com/juju/juju/pull/1135509:05
achilleasastickupkid: can you do a quick sanity check on a 2.7 -> dev merge PR https://github.com/juju/juju/pull/11363?09:05
manadartstickupkid: Yep; will look.09:05
stickupkidachilleasa, done09:06
=== parlos is now known as parlos_afk
manadartstickupkid: https://github.com/juju/juju/pull/1136409:14
=== parlos_afk is now known as parlos
stickupkidmanadart, https://media.giphy.com/media/OCgTKYSVnf7iM/giphy.gif09:34
stickupkidmanadart, i have no idea what i was trying to say "Subnet defines the nes" - nes what? nintendo nes? what was I doing?09:35
stickupkidmanadart, quick ho?09:44
manadartstickupkid: OMW.09:44
=== parlos is now known as parlos_afk
achilleasajam: I have replied to your comments in 11341 and pushed two additional commits (the second deals with that odd c-tor for the relation resolvers); can you take another look?10:23
=== parlos_afk is now known as parlos
stickupkidmanadart, this looks wrong to me, I would expect this just check for if != 1, as you want to know why it wasn't removed https://github.com/juju/juju/blob/develop/api/spaces/spaces.go#L196-L19810:37
flxfoohi all10:37
flxfooIt is me again10:37
flxfoo:)10:37
manadartstickupkid: Yes.10:38
stickupkidflxfoo, hi o/10:38
flxfooSo while trying to instanciate `juju add-machine`  (with constraints works fine)... so two things... first juju returns 11       pending       pending  bionic      instance "31c020be-c4b9-440d-aaf0-d2c1b33ea218" has status BUILD, wait 10 seconds before retry, attempt 8, and just loop , until I do a  `juju remove-machine X --force"10:39
flxfooso then after a little delay, list of instances is empty ... on rackspace side though... I have a list of 11 instances with the same name (difference IDs) which will listed as building (90% at most) after some time though the instances starts to appear as Ready10:40
flxfooSo I suspect something wrong with juju, maybe it does not receive the right "return" so It keeps call for server instantiation...10:41
flxfoostickupkid: hi :)10:42
stickupkidflxfoo, so this comes from https://github.com/juju/juju/blob/develop/provider/openstack/provider.go#L124010:43
stickupkidflxfoo, we're trying to provision a machine, but we're not getting back one that meets the constraints OR the provider doesn't have enough resources for the machine to be created10:44
stickupkidflxfoo, I've seen this locally when testing with multipass+microstack and it was the latter case for me10:45
flxfoostickupkid: this is the only place right?10:49
stickupkidflxfoo, let me check10:49
flxfoostickupkid: on rackspace side (as I said) each instance have the same name, but different IDs (which make sense), but juju return always the same ID to retry... why do I have several instances created on rackspace though?10:51
stickupkidflxfoo, that's correct https://paste.ubuntu.com/p/pk76srRk37/10:51
stickupkidflxfoo, that I don't know10:52
stickupkidflxfoo, if you think you've got a reproducer then I would create a bug - https://bugs.launchpad.net/juju/+bugs10:53
=== parlos is now known as parlos_afk
flxfoostickupkid: no idea yet, just trying to put things together10:53
flxfoostickupkid: do you know if I explicitely pass `-n 1` that would make a difference?10:55
=== parlos_afk is now known as parlos
stickupkidflxfoo, tbh, I wouldn't know personally10:56
flxfoostickupkid: Would you know how a single `add-machine` could endup looping in endless server creation?11:04
stickupkidflxfoo, not getting back one that meets the constraints OR the provider doesn't have enough resources for the machine to be created11:04
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
stickupkidmanadart, haha, there are so many issues in remove space, trying to work it out now11:50
stickupkidin the cmd/remove.go11:50
=== parlos is now known as parlos_afk
stickupkidanyone know how to test that something was written to a cmd/ctx log?12:13
stickupkidmanadart, that was a pig12:40
stickupkidhttps://github.com/juju/juju/pull/1136512:40
=== parlos_afk is now known as parlos
=== parlos is now known as parlos_afk
manadartachilleasa: 11356 looks good here, but is still marked as a draft.14:23
achilleasamanadart: marked it as a draft bec it needs a rebase/force-push once the relation-created one lands14:51
manadartachilleasa: OK. I've approved it.14:51
achilleasamanadart: tyvm14:52
=== parlos_afk is now known as parlos
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
achilleasais there a juju-idiomatic way for accessing controller config options inside state? I was thinking of having the facade fetch them and pass them as arguments to the state method I am working on but I am wondering whether we use a different pattern15:58
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
achilleasarick_h_: do you think 640k for charm data and 512k for uniter data are reasonable defaults for the quota limits? 640k ought to be enough for everyone, right? ;-)17:39
achilleasanote that the operator will still be able to set the limits to 0 and bypass the quota checks if they are feeling yolo17:40
rick_h_achilleasa:  hmmm, ideally folks will never know/hit this. I'd prefer to start with bigger defaults like 512k for juju and 1 or 2M for units?17:41
achilleasarick_h_: OK, though 2M seems too generous to me. The absolute max (combined) is 16M17:44
rick_h_achilleasa:  right, personally I'd almost default to the max. I mean we store charms with 1GB of resources/etc17:45
rick_h_achilleasa:  it seems silly to make folks open the faucet more ever and only close it if they hit issues/care17:45
achilleasarick_h_: but those end up in blob store, right?17:46
rick_h_achilleasa:  but I can go wit some limit to start I guess. We know most controllers in the wild don't have > 3 models and most models are 3-5 applications17:46
rick_h_achilleasa:  yes, this is true17:46
rick_h_achilleasa:  but it's on the same disk as the rest of mongodb17:46
achilleasarick_h_: we can also do a 14M/1.5M split as the default and allow operators to fine-tune it if they need to17:47
achilleasamy concern is basically that if we set it too high, charm authors will end up abusing it17:48
achilleasato store binary blobs or something17:48
achilleasa(logs)17:48
rick_h_achilleasa:  yea, that's why I'm ok with going roomy, but not all the way. I feel like the 512k 2M means we're talking 2.5mb per unit on the machine MAX. Realistically not all your charms will be abuses.17:48
rick_h_achilleasa:  but we definitely need a metric about size of this collection so we can add it to graphana and if there's a disk usage rise track it directly to this change17:49
rick_h_grafana doh17:49
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
* babbageclunk waves19:37
venturaare u using IRC for project development and discord for app usage? or migrating everything to discourse?19:38
rick_h_ventura:  irc for real time chat but discourse for async/news/published details19:45
rick_h_most simple charm is ubuntu heh, just get a machine and setup the charm environment19:49
venturarick_h_: turn off/on feature flags on backend for mobile clients19:55
venturaif it possible to create a git repos with config changes, juju would allow to easily git-revert bad flags with the benefit of always keep track of changes19:58
flxfoohi again, :)20:00
rick_h_ventura:  that does some work but as Juju is more than configuration management there's a lot more to "changes" than flipping config flags.20:00
rick_h_ventura:  there's resources, or binaries provided to run/use. There's actions, that trigger administrative functions like adding users, backing up db, etc. There's relations, that instruct application to pass details about themselves back and forth.20:00
rick_h_ventura:  a lot more moving parts and "live system" than can be easily git commit/rollback20:01
flxfooso I can confirm that when a machine is created (juju add-unit / add-machine) the process on the provider finishes (takes time but finish)... Except that there is more than one machine created with the same name  (different IDs)...20:02
flxfooI had to do a `juju remove-machine XX --force`, because after 11 instances... it is too much :)20:03
flxfooI think there is something as well here, where rackspace needs time to allocate resources,  and the frequency where a new server will be spawned...20:03
venturarick_h_: i mean "a simple charm that shows something to my manager allow using juju" :-)20:04
venturaTL; DR: we lost all machines configs during Black Friday due Bolsonaro Bug (i.e. crazy day-light saving time changes in Brazil)20:04
flxfooI don't know If I could put a delay like 30 minutes intead of 10s20:04
flxfooAnyone on the fact that calling one `juju add-unit/add-machine` would end up create multiple instance with the same name (different IDs) ?21:27
thumperflxfoo: I'm not sure I understand what you mean21:29
thumperwallyworld: https://github.com/juju/lumberjack/pull/121:29
flxfoo@thumper: when I perform a `juju add-unit` juju loop saying that instance is in state BUILD, retrying... probably due to rackspace lagging... but then a few minute later I have another one instamce created (with the same name different id) and juju report the same message (with different ID)21:33
flxfoountil I `juju remove-machine --force` that just goes on21:33
thumperflxfoo: that definitely sounds like a bug21:34
flxfooafter removing on juju side... all the instances go from buidling state to ready state21:34
thumperperhaps due to the slow nature in rackspace21:34
thumperwe don't see it on our other openstacks21:34
flxfooyeah that sounds very much something linked to rackspace..21:35
flxfoofeww weeks ago that was not doing that for sure21:35
wallyworldthumper: lgtm23:20
babbageclunkthumper: if the password we use to connect to mongo for juju-restore is always oldpassword from controller machine 0, what happens if machine 0 has gone away? ie, the controller has machines 1, 2, 3?23:22
thumperwhat does the juju-db plugin do?23:23
thumperwe should use that23:23
babbageclunkshould we be connecting as a different user, so we can use the oldpassword from the machine we're on?23:23
babbageclunkooh good call - looking23:23
babbageclunkah, ok - it uses statepassword and the tag23:25
babbageclunkI think that might have been the problem with how we were doing it before - trying with tag but oldpassword, not statepassword23:25

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