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

wallyworldhpidcock: pushed up a couple of changes for the run socker and deployment mode stuff, just testing locally. also a makefile fix to get us out of the current build dilema in the least cost way unti; we redo the process02:25
thumperif anyone wants to review a lot of deleted code... https://github.com/juju/juju/pull/11377/files02:27
hpidcockwallyworld: thanks02:28
wallyworldthumper: small PR to fix an annoyance seen in those Solutions QA logs https://github.com/juju/juju/pull/1137803:44
* thumper looks03:45
thumperlgtm03:46
wallyworldta03:46
wallyworldkelvinliu: here's a small PR to fix an upgrade step https://github.com/juju/juju/pull/1137904:44
kelvinliuwallyworld: looking now04:44
kelvinliulgtm, ty wallyworld05:00
wallyworld\o/ ty05:00
wallyworldlots of loose threads to tidy up before beta05:01
kelvinliuwallyworld: can I get ur 2mins to discuss the new option for storage mode?05:21
wallyworldkelvinliu: sure, just give me 505:22
kelvinliusure05:22
wallyworldkelvinliu: standup?05:29
kelvinliuyep05:29
wallyworldkelvinliu: hpidcock: if you guys could give early feedback on https://github.com/juju/juju/pull/11381 that would be great06:18
kelvinliuyep06:19
tlm[m]lol was going to tidy up a few things first. If it seems obvious or unsafe I am probably already on it06:19
eloxGood morning07:45
achilleasastickupkid_: can you take a quick look to this tiny change? https://github.com/juju/names/pull/10410:01
achilleasaalso cmars, when online can you please take a look at https://github.com/juju/terms-client/pull/2310:01
stickupkid_achilleasa, done10:02
achilleasa(turns out adding new errors to juju/errors is hard)10:02
stickupkid_transient dependencies10:04
=== parlos is now known as parlos_afk
hmlachilleasa: changes made to https://github.com/juju/juju/pull/1133913:28
hmlachilleasa:  i grabed the card to move facade calls to common13:30
=== parlos_afk is now known as parlos
stickupkidopenstack doesn't clear it's own ports up, well that's annoying15:11
=== parlos is now known as parlos_afk
=== parlos_afk is now known as parlos
=== parlos is now known as parlos_afk
achilleasahml: can I have a green tick? https://github.com/juju/terms-client/pull/2415:52
hmlachilleasa:  looking15:52
achilleasahml: 11339 approved with minor doc-related comments15:54
hmlachilleasa:  ty15:54
hmlachilleasa:  approved15:56
achilleasathanks15:56
=== parlos_afk is now known as parlos
achilleasastickupkid and hml: do you see any strange warning if you `juju deploy x; juju destroy model -y default'?16:16
achilleasahttps://pastebin.canonical.com/p/NRPQMkwTCT/16:16
achilleasa(that IP is where lxd binds on my dev box)16:17
hmlachilleasa:  not on 2.7.4, though i’ve noticed some command are really long on develop.  like add-model16:19
achilleasahml: yes, I get the same with add-model16:19
hmlachilleasa:  not on my local branch either16:19
stickupkidachilleasa, I've seen that before16:27
stickupkidI believe manadart has spotted that in CI, but unable to reproduce16:27
stickupkidwe did suspect it was systemd issue, but that was a theory16:27
achilleasastickupkid: hitting it consistently :-(16:28
hmlachilleasa:  which branch?16:28
hmlachilleasa:  localhost?16:28
=== parlos is now known as parlos_afk
achilleasadevelop/HEAD, local lxd exposed on eth0 ip16:29
stickupkidachilleasa, can you get info from journal etc16:30
stickupkidthat way we can see if it's systemd theory16:31
achilleasastickupkid: journalctl on the host?16:38
stickupkidyeah16:38
achilleasastickupkid: lxd.daemon[529331]: 2020/03/31 17:40:58 http: TLS handshake error from 10.176.227.245:41548: remote error: tls: bad certificate16:41
stickupkidthere we go, not idea why though16:41
stickupkids/not/no16:43
rick_h_achilleasa:  got the merge to go through so think we're good now16:45
rick_h_stickupkid:  achilleasa when do you time swap? (and why are you still around today? :p )16:45
stickupkidrick_h_, last weekend16:45
=== parlos_afk is now known as parlos
hmlachilleasa:  what kinda of comments on ErrNoSavedState?  it seems self explainitory to me17:04
achilleasahml: usually it's something along the lines of 'ErrNoSavedState is returned by X when Y happens'. Just mentioned it because there is a linter (we don't use ATM) that complains about missing docs for exported types17:18
josephillipshey17:32
josephillipsquestion i perform a commit for add a functionatily on openstack swift-proxy charm17:33
josephillipshow long take that someone verified the commit?17:33
rick_h_josephillips:  that depends on the folks around/etc. beisner might be able to give you a better answer more official-like17:37
josephillipsok and another question i want to commit another change17:38
josephillipsto support another funcionatily on the same charm17:38
josephillipsi have to wait until this commit is accepted or i can perform a second commit17:38
josephillipsthat make me thing another question17:39
josephillipsi have to clone the master repo again to perform the new one or i can work with my last clone and changes?17:39
rick_h_josephillips:  well if the changes are independent then I'd expect you could create two pull requests no problem17:43
rick_h_josephillips:  if they're dependent on each other you can queue up two pull requests, but the one will have to land/rebase before the other goes through17:43
josephillipsno are not dependent they just add new funcionatily to configure new middlewares17:44
josephillipson swift-proxy17:44
rick_h_ok17:44
hmlachilleasa: rgr18:17
babbageclunkwallyworld: do you think we should restrict acceptable downgrades to max of one minor version? I guess one major in the case of 3.0 -> 2.9 (or whatever)?21:27
wallyworldbabbageclunk: i don't think there's any reason we need to?21:27
babbageclunk(Although that's difficult without knowing what the maximum minor version of the prev major was)21:27
babbageclunkwallyworld: ok, that's much simpler obvs - I think I'm just getting the jibblies from ripping out this checking code.21:28
wallyworldso long as the db matches the agent version?21:28
wallyworldi guess there's the possibility of local file incompatibility, eg uniter state file21:29
wallyworldthat's one thing we've just ignored21:29
babbageclunkugh21:32
babbageclunkI'd thought about config file inconsistency but not state file21:33
babbageclunkIs the state file part of the stuff being moved into the db? Or is that just charm state?21:34
wallyworldi would hope everything21:34
babbageclunkalso reference to https://bugs.launchpad.net/juju-core/+bug/1299802 in the code - I don't think this is still a problem because everything looks at the model version rather than the units looking to the machine to work out what version they should be. Does that seem right?21:36
mupBug #1299802: upgrade-juju 1.16.6 -> 1.18 (tip) fails <juju-core:Fix Released by jameinel> <juju-core 1.18:Fix Released by jameinel> <juju-core (Ubuntu):Fix Released> <juju-core (Ubuntu Trusty):Fix Released> <https://launchpad.net/bugs/1299802>21:36
wallyworldwill read that after call21:36
babbageclunkwallyworld: ok, that would remove the problem in the future, although it doesn't help for the existing versions21:37
babbageclunkok, sorry!21:37
babbageclunkhey hml, are we right in thinking that the unit-state is being moved into the db as well as the charm state?21:40
hmlbabbageclunk: yes.. uniter internal state, storage relations metrics21:41
hmlbabbageclunk: only bundles  deployer will be left in the state dir… the can be easiler gotten21:41
hmlbabbageclunk: but it’s a work in progress right now… not everything is there21:41
hmlor moved21:41
babbageclunkhml: awesome - thanks!21:43
pmatulisis there something unstable about ~containers namespace? i'm also wondering whether failed attempts to use the stable/promulgated namespace should leave a hint to the user that another namespace contains the charm in question22:07
wallyworldbabbageclunk: unit state file compatability would still be an issue i think on downgrades, but is negated by that stuff moving to the controller as hopefully a structured doc that is then served via an api and hence compatibile versions can be served22:08
babbageclunkwallyworld: well, if it's coming from the db then it would be reset along with the restore, right? Once the agents downgrade themselves then the state would be the right format.22:10
wallyworldthat is true. i was thinkin also that the api would serve a version of the data consistent with the api version, but you are right we get that by default with the db version being downgraded also22:11
wallyworldrick_h_: wadda ya reckon about creating a 2.9 milestone to park bugs that we know we want to do next cycle?22:15
rick_h_wallyworld:  wfm22:22
wallyworldthumper: i've always wondered why we don't enforce relation limits, did we want to target at a 2.8.1? bug 186984022:41
mupBug #1869840: Enforce limit: specified in relation metadata <canonical-is> <juju:Triaged> <https://launchpad.net/bugs/1869840>22:41
thumperis it something we could do post beta 1 before rc?22:50
babbageclunkwallyworld: making the same change in caasupgrader - k8s isn't really handled in juju-restore at the moment, but when it is it'll be the same situation, right?22:52
wallyworldthumper: we could, but if code freeze is friday.....22:52
thumperfreeze for features22:52
wallyworldit is potentially a non-trivial change if there's corner cases22:52
thumperit could just be validation in the api-sever call for relate22:53
thumperwhere if the limit is hit, we just reject the relate call22:53
thumperdoesn't feel like a lot of corner cases22:53
thumperwhat we don't have22:53
wallyworldit could be but i am always wary22:53
thumperis "my charm only works with one of mysql or pgsql"22:53
wallyworldthis late in the peice22:53
thumpertrying to define that could get very messy22:54
wallyworldthumper: also bug 1869795, i can't recall why we send --verbose to stderr22:54
mupBug #1869795: --verbose output from juju CLI is written to stderr <juju:New> <https://launchpad.net/bugs/1869795>22:54
thumperI saw that too...22:54
wallyworldi changed the title as it is all juju cli22:54
thumperI had thought that we agreed to send info/verbose to stdout except if --format yaml/json22:55
wallyworldyeah, i thought so too, just wanted to double check as it is a wide reaching hcange22:55
thumperwe could quickly see where we actually call ctx.Infof and ctx.Verbosef22:56
thumperthe problem is the machine readable format bits22:56
wallyworldyup22:57
wallyworldbabbageclunk: k8s upgrades a slightly different in how they're triggered, i'd need to look specifically at the code etc22:59
babbageclunkwallyworld: Ok - presumably the agent version being different will still trigger this code though right? I'll try chasing it through.23:01
wallyworldbabbageclunk: the difference is that the agent does not shut itself down and restart,it's a whole new docker image23:01
babbageclunkah right23:03
wallyworldthumper: i want to do a burn down list of bugs for 2.8-beta1. i've created 2.8-rc1, 2.8.1, and 2.9-beta1 milestones. i'd like us to shuffle bugs around to reflect reality and allow folks to pick off bugs to fix once we hit feature freeze23:03
babbageclunkwallyworld: it looks like essentially the same situation (from my not very familiar reading) - that's the place that decides whether this upgrade is sensible (and unlocks downstream workers), the API accepts the version change and updates the image in k8s to the requested version23:09
wallyworldbabbageclunk: you are most likely right, i need to go look at the code. i just wanted to be sure that any k8s differences were accounted for etc23:11
babbageclunkwallyworld: cool cool - I'll make the change for now, we can discuss in stdup/review, thanks!23:12
hpidcockwallyworld: feeling it might soon be time to move ProviderID for Deployments/Daemonsets to pod name, not pod uuid23:12
wallyworldhpidcock: given pod name is always regenerated as a unique value in those cases, it would work to do that. is the rationale to make it easier to match things up?23:14
hpidcockwallyworld: the rationale is that UUIDs for now, and probably for a long time are not index in etcd. So you can't just get on UUID, must list all pods and filter on uuid23:15
hpidcockwallyworld: with k8s usage increasing, and us better supporting non-statefulset deployments, probably a good time to do it23:16
wallyworldah that is true, and unfortumate23:16
hpidcockI'm happy to do it as a driveby23:16
wallyworldlet's discuss in standup23:16
hpidcocksure thing23:16
babbageclunkhpidcock: that's weird - why don't they index on uuid? I'd have expected it to be way cheaper than indexing on a string?23:20
hpidcockbabbageclunk: because k8s objects use namespace + name as their key23:21
babbageclunkok - so the uuid is just some other field and you can't query by it directly?23:22
hpidcockcorrect, used to determine if two objects are different when you delete and recreate an object with the same23:22
babbageclunkah, right - thanks!23:23

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