=== frankban|afk is now known as frankban [10:21] Hi here, I'm trying to run "juju bootstrap manual/localhost cdk" with the latest Juju version from Snap and it hangs up infinitely on "Running machine configuration script...". [10:21] When I'm trying to find on what it hangs up exactly, I saw "apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --assume-yes --quiet install cloud-utils" [10:21] and when I run this manually myself, I got: [10:22] The following packages have unmet dependencies: [10:22] cloud-utils : Depends: openjdk-6-jre but it is not installable [10:22] Depends: libbackport-util-concurrent-java (>= 3.1) but it is not installable [10:26] Found the problem! apt policy cloud-utils reports that a package from our private local repository override cloud-utils from the Ubuntu Archive, sorry... [11:02] kjackal_: ping [11:03] hello magicaltrout [11:04] what's up? [11:04] ah quick CDK question [11:04] my understanding of the kubernetes-worker config is that [11:05] kubelet-extra-args is a KV config and the contents will be attached to the kubelet config [11:05] so i set [11:05] value: maximum-dead-containers=3 [11:05] but i don't see it set anywhere on the kubelets [11:06] lets see... [11:08] so these are extra arguments that will be used to start kubelet service with [11:09] yeah so i'd expect them to be in /var/snap/kubelet/current/args [11:09] or visible on ps aux |grep kubelet [11:09] yes they should be there [11:10] where do you set them? cojure-up during deployment? a bundle file? after the deployment? [11:10] after the deployment [11:10] strange... [11:11] let me think... [11:12] https://gist.github.com/buggtb/96a0d41472836a170f6bafacf087d41d [11:16] yes... I see it not being set. Give me 5 mins [11:17] winning [11:22] magicaltrout: I do not see this config param in kubelet: https://gist.github.com/ktsakalozos/2090e63f052d32b18b7605f1c4b36c2f [11:23] let me read the docs a bit [11:23] well even if it isn't would the charm parse it out? [11:23] https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/ [11:23] my understanding is GC flags get added to the kubelet [11:24] I might be wrong, but i'd expect it to blow up, not ignore my config request [11:33] xm... there are discussions of removing these flags as they are depricated. https://github.com/kubernetes/kubernetes/issues/40044 . But regardless we should be able to set those... [11:33] well yeah [11:33] but they aren't removed yet [11:36] true, would you be able to open an issue here: https://github.com/juju-solutions/bundle-canonical-kubernetes/issues [11:36] ? [11:36] magicaltrout: ^ [11:36] sure [11:36] thanks [11:38] done [11:44] thank you, magicaltrout. My reply to the issue was to the team. ;) [11:46] other question [11:46] cause google is failing me [11:47] how do I get the deployed applications name in the charm? [11:59] nm === meeks is now known as meeeks [12:58] Hey guys! How can i deploy a saved model from the cli? [12:59] like juju deploy --model maas-cloud-controller:gunny/utkingtest [12:59] just gives no charm og bundle specified [13:12] juju deploy mybundle.yaml [13:12] i think [13:16] ah ok :) do you have any idea where that file is? [13:17] the model was deployed with the gui, but i got some hook errors [13:18] so i fixed them, but it won't re-deploy my changes [13:25] that file? [13:25] its the export you did [13:25] bundle.yaml or whatever the download was called [13:31] thanks, a bit complicated tbh, it should have been saved locally, or at least been deploy when pressing the deploy button in the gui :p [13:32] if you save a model in the gui [13:32] it just downloads it doesn't it? [13:37] yeah it does, on my local computer, i then need to scp it in maas to run it, not a big problem, just a bit of extra work [13:39] do you not have juju running on your local computer? [13:40] no, it's been bootstrapped by maas on another node [13:40] :) [13:41] well if you have a network connection between your machine and the maas network, you could add the controller to you local setup [13:41] and then just run the commands locally rather than scping stuff around [13:44] Hmm, how do you mean? :) [13:44] so you have a controller, but you don't run the juju commands directly on the controller, well, not very often [13:45] so you can add the cert details and stuff to your local juju client assuming you have one installed and then switch to that contoller and run commands against it [13:45] yep! I'm running the commands on the maas node [13:45] yeah [13:45] but you could just run them on your PC :P [13:45] haha, i'm on windows >_< [13:46] ssh'ed into the maas node [13:46] https://jujucharms.com/docs/2.0/reference-releases [13:46] luckily [13:46] there is a windows client :P [13:46] haha, oh wow [13:46] i wasn't aware! [13:47] Well thanks m8! [13:47] i'll try that one out [13:48] no probs [13:48] is it less buggy then the gui online? [13:48] a buggy gui?! [13:48] I've not noticed any issues in the gui [13:48] but i don't use it very often [13:50] haha, it doesn't work at all for us, it bugs, deploys 10 times one charm than was specified etc [13:50] also if relations are changed, and redployed nothing happens [13:52] well i've not seen that in either environment but i'll take your word for it [13:52] i'm sure there will be some americans online shortly who'd be interested in knowing more [13:53] they get a bit sad when the gui doesn't work [13:54] hahaha [13:54] also the exported yaml file won't import in the gui, just get a bunch of relations errors [13:54] but it deploys fine in cli [13:55] i'm sure rick_h can help file some issues when he gets his bald head to the keyboard [13:56] magicaltrout: :p [13:56] hahahaha [13:56] oh hi rick_h [13:56] didn't see you there..... [13:56] sorry my head glare is toned down... [13:57] haha :) [13:57] nice to know you've been polishing.... [13:58] polishing is never bad, in any way [13:59] utking: do you have a pastebin of the bundle yaml we can check out? [14:00] utking: since the gui and the go client parse things up differently sometimes things can get out of sync [14:00] would love to get a bug in place and get things fixed up for you [14:00] i'll make one [14:00] ty [14:02] https://pastebin.com/KQw7j2HS [14:02] there you go rick_h :) [14:02] that one i'm unable to import in the web gui [14:04] utking: hmm, so using hte gui it loads the yaml into uncomitted state. When you say relation errors is this the errors from the charms themselves [14:07] hmm, it just won't import them [14:09] utking: so it takes a few seconds here after it loads the charms. [14:11] hmm, so it loads them? [14:11] https://pastebin.com/DjDprdC2 [14:11] try this one then, this gives me errors at least, i might have sent you the wrong one :p [14:13] https://usercontent.irccloud-cdn.com/file/DUJysJN5/2018-02-20_09-11-26.gif [14:13] so here's a gif of it loading up on jujucharms.com and preparing to be deployed [14:15] utking: right, what's 40851682$ ? [14:15] utking: that's related to shared-db but isn't anything the bundle/juju knows about [14:16] utking: so the gui is erroring stating that relation info doesn't make sense to it [14:18] hmm, it might been relating to ceph, but that was removed from the model :S [14:19] yea, I'd be curious where the number$ came from I guess as that's what's breaking the second bundle from working. [14:20] Hmm, what you can try is to download the openstack base, remove ceph, then export and import, see if that breaks it for you? === rharper` is now known as rharper [15:38] utking: yep, that's the issue. I've filed: https://github.com/juju/juju-gui/issues/3548 on the matter [15:38] utking: ty for confirming what was up [17:56] Does someone know how to update dns entries in L X D containers alreay deployed by JUJU [17:57] if I change /etc/resolv.conf or network interfaces file manually, it gets reverted on container restart [18:16] salmankhan: I'm not sure you can do that as that's stored and shared info. The idea would be to run dns if you wanted to stick custom names on things === frankban is now known as frankban|afk [18:29] rick_h: actually I set the subnet dns in MAAS which got into the containers intefaces and resolv.conf rightly but now I want to change that but not been able to find any way to do it without destroying container. [18:30] strange, can't find any doc as well how juju deploys LXD containers, I mean some indepth doc