/srv/irclogs.ubuntu.com/2020/08/24/#juju.txt

stickupkidmanadart, should I be able to upgrade a controller whilst doing a upgrade-series of a machine?09:03
stickupkidseems pretty risky09:04
manadartstickupkid: Hmm probably not.09:09
stickupkidmanadart, the sticky situation is that it makes it harder to iterate on the feature... i.e. fix something on the controller side and run upgrade-controller09:16
stickupkidmanadart, maybe force can tell it, it's fine and yolo it09:16
manadartstickupkid: Yeah, OK.09:17
iceyhey, anybody seen something like https://pastebin.ubuntu.com/p/HTSFzH68mJ/ recently?09:39
iceyI can't deploy things with spaces on maas suddenly :)09:39
manadarticey: Juju version?09:47
iceymanadart: as noted in the pastebin: version: 2.8.209:48
iceymanadart: client is 2.8.1-groovy-amd6409:48
manadarticey: OTP at the mo', but definitely want to look at this with you. 10 mins?09:49
iceymanadart: 10 minutes if brief, otherwise I'd rather lunch first :)09:49
iceymanadart: it's managed to hang around since mid last week, doubt it'll stop happening this moment :)09:50
manadarticey: OK, go ahead. Ping me when you have a little time.09:50
icey+109:50
stickupkidmanadart, CR - https://github.com/juju/juju/pull/1192909:50
stickupkidmanadart, another ho when you've got 5...10:03
manadartstickupkid: In daily.10:09
stickupkidmanadart, I know why, it's because most of upgrade stuff is on client/client facade, which we shouldn't touch10:20
stickupkidmanadart, I'll make a new facade10:20
stickupkidmanadart, thinking about using modelmanager actually... ValidateModelUpgrade10:21
iceymanadart: ok - I'm now well fed :-D10:33
manadarticey: Righto, this will be faster: https://meet.google.com/pxd-zjad-bgh10:35
manadarticey: Ping.14:46
iceymanadart: pong14:46
manadarticey: I did some playing around here, and it seems that if you delete the documents from `toolsmetadata`, juju will re-fetch the agent binary from streams.14:47
iceyoooh nifty14:47
manadarticey: The only downside is the the old one will still be in the blobstore as an orphan.14:48
manadartIf you cared, you could locate and delete it to save a few MBs.14:48
iceymanadart: so... db.delete('toolsmetadata') or something?14:48
iceymanadart: hahaha yeah, no14:49
manadart`db.toolsmetadata.deleteMany({})`14:49
icey{ "acknowledged" : true, "deletedCount" : 4 }14:51
icey:-D14:51
manadarticey: Ah bugger. It still won't upgrade the controller. One sec.14:52
iceymanadart: I see that14:52
=== disposable3 is now known as disposable2
=== davdunc_ is now known as davdunc
manadarticey: Looks like the only thing for it would be to jump on the controllers and curl/wget it from `https://streams.canonical.com/juju/tools/agent/2.8.2/juju-2.8.2-ubuntu-amd64.tgz`15:11
iceymanadart: that's fine :)15:11
iceywhere should I put that after untarring it?15:11
manadart/var/lib/juju/tools/2.8.2-{series}-amd64 should have the jujud/jujuc currently running.15:13
manadartThat *should* do it - the controllers have the correct binary, and new machines will cause the controller to get the new (correct) one when not found it toolsmetadata.15:15
manadart*in toolsmetadata.15:15
manadartI have to EoD. Let us know how you get on.15:16
iceymanadart: pushing the binaries around now, hopefully done and working shortly :)15:16
iceygeez manadart - is there an easy way to replace these binaries? it's annoyed that the binary is running :-P15:17
iceymanadart: after a slightly big hammer to upgrade the controllers: "0/lxd/0   pending                           pending        focal          starting"15:39
stickupkidhml, going to review your PR now, been fighting with error messages15:42
iceydrat manadart - 0/lxd/0   down                                             pending               focal          host machine "0" has no available device in space(s) "ceph-access-space", "ceph-replica-space", "public-space"15:51
iceyI'll look again in the AM15:51
hmlstickupkid: added comments to: https://github.com/juju/juju/pull/1192816:05
stickupkidhml, fixed16:26
hmlstickupkid:  ack16:26
hmlstickupkid: approved16:28
stickupkidhml, ta16:34

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