[01:24] i rebooted a machine and status shows 'hook failed: "leader-settings-changed"'. how do i get out of that? [01:32] pmatulis: 'juju resolved ', see for 'juju help resolved' for more info [01:32] pmatulis: u might need to do it for all units on that machine.. altho we r hoping u have a unit/machine [01:38] anastasiamac, hi! awesome. i did it for three units on the machine and everything looks fine now [01:39] pmatulis: \o/ [01:41] anastasiamac, btw, what is an elegant way to simulate a downed unit? nova-compute/1 to be precise [01:42] pmatulis: i dont know specifics for nova-compute but when i need to have a 'downed' unit, i stop it's machine [01:44] anastasiamac, yeah, that's what got me into trouble :) i neglected the fact that this is a hyperconverged openstack node [01:44] pmatulis: :) [01:45] i guess i'll go monkey around with the processes in the machine [01:45] k [02:12] pmatulis: the best way is to ssh into the machine and stop the unit agent [02:42] thumper, and that will stop the corresponding "service" (e.g. nova-compute)? [02:43] (same as 'systemctl stop nova-compute.service ?) [02:52] pmatulis: no [02:52] if you are trying to replciate a workload down [02:52] then you need to take the workload down, not the agent [02:52] unless you are trying to replicate a machine down [02:53] thumper, right, that's what i thought [04:43] kelvinliu: lgtm! a few small things before landing. let's get it in and make progress [05:24] wallyworld: just back from lunch, thx for review, [05:24] no worries [06:16] hi wallyworld saw some of the comments are not different with the spec, got time HO to discuss further? [06:17] sure [06:35] kelvinli_: forgot to ask - with ken's external-ip issue - is it just sufficient for us to assign a user supplied external ip value passed in at bootstrap time to the correspondoing "external-ips" controller service attribute [06:35] wallyworld: im not sure, need to take a look further [06:35] ok, next week :-) [06:35] yep [07:22] Trivial review: https://github.com/juju/juju/pull/10579 [07:39] /msg NickServ identify 1ircpassword [07:40] fantastic passwordchange? [08:12] achilleasa: I was talking to rick_h about the network/space remodelling work last week and he mentioned you would be in the slot to move on to this soon. [08:13] This is worth a read, as it is something we are looking into as part of the work: https://discourse.jujucharms.com/t/multiple-space-bindings-per-endpoint/1999 [08:17] manadart: thanks for the link! [10:11] achilleasa, if the series isn't valid and we don't ask the user to use force, can they still use force? [10:13] stickupkid: I guess they could but it would still fail right? Could it be a valid series that the client doesn't know of yet? [10:14] achilleasa, so if the client doesn't know about it, we don't either, so in that instance we would need a new release... using force wouldn't help either, as no binaries... but it seems very total. [10:17] stickupkid: I guess we could leave it as-is then. It's highly unlikely that people will try to bootstrap with an invalid series name to begin with, right? === jose is now known as Guest4255 [10:45] stickupkid: I pushed a commit to my packaging PR which addresses the review comments. As per John's suggestion I will extract the FromURL method and move it to my upcoming juju PR [10:56] achilleasa, i'll swap you then https://github.com/juju/os/pull/12 [11:01] stickupkid: approved [11:06] achilleasa, ta [11:06] achilleasa, i approved yours as well [11:06] good spot about users in urls [11:06] that was a disaster waiting to happen [11:14] stickupkid: that's why we should never log errors :D [11:15] stickupkid: I removed the URL bits. Can you do a final check before I merge? [11:18] achilleasa, yeap, happy with that [12:39] stickupkid: I responded to you comment. in my patch. Take a look when you've the time. [14:00] stickupkid: manadart made a suggestion for the wording. Let me know what you think. [14:00] rick_h: Works for me; will mod. [14:02] rick_h, yarp, much better [14:12] manadart: i updated the comments for items you had questions in my pr. pls take a look and see if they make more sense [14:21] hml: Thanks. All looks good. [15:30] hello fine people [15:30] i need to bootstrap a kubernetes cloud [15:30] and its been a while and i'm stuck [15:33] rick_h: wake up! ;) [15:35] magicaltrout, think he's out atm, where you stuck? [15:36] just trying to figure out the bootstrap docs stickupkid [15:36] https://paste.ubuntu.com/p/MHvTVQVyyd/ [15:36] so anyway [15:37] i have a k8s cluster with not much in it, few namespaces and a couple of pods and i need to write some k8s charms [15:37] so i'm trying to bootstrap it [15:37] works using kubectl on the same box as juju [15:37] but i get that, but i can't find any docs telling me what blanks I should be filling in there [15:38] for kubernetes spun up from juju, what is the cloud name/type/region blah [15:38] I just get told its wrong when I guess [15:38] magicaltrout, is it a local one? [15:39] magicaltrout, "juju add-k8s kubernetes --local" would work in that case [15:39] well thats the other thing, i saw local in the help.. i have zero clue what local refers to [15:39] local to what? [15:39] oh like "If you just [15:39] want to update the local cache and not a running controller, use [15:39] the --local option." [15:39] magicaltrout, yeah [15:39] well I have a controller, is this not the generic controller? [15:40] like its on a box which already has a juju connected to an openstack cloud... [15:41] don't i just use that controller? [15:41] its not clear [15:44] magicaltrout, generally you add a cloud to your local client [15:45] consider me well confused... we always use controllers and now i'm being told to add stuff to a local client... [15:47] magicaltrout: it sounds like you're trying to do the bootstrap step before you do the `juju add-k8s` step [15:47] no i'm running the juju add-k8s step tvansteenburgh [15:48] infact [15:48] local gives me the same error [15:48] i still dont' know what to type! :) [15:48] And I don't know what you've already typed! :) [15:48] https://paste.ubuntu.com/p/MXkSKsmQgH/ [15:48] that was my last guess cause stickupkid told me to do --local [15:49] magicaltrout, just curious, did you look over any of the documentation? maybe that stuff needs improving [15:49] on that box, juju status, shows my bootstrapped controller and kubectl get namespaces runs fine [15:49] pmatulis: https://discourse.jujucharms.com/t/using-kubernetes-with-juju/1090 [15:49] i have this page open [15:50] i have run juju add-k8s --help [15:50] and i'm absolutely non the wiser [15:50] magicaltrout: Pipe your kubeconfig to add-k8s [15:52] i've tried a few different methods of getting kubectl in [15:52] but i also know its reading it cause i messed the file up [15:52] and it failed with another error message [15:52] https://asciinema.org/a/X2LWuBEpolBYYvoT79JFT8zwm [15:53] i mean, it all seems to be working, so i'm clearly missing something dumb but its not obvious in the docs [16:07] i mean [16:07] if i wanted to fill out the cloud and region [16:07] what the hell goes in them? [16:07] I do see any examples anywhere [16:12] stickupkid: I am trying to find a place in the juju code-base to add the "get snap store assertions" helper. Any ideas? "snap/assertions" would be great but "snap" is used for the snapcraft bits [16:12] (there is also a service/snap which doesn't seem right) [16:12] achilleasa, do they reference any of the juju/juju code base, if not, then core/snap/assertions? [16:13] although core should be renamed to pkg or internal :) [16:14] stickupkid: no, it's just the bit that I removed from the juju/packaging PR. Ok, I will put it there for now... [16:15] jeez [16:15] it actually added something [16:17] so tvansteenburgh to get it to add the cloud i had to run [16:18] juju add-k8s k8s-test-cloud --debug --region openstack/RegionOne --storage openstack-standard [16:18] https://discourse.jujucharms.com/t/tutorial-installing-kubernetes-with-cdk-and-using-auto-configured-storage/1469#heading--adding-the-cluster-to-juju [16:18] magicaltrout, ^^^ [16:18] also: https://bugs.launchpad.net/juju/+bug/1830949 [16:18] Bug #1830949: [k8s] add-k8s command has ambigious UX [16:20] ah yeah that tutorial has the region in as well pmatulis yeah, i picked that up a few minutes ago from another tutorial [16:21] trying to bootstrap now thanks [16:25] magicaltrout: geeze, had to take the dog to the vet. Sorry :P [16:25] magicaltrout: you get going? [16:26] no probs rick_h [16:26] the thing seems to be trying to bootstrap [16:26] magicaltrout: that's a good thing [16:27] that add-k8s command is a mindfuck [16:27] lol, a little bit [16:28] magicaltrout: going to get some food, but feedback/etc in discourse is helpful for sure. [16:29] I think the issue pmatulis linked to in launchpad captures the problem pretty well [16:29] I'm hoping we can get to a point that add-cloud/add-k8s are pretty much the same walk through of stuff vs the different worlds they have now. [16:29] magicaltrout: yea [16:29] but if i hit more I'll bring it up. I need to get some k8s charms written for Druid [16:29] so I'm sure i'll hit some more fun [16:34] epic, bootstrap came to life [16:34] thanks folks [20:53] random k8s charm question [20:53] username: %(docker_image_username)s [20:53] password: %(docker_image_password)s [20:53] what are they when they're at home? [20:53] like, don't you push the docker image as a resource, so what does it relate to? [20:57] image_info.registry_path.. [20:57] etc. is that just some juju thing then? [21:16] magicaltrout: hmm, not seeing that in the spec definition. Is that something image specific? [21:16] na its in all of them... it looks like its how juju authenticates with the juju docker repo I guess [21:17] oh maybe [21:18] well when I say all of them [21:18] I mean mediawiki and mariadb [21:18] my sample pool :P [22:16] okay basic charm works [22:16] thats pretty cool [22:16] deployment: [22:16] type: stateless | stateful [22:16] service: cluster | loadbalancer | external [22:16] anyone know where that goes? to get a loadbalancer IP? [22:16] it seems to suggest it goes in metadata.yaml [22:16] "Charm metadata syntax looks like this" [22:17] but if I stick it in there charm build tells me to get lost [22:18] proof: E: Unknown root metadata field (deployment) [22:27] ah thats just a proof thing [22:27] it still deploys and does what it claims [22:27] good stuff === lborda is now known as lborda_afk