[01:05] tlm: have u figured out what the root cause is? [01:10] nah still tracing code at the moment [01:10] just looks like the broker is loading the default creds from the container and not the kube-system ones [01:37] the weird, when u bootstrap then juju add-k8s model1 microk8s, the controller model and model1 should be using the same credential [01:38] should but my debug points to no [01:38] the bug will be in our creds loading [01:46] tlm: I just had a double check, I log the credential(token) in newK8sBroker, it's the correct token in microk8s(cloud).microk8s(credential) [01:47] and it's the token in mkubectl get secret/juju-credential-microk8s-token-hpdjs -n kube-system -o yaml [01:47] I think the credential should be correct. there might be some other issue [01:48] two ticks will grab you my tests [01:48] what field are you logging ? [01:48] logger.Criticalf("newK8sBroker newCfg -> %s", pretty.Sprint(newCfg)) [01:48] logger.Criticalf("newK8sBroker k8sRestConfig -> %s", pretty.Sprint(k8sRestConfig)) [01:48] also bootstrap the controller under a different name then the default [01:52] i tested bootstrap to a different controller name. no problem as well [01:55] will take a look [01:59] yeah I agree after decoding the JWT [01:59] hmmm back to the drawing board [02:48] can the application-version-set hook tool be executed outside of the update-status hook? (our docs seem to indicate that it does) === timClicks_ is now known as timClicks [02:51] timClicks: perhaps through juju-run, but not by itself [02:52] oh I meant can it be run in another hook, eg config-changed [02:53] in the same way that the add-metric hook tool is restricted to the collect-metrics hook [03:15] hpidcock: here's a PR for the bug you raised, still need to do a followup for model migration https://github.com/juju/juju/pull/11473 [03:18] in goal-state... does the relation-get hook tool work if the relation to another unit is in the "broken" state? [03:35] wallyworld: cool, will look [04:15] hpidcock: SetConfig is the secret killer [04:29] wallyworld: got 5 min for HO ? [04:29] ok [05:23] hpidcock: ty for review, that migratin todo is because there needs to be a juju/description update first https://github.com/juju/description/pull/76 [05:24] wallyworld: Oh it was just not obvious as there was no comment [05:24] fair enough,we often jsut do a quick todo since the followup PR is landing imminently [05:25] and todos like that in the migration_import code are fairly common [06:08] hpidcock: if you were free to do a small +1, it would unblock me to propose the last juju PR to remove those todos https://github.com/juju/description/pull/76 [06:31] ok [06:32] wallyworld: LGTM [06:33] ty [08:27] quick poll: I want to modify a provisioner API method which returns a map to *additionally* include an extra KV pair. As this is an agent API call and pylibjuju may potentially call it, do I really really need to bump the version? Note that there are *no* actual schema changes so bumping (and having V{latest-1} remove the key from the response) seems like overkill to me [08:27] any thoughts? stickupkid_ ^ [08:28] (call is "ContainerManagerConfig" and the new key is the channel for the lxd snap which comes from a model cfg) [08:29] achilleasa, let me check, but if it's a map, then that seems fine to me [08:30] achilleasa, if you add or remove in the map[string]string then no need to bump [08:31] stickupkid_: thought so but wanted to confirm... pheww [08:31] achilleasa, we should just make the api a map[string]string :troll: [08:32] * achilleasa runs away [08:50] stickupkid_, achilleasa: Able to review a real small one? https://github.com/juju/juju/pull/11477 [08:51] stickupkid_: Ta. [09:43] tiny PR https://github.com/juju/packaging/pull/9 [09:54] manadart: can you take a look at ^? [09:55] achilleasa: Tick. [09:55] manadart: tyvm [12:40] manadart stickupkid or hml: any ideas why this gets stuck? Am I doing something wrong? (that's on develop/HEAD) https://pastebin.canonical.com/p/P864ZXPTYm/ [12:42] achilleasa: if you ssh to 0/lxd/0, has juju been setup? [12:43] hml: let me check [12:44] hml: btw, if I run ' juju add-unit ubuntu-lite --to lxd' it starts a bionic one that does work [12:45] hml: I cannot ssh to 0/lxd/0 (no available addresses) [12:45] achilleasa: can you get to it from machine 0? [12:47] hml: yes. no juju and cloud-init has completed without an error [12:47] achilleasa: weird… hrm… i’m trying samilar with only add-machine [12:51] achilleasa: i get the same with only add-machine: machine-2 https://pastebin.canonical.com/p/rH4Y88H5Kh/ [12:51] hml: can you try with 2.7.6? [12:52] wonder if this is a 2.8 issue [12:52] achilleasa: sure [13:11] achilleasa: hit with 2.7.6 [13:55] anyone seeing this bootstrapping lxd develop focal? “sudo: setrlimit(RLIMIT_CORE): Operation not permitted” [13:55] as part of the machine config piece [13:55] hml, yeah, it's fine, it's focal issue [13:55] hml, I made a bug out of it, it got closed [13:55] stickupkid: awesome! [13:56] hml, https://github.com/juju/juju/pull/11482/files [14:00] achilleasa, got an issue with windows build [14:00] ##[error]worker/provisioner/container_initialisation.go:260:37: too many arguments in call to "github.com/juju/juju/container/lxd".NewContainerInitialiser [14:14] achilleasa: thumper renamed the config values etc: https://github.com/juju/juju/pull/11475 [14:25] achilleasa: once i used the correct config values… HA with OpenStack qa’d good [15:12] rick_h: manadart: stickupkid hml looks like my patch works fine on aws; so it's probably the nested lxds that exhibit the problem... [15:14] achilleasa: I bet it is specific to snap-installed LXD too. Apparmour/Cgroups or some such. [15:16] stickupkid: can you run the qa steps on aws or maas to confirm? [15:17] manadart: I tried with latest/stable on focal (aws) which should give you 4.0 [15:40] achilleasa, sure, give me a sec [15:40] achilleasa, I would but github is down [16:26] anyone doing the homebrew bit of the 2.7.6 release? [16:38] ^^^ doing the homebrew bits === bdx1 is now known as bdx [20:01] quick review pls? https://github.com/juju/juju/pull/11484 [20:03] hml: +1 [20:03] rick_h: ty [20:34] babbageclunk: hey, could you comment on https://bugs.launchpad.net/juju/+bug/1874031? [20:34] Bug #1874031: [vsphere 6.5] root-disk-source is failing to select from available datastores [21:29] wallyworld: yup, looking [21:49] babbageclunk: ty. also a very small PR https://github.com/juju/juju/pull/11478 [21:51] love a small pr [21:52] wallyworld: approved [21:53] \o/ [23:01] babbageclunk: did you forget to update https://github.com/juju/utils/pull/309 in Gopkg.toml? [23:02] I'm guessing this is safe for 2.8? [23:03] I added that for juju-restore. It didn't occur to me to update the dep in the juju repo. [23:03] hpidcock: yup, definitely safe [23:04] But I really should have, sorry! [23:05] At the moment the only use of UntarFiles in juju extracts to an existing directory tree, so all of the directories are already there.