/srv/irclogs.ubuntu.com/2017/03/27/#juju.txt

kjackalGood morning Juju world!07:10
BlackDexHello there07:46
BlackDexI have an environment where i have juju in HA using 3 nodes07:46
BlackDexunfortunally i need to remove 2 of those nodes now because of maintenance07:47
BlackDexhow can i remove those nodes manually and afterwards just create new ones?07:47
BlackDexcan i juse do juju remove-machine on the controller model?07:48
kjackal_Hi BlackDex, based on this: https://jujucharms.com/docs/2.1/controllers-ha07:53
kjackal_BlackDex: "The only way to decrease is to create a backup of your environment and then restore the backup to a new environment, which starts with a single controller. You can then increase to the desired number."07:54
kjackal_BlackDex: never done that07:54
BlackDexkjackal: Well, one controller is still a controller right09:14
BlackDexill first create a backup, and remove the 2 machines09:14
BlackDexhmm shutting down the 2 nodes prevents me from using `juju` at all09:28
BlackDexthats not really ha then :)09:28
lazyPowero/ kjackal /buffer 212:56
kjackalhello lazyPower12:56
kjackalwhat's this code language "/buffer 2"12:57
kjackal?12:57
kjackallazyPower: ^12:57
lazyPowerlol sorry12:58
lazyPowerearly morning, weechat buffer switching12:58
freyeshello o/ , where can I find the snapcraft recipe used to build the 'charm' snap?13:25
=== stormmore is now known as Budgie^Smore
Zichi here14:46
ZicMy CDK cluster running fully@AWS cannot manipulate PV as EBS, I saw on GitHub that it's maybe tied to "CLOUD_PROVIDER" var, do you have any documentation about it?14:48
lazyPowerZic: we haven't released cloud integration points yet. We're still in a bare-metal first representation of k8s. Work has been started to enable that in a juju native way, but its still WIP14:50
Zicthanks for the info :)14:51
ZiclazyPower: do you have any recommendation for PersistentVolume @ AWS so? just a manually created EBS ?14:51
Zic(or EFS)14:51
lazyPowerZic: i've been using EFS with great success14:52
lazyPowerbut its been only via testing, and i use the NFS volume type14:52
lazyPowerso ymmv - i haven't done battle-hardened testing here, just exploratory work14:52
ZiclazyPower: is "cloud integration" just control the fact that CDK cluster can auto-create EBS on-demand, or also the fact that K8s can mount EBS volume?14:54
Zicbecause I just tried to create the EBS manually and mount it14:54
Zic-> found invalid field AWSElasticBlockStore for v1.PersistentVolumeSpec14:54
lazyPowerZic: no, this would be for cloud level integrations. Giving your nodes IAM profiles to request things from the cloud on your behalf14:54
lazyPowerebs volumes, ELB load balancers, et-al14:55
Zicok so I can normally mount manually-created EBS, I need to find why it did not work :(14:55
ZicI don't need my cluster to auto-create EBS on-demand, I just need the ability to mount them as PersistentVolume :D14:57
ZiclazyPower: so just to be sure, you confirm that I normally can use this https://kubernetes.io/docs/concepts/storage/volumes/#awselasticblockstore, but I need to create EBS volume manually (as it's precised in the link) before?15:07
Zicor mounting EBS is also part of cloud-integration and I need to stick with EFS15:08
Zic(EFS is cool, but not for large micro-access)15:08
Zican other solution will be to add "--cloud-provider=aws" to /etc/default/kube-apiserver and kube-controller-manager on master side, and to /etc/default/kubelet node-side15:19
Zicbut Juju will erase this extra-parameter15:19
=== dpb1_ is now known as dpb1
=== narinder is now known as narinder_out
lazyPowerZic: you can also place that in the templates in /var/lib/juju/agents/unit-kubernetes-master-#/charm/templates.  But note that once you modify those templates you're making a snowflake.17:06
lazyPowerZic: but if you strawman out what you're looking for, and propose it, we can certainly review the contribution and help get it landed.17:07
=== lazyPower is now known as lp|Kubecon
kwmonroepetevg: cory_fu:  curious about the matrix... http://paste.ubuntu.com/24262725/ is my status output for gce and aws.  you see the core count for those matrix models?  it's as if they deployed with no machine constraints.  contrast that with the non-matrix models in the same job.19:18
kwmonroepetevg: cory_fu:  i verified that a sample gce matrix unit did in fact have 1 cpu and 2gb ram.  that's not in accordance with any of the constraints set in my bundle.19:18
petevgkwmonroe: matrix can spin up additional machines, remember.19:18
petevgkwmonroe: but there might still be stuff missing when translating constraints in python-libjuju.19:19
kwmonroeok petevg, so this isn't expected for the matrix first-pass (vs chaos), right?  as in, i should expect my bundle constraints to be honored by matrix?19:20
petevgThat section of the websocket api is kind of broken. (The websocket api doesn't like parsing the plan that it generates.)19:20
petevgkwmonroe: yes. On the first pass, matrix should honor your constraints.19:20
kwmonroethx petevg.. issue-a-coming :)19:21
petevgkwmonroe: sounds like tons o' fun.19:24
ken_Very confused.  Set up an Openstack cloud, put all my MAAS nodes in a zone, and tried to go HA -- ran into issues deploying nodes, so decided to back out.  Now I can't "juju add-unit" anything: "cannot run instance: No available machine matches constraints: zone=default".  Re-added all MAAS nodes to default; same issue.  Any ideas before I nuke it all?20:00
ken_Ah.  Just noticed a couple hundred of these, too: ERROR juju.state database.go:231 using unknown collection "remoteApplications"20:02
=== narinder_out is now known as narinder
ken_OK.  Rebooting the Juju node still throws some errors, but it *did* result in nodes being deployed.20:11
cholcombei don't think you can do this yet but can you tell juju to exclude a set of directories when deploying from a local directory?22:01
hatchcholcombe not as of yet22:08
cholcombehatch: yeah i thought so.  that would be really useful22:08
hatchyes very :)22:09
hatchI can't find the bug right now....22:09
hatchthere is/was one22:09
cholcombeoh cool22:09
cholcombesomeone else had the same thought :)22:09
hatchcholcombe it might be worth filing another since I'm not able to find it22:10
cholcombehatch: ok22:13

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