/srv/irclogs.ubuntu.com/2020/06/04/#juju.txt

wallyworldthumper: whenever.... https://github.com/juju/juju/pull/1166800:26
* thumper looks01:29
* thumper looks briefly, and decides to look in more detail loater01:29
Chipaca'juju status' (with 2.7.6 installed from snap) freezes apparently forever, is there a trick to it?08:21
stickupkidChipaca, that normally happens if it can't communicate with the controller08:23
stickupkidChipaca, there are other times when this can happen also as well, but that would be where I'd look first08:24
Chipacastickupkid: it's just a local thing talking to an lxd, does that make a difference?08:25
stickupkidChipaca, same scenario. What does `lxc list` say08:25
Chipacastickupkid: so, this started happening yesterday, and as this is only used by me for testing stuff, i purged juju and lxd and reinstalled; 'lxc list' lists nothing, but 'juju bootsrap localhost overlord' tells me 'ERROR controller "overlord" already exists'08:27
* Chipaca is probably breaking all kinds of stuff in his ignorance08:27
stickupkidChipaca, so you don't have a controller, juju thinks there still is one. You have two options... clean up the ./local/share/juju yaml files or run `juju controllers --format=json | jq -r ".controllers | keys[]" | xargs -I% juju kill-controller -y -t 0 %`08:28
stickupkidit assumes you have `jq` installed.08:29
Chipacawhy would the juju snap keep state outside of ~/snap :-/08:29
Chipacasigh08:29
stickupkid--classic08:29
stickupkidChipaca, we don't support confinement yet, we do have it on our roadmap... priorities I guess ;-)08:30
Chipacai know, but you're just making harder for yourselves :)08:30
Chipacaanyway, thanks, that's exactly the problem08:30
Chipacai'll nuke that and start afresh \o/08:30
Chipacastickupkid: thanks!08:31
wallyworldstickupkid: juju unregister08:32
wallyworldwill get rid of an orphaned controller entry08:32
wallyworldno direct editing of controllers.yaml needed08:32
stickupkidwallyworld, haha, knew there was another command08:32
ChipacaFWIW the jq pipeline didn't work so I went for removing ~/.local/share/juju08:33
ChipacaUnable to open API: open connection timed out08:33
ChipacaWARNING unknown config field "lxd-snap-channel"08:33
ChipacaERROR getting controller environ: getting environ using bootstrap config from client store: Get https://10.160.185.1:8443/1.0: Unable to connect to: 10.160.185.1:844308:33
Chipaca~08:33
stickupkidachilleasa, this is new --> WARNING unknown config field "lxd-snap-channel" - when trying to remove a controller08:34
achilleasastickupkid: that's a side-effect of how we access these settings in the workers. TLDR: we pop them off the map when accessed and complain about remaining entries. We do that here (https://github.com/juju/juju/blob/develop/worker/provisioner/container_initialisation.go#L207) for this field but this (https://github.com/juju/juju/blob/develop/container/lxd/manager.go#L78) doesn't hence the warning.08:44
achilleasawe could add a dummy pop in the latter file to silence the warning but I didn't add it as part of my commit because it looked weird. We can do that as a drive-by fix in any future PR08:45
stickupkidmanadart, ping08:59
manadartstickupkid: Pong; just starting a call.09:00
stickupkidmanadart, ping when you're free09:00
=== arif-ali_ is now known as arif-ali
manadartstickupkid: I'm in Daily.10:38
=== StoneTable is now known as aisrael
=== hml_ is now known as hml
=== exsdev0 is now known as exsdev
Eryn_1983_FLhey guys12:38
achilleasamanadart: what is the current status on spaces and manual machines?12:38
Eryn_1983_FLwhats the default username/password for maas and juju?12:38
Eryn_1983_FLfor ssh12:38
Eryn_1983_FLim locked out atm12:38
manadartachilleasa: Currently unsupported; on the this cycle of work to enable. It just requires population of subnets from the machine NICs.12:40
Eryn_1983_FLmanadart:  if i got into rescue mode can i get to a console?12:51
manadartEryn_1983_FL: There's no default. Juju sets up it's own key in authorized_keys, which allows `juju ssh <machine-id>`.12:54
Eryn_1983_FLi dont has ssh to juju12:55
manadartOr `juju ssh <unit>` for that matter.12:55
manadartEryn_1983_FL: You have no client connectivity to your Juju controller?12:56
Eryn_1983_FLi got the web gui12:56
Eryn_1983_FLjust dont understand why my keys are not working12:59
Eryn_1983_FLtime to reinstall again13:29
=== dannf is now known as dannf`
achilleasaquick CR https://github.com/juju/utils/pull/312 anyone? needed to fix the broken tests on develop13:35
=== narindergupta is now known as narinderguptamac
stickupkidmanadart, https://bugs.launchpad.net/juju/+bug/188209714:35
mupBug #1882097: Needless brute forcing with finding AZ in space topology in the provisioner task <juju:Triaged> <https://launchpad.net/bugs/1882097>14:35
manadartstickupkid: vĂ½borne14:40
achilleasaCan someone review and run the "straightforward" QA steps for https://github.com/juju/juju/pull/11670?15:25
stickupkidachilleasa, I'm stealling your PR for now (sorry for the noise)15:44
achilleasano worries. I want to force-push a fix for one of the tests. Let me know when you need a new !!build!! in there ;-)15:47
stickupkidachilleasa, do it when ever I'm breaking stuff atm15:51
=== verterok` is now known as verterok
pmatulishas something changed in 2.8 that may affect deploying bundles? seems slower going through all bundle lines19:16
pmatulisreally slower19:20
thumperpmatulis: yes, the multiwatcher code was refactored, and it does slightly more now21:18
thumperpmatulis: I'm currently looking into it to see what can be done21:18
thumperthis is the basis of a watcher that bundle deploys use21:19
=== hallback_ is now known as hallback
pmatulisthumper, ok thanks. what else does it do? more validation?22:44
thumperpmatulis: there shouldn't be a measurable difference between 2.7 and 2.8. If there is, we need to work out why23:00
thumperpmatulis: if you were able to show how different it is, that would be very helpful23:00
thumperhttps://github.com/juju/collections/pull/423:00
pmatulisthumper, ok, will do23:08

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