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

axwwallyworld: I put it on the calendar already, but just reminding you: I'm away this coming Fri-Mon01:53
axwbabbageclunk: do you have time to be a second reviewer for https://github.com/juju/juju/pull/7984?02:03
babbageclunkaxw: sure02:04
babbageclunkaxw: net line reduction automatic approval02:04
axw:)02:05
babbageclunkI mean, ok, I'll actually read it02:05
axwwallyworld: what version of Juju was the relation bug found in? beta1? I'm failing to repro with wordpress-mysql. just noticed bug says mediawiki, will try that - can't see why it'd matter tho03:33
thumperhttps://github.com/juju/juju/pull/7987 fixes constraints handling with bundle deployment.03:39
wallyworldaxw: i tested in tip of develop last week. found it by remove-relation <id> from the offering model, and then add-relation again from the consuming model03:39
wallyworldaxw: i'll try and repro03:40
axwwallyworld: ah, I just removed it from the consuming model. I'll try that way03:41
babbageclunkwallyworld: one of the migration test failures looked like a timeout, the other one looks like a genuine problem - we require a model type when importing a model, but older versions don't set one when exporting.03:41
wallyworldah03:41
wallyworldi guess default to IAAS03:41
babbageclunkcreating a bug now03:41
babbageclunkyu[03:41
babbageclunkp03:41
veebersbabbageclunk: I don't think it's a timeout as the whole test is about 15 minutes, timeout is 50m. That being said I'm unsure why that log just stops03:41
wallyworldveebers: you're back!03:42
babbageclunkveebers: hmm03:42
veeberswallyworld: hey o/ aye I am, first day back today :-)03:42
axwwallyworld: seems to be some other bug though. I removed relation between hosted mysql and wordpress. something caused wordpress unit to restart, and now it's in an error loop complaining about the relation directory being non-empty03:42
wallyworldinteresting. i wonder how mediawiki behaves03:43
veebersbabbageclunk: let me have another quick look at those logs03:43
wallyworldthumper: lgtm03:45
axwwallyworld: remove-relation on the offering side didn't trigger anything. I'll look into the other thing I found03:46
wallyworldrighto, i'll try and reproduce03:46
axwI mean didn't trigger any errors... re-adding relation just worked03:46
wallyworldaxw: you tested with lxd?03:46
axwwallyworld: yep03:47
axwwallyworld: and now the remote relation worker seems to have stopped working: ERROR juju.worker exited "mysql": watching status for offer: verification failed: macaroon not found in storage03:52
axw"juju offers" shows no relation, though the client thinks it has related03:52
wallyworldaxw: hmmm, looks like macaroon has got cleaned up on offer side but we are not minting a new one03:53
wallyworldaxw: i have a meeting now but will debug a bit when i am free04:00
axwwallyworld: sure. I'll keep digging04:00
thumperwallyworld: there in a minute04:01
axwso if I remove the remote app from the consuming side, and then re-relate, it fixes it up04:02
wallyworldaxw:  that would be because that causes a RegisterRelation which mints a new macaroon04:05
axwwallyworld: the remote relation worker should be re-registering if the relation was removed. I suppose the worker isn't tidying up properly. will look more after lunch04:08
wallyworldaxw: yeah, i'll look between meetings if i get time04:09
babbageclunkaxw: fixing this - https://bugs.launchpad.net/juju/+bug/172848604:30
mupBug #1728486: migration: allow model type to be blank when importing <juju:Triaged by 2-xtian> <https://launchpad.net/bugs/1728486>04:30
babbageclunkaxw: I should obviously make the reading side accept blank.04:30
babbageclunkaxw: Do you think I should make sure the exporting side also sets model type?04:31
babbageclunkaxw: I think the intention was that the 2.2 branch would export models as v3, so type would be set automatically.04:32
axwbabbageclunk: sorry just looking at the code, one minute04:32
babbageclunkaxw: but the description dependency was updated in 2.2 for some unrelated change and now it emits v4 models, but with blank type.04:33
babbageclunkaxw: thanks04:33
axwbabbageclunk: ugh, that's unfortunate. yes I think the exporter should be required to set the model type for v404:35
axwbabbageclunk: reading side shouldn't have needed to accept blank, but obviously will now04:35
babbageclunkaxw: do you think I should set the default in description or in migration_export.go?04:36
axwbabbageclunk: I think migration_export.go, I think description should be relatively dumb - not making choices, just checking the choices you made are correct04:38
babbageclunkaxw: cool, thanks!04:39
thumperlater peeps05:13
* thumper EODs05:13
wallyworldjam: did you forget to add a video call?05:29
jamwallyworld: I did, but I just added "caas"05:30
jamI will brt, need to use a restroom05:30
=== frankban|afk is now known as frankban
axwwallyworld: the unitcount refcounting on relations for local vs. remote units looks dodgy. we never increment for remote units, but we sometimes decrement for remote07:36
axwthat might explain the "permission denied" error I saw07:36
axwwallyworld: I think we should be maintaining relation.unitcount for both local and remote units. i.e. unitcount == number of units in scope, at all times08:41
axwwallyworld: otherwise you can remove the relation without taking units out of scope08:41
axwwallyworld: why does having a time-before caveat stop things from working? you should still get a verification error?13:52
mupBug #1726945 changed: [2.3] consume feature hard to manage <docteam> <juju-core:Invalid> <https://launchpad.net/bugs/1726945>15:23
mupBug #1726945 opened: [2.3] consume feature hard to manage <docteam> <juju-core:Invalid> <https://launchpad.net/bugs/1726945>15:29
mupBug #1726945 changed: [2.3] consume feature hard to manage <docteam> <juju-core:Invalid> <https://launchpad.net/bugs/1726945>15:39
=== frankban is now known as frankban|afk
bdxheyyyyy21:12
bdxI've got this model in a crazy stuck state on 2.3-beta2.521:12
bdxlol21:12
bdx2.3-beta2.121:12
bdxwhoops21:13
bdxha21:13
bdxnot sure if anyone wants to take a gander21:13
bdxhttp://paste.ubuntu.com/25854148/21:13
bdxI can't get the units es-lxd-test/{0,1} to go away21:14
bdxI mean, its not really a big deal to me21:14
bdxbut, possibly its a difficult situation to repro21:14
bdxand someone might want to hop in and take what they need21:15
bdxI'll leave it up for the next day or so21:15
bdxif anyone wants to take a closer look, ping me21:15
bdxI'll create a bug anyway21:15
bdxwell, not that tough21:17
bdxhttps://bugs.launchpad.net/juju/+bug/172872121:19
mupBug #1728721: units stuck in model after failed deploy <juju:New> <https://launchpad.net/bugs/1728721>21:19
hmlbdx: do you have a build number for your juju 2.3-beta2.1?21:29
bdxhml: its whats in the beta snap channel21:33
bdxrev: 264021:33
hmlbdx: ty21:33

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