/srv/irclogs.ubuntu.com/2016/11/17/#juju.txt

justicefriesok one last one. can I refer to a local charm or upload one to the controller from my local system? or is canonical's store the best way to do that with locked down ACLs?00:11
=== CyberJacob is now known as zz_CyberJacob
kjackalGood morning Juju world!07:52
=== frankban|afk is now known as frankban
gnuoyIs lxc profile named "juju-default" magically applied to all models or do you have to manually tell juju to apply that profile to a model?10:55
gnuoyoh, is 'default' the model name ?10:55
gnuoyso if I do "juju add-model foo" I need a corresponding juju-foo profile ?10:56
gnuoyok, for any future travellers juju seems to look for an lxc profile called juju-<mode name>, if it finds it it applies it to the containers in that model.11:04
gnuoys/mode name/model name/11:04
jcastroReminder to all: Charmer Summit / config management camp CFPs are due tomorrow!14:05
aisraeljcastro: is there a CFP template somewhere?14:20
jcastrohttp://summit.juju.solutions/ has a link to the form14:21
aisraelta14:21
deanmananyone having a working environment with openstack mitaka ?14:32
marcoceppijusticefries: hey, so you'd want to use the existing client interface, that way it just seamlessly integrates14:41
marcoceppijusticefries: an elb-proxy-charm is a great idea, we had an early attempt a while ago, but it would just reuse the http interface and take aws sepcifiic config as charm config and clue the two together14:42
justicefrieshmm nice. ok. might roll up my sleeves today and write some charms.14:42
aisraeljcastro/marcoceppi: do you have a couple minutes to chat in eco-wx?14:43
jcastroaisrael: I'm editing mid video, I need a few minutes15:00
aisraeljcastro: no worries, marco answered my q's <315:03
jcastrocool15:04
jcastroanyone have anything for the crossteam?15:04
aisraeljcastro: yes, 1 sec15:04
aisraeljcastro: https://bugs.launchpad.net/bugs/164024215:05
mupBug #1640242: debug-hooks doesn't accept a named action <juju:Triaged> <https://launchpad.net/bugs/1640242>15:05
aisraelThat's not a wishlist item, imo, but a usability issue15:05
jcastrocool, anyone else have a burning bug they'd like to see core address?15:08
jcastroI'm going to ask about spot instances again15:09
jcastrolazyPower: just waiting for youtube to finish the edit I did to trim the front of the video and I'll publish it on the YT channel.15:14
lazyPowernice, thanks jcastro15:15
jcastromarcoceppi: any bugs from you?15:17
marcoceppijcastro: how about that one where you ahve to have credentials even if you get addmodel access to a controller15:17
jcastroI don't think I've run into that yet?15:17
marcoceppijcastro: it's been around since the summit15:17
marcoceppisince rc115:17
jcastroI've been gone remember? Link me up.15:18
jcastrolazyPower: mbruzek: https://github.com/conjure-up/conjure-up/issues/50515:19
=== scuttle|afk is now known as scuttlemonkey
marcoceppijcastro: I can't find a bug now15:21
jcastrook, I can dig around15:22
lazyPowerjcastro - yeah he hopped on a hangout with us yesterday and we saw the progress15:22
lazyPowerso we've got most of the stuff there, still sorting out system acccess control issues, but otherwise stokachu made a ton of progress there15:22
marcoceppijcastro: https://bugs.launchpad.net/juju/+bug/163037215:22
mupBug #1630372: "ERROR no credential specified" during add-model as non-admin user <usability> <v-pil> <juju:Triaged> <https://launchpad.net/bugs/1630372>15:22
arosaleslazyPower: you guys looking at a release for canoniocal-kubernetes and kuberntes-core today or going to try to gamble on a Friday15:23
jcastrogot it15:24
jcastroI am confused by the bug work in core lately15:25
jcastrolike, bugs are being closed with no explanation15:25
rick_hjcastro: example?15:26
jcastrohttps://bugs.launchpad.net/juju-core/+bug/94586215:27
mupBug #945862: Support for AWS "spot" instances <adoption> <juju-core:Won't Fix> <https://launchpad.net/bugs/945862>15:27
lazyPowerarosales - good question, we're more than likely going to push today.15:27
lazyPowerarosales - is there something specific you're looking for?15:27
arosaleslazyPower: generally interested, but was also noticing the only failure core and canonical k8 on cwr was that pesky lint issue15:31
lazyPowerah, yeah. I didn't see the refactor merge come in yesterday, so i'll circle back on that and we'll get a release made as soon as its validated15:32
lazyPowercloser to EOD, but likely today15:33
arosalesref = http://data.vapour.ws/cwr-tests/results/bundle_canonical_kubernetes/ec410f94fa8d4c58b482b9b9d04cf530/report.html and  http://data.vapour.ws/cwr-tests/results/bundle_kubernetes_core/b117cfc786174737af81ef32c3372108/report.html15:34
arosaleslazyPower: thanks15:37
jcastromarcoceppi: can you explain the use case in more detail in https://bugs.launchpad.net/juju/+bug/163037215:45
mupBug #1630372: "ERROR no credential specified" during add-model as non-admin user <usability> <v-pil> <juju:Triaged> <https://launchpad.net/bugs/1630372>15:45
jcastrorick is confused as to what you're actually trying to do15:45
marcoceppijcastro: otp15:59
bildzgood morning16:01
bildzhow do I find out what container is running what instance of openstack?16:01
bildzI have to control all the openstack compontents out of juju?16:06
bildzi cant just edit config files on the servers cause they get overwritten :(16:06
jcastrolazyPower: mbruzek: how do we look on azure? there's a guy asking in the sigcluster-lifecycle channel about azure16:10
mbruzekjcastro: Last I checked we deploy fine in Azure I had kwmonroe do it a few times16:11
lazyPowerwe have good test results on azure deploys in CWR aside from the lint error16:11
jcastroawesome, good to know16:12
jcastroI think I'll just respond each time a kops or kargo guy responds to a question16:12
jcastrolazyPower: dang, so that lint error makes everything look broken?16:14
lazyPoweryeah, arosales already reached out about it this morning16:14
jcastroack16:14
marcoceppilazyPower: the nginx one is fixed16:19
lazyPowermarcoceppi - sorry i lost context, in what regard?16:19
marcoceppilazyPower: the nginx lint errors in kubeapi-load-balancer16:20
lazyPowerah ok16:20
kwmonroembruzek: any objection to me kicking off a new jujubox build on dockerhub?16:37
kwmonroe(last one was 16 days ago)16:37
mbruzekkwmonroe: yes16:37
mbruzekkwmonroe: can you review the 2 pull requests in the repo?16:38
mbruzekI just landed them today16:38
mbruzekGiving you the option to build with a user other than ubuntu16:38
mbruzekbut by default it will build with ubuntu16:38
mbruzekIf those meet your approval, then I would like to merge them so we can build a new one.16:39
mbruzekkwmonroe: I anticipate problems with charmbox with my changes yesterday and today.16:40
mbruzekBut I am committed to fixing those too16:40
kjackalstokachu: Hey stokachu I see you have put up for review & promulgation dokuwiki until revision 11 , but I see you have also revision 15 under your namespace. Would you like to update the dokuwiki revision you have up for review?16:58
=== zz_CyberJacob is now known as CyberJacob
=== frankban is now known as frankban|afk
bildzi've tried to install the juju-gui and it's sitting in an unknown state and when connecting to the web interface its hanging on "connecting to juju model hangs"   juju-2.0                                   2.0~rc3-0ubuntu4.16.10.118:10
tvansteenburgh1hatch: ^18:13
=== tvansteenburgh1 is now known as tvansteenburgh
hatchbildz: with Juju 2 you no longer have to deploy the GUI charm18:14
hatchthe GUI charm is only for Juju 118:15
hatchto access the GUI with juju 2 simply run `juju gui --show-credentials` and it'll open a browser with the GUI and output your credentials to the CLI18:15
bildzoh sweet18:15
hatchbildz: and - if you've got a long running controller you can run `juju upgrade-gui` to get the latest gui release. :)18:16
bildzthanks, hatch18:17
hatchnp, anytime, if you run into any issues there just ping me18:17
hatchthanks tvansteenburgh18:17
bildzappreciate the help!18:18
quixotenI'm having an issue with Juju trying to connecto to MAAS API version 1.0. Version 1.0 is not supported on the version of MAAS I'm using.18:43
quixotenERROR cmd supercommand.go:458 new environ: Get http://10.0.96.2:5240/MAAS/api/1.0/version/18:43
quixotenjuju version => 2.0.1-xenial-amd6418:43
quixotenmaas version => 2.1.1+bzr5544-0ubuntu1 (16.04.1)18:43
quixotenanyone had this problem before ?18:45
brandor5hello everyone: for the last few days when I try to bootstrap a juju controller on maas it fails with the error: "ERROR failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "4y3hek" is started but not deployed" Anyone have any ideas? I'm seeing older stuff on google but nothing recently...19:01
brandor5this command worked fine the week before last, btw19:01
quixotenany errors output on the console of the machine that was started?19:02
brandor5quixoten: I hadn't thought of that, gimme a few and I'll see what happens on the console19:03
verterokHi, any chance I can get some help with a wonky bootstrap node? looks like the mongodb config got broken/gone19:05
verterokhere are the mongodb logs: http://paste.ubuntu.com/23491858/ after restarting juju-db19:06
stokachukjackal: yea i need to re-review that charm and then ill push a new review request19:23
bildzhatch: I've made changes to the openstack charms and have commited them, but they dont appear to be refreshing the proper changes.20:08
hatchbildz: was this on a fresh deploy?20:08
bildzyes20:09
bildzi did a conjure up conjure-up20:09
bildzthis is absolutely amazing though20:09
bildzmy mouth dropped20:09
hatch:D20:09
lazyPowerhackedbellini o/20:09
hackedbellinilazyPower: here! :)20:10
lazyPowerso, to recap for anyone that comes across this later, we're continuing investigating running a docker based workload in lxd20:10
hackedbellinilazyPower: so, how can I rebuild the layer of the charm?20:10
lazyPowerand you ran into a problem with a really old version of a charm that hasn't been refreshed with the latest layer fixes20:10
hatchbildz: so when you click on the application on the canvas, and you go to the configuration settings in the inspector - does it show your changes?20:10
bildzI need to restart the nova-cloud-controller and computes20:10
bildzchecking20:10
lazyPowerhackedbellini - first you'll need to clone the layer: https://github.com/chuckbutler/redmine-layer20:10
lazyPowerhackedbellini - you'll also need charm-tools installed,  with the juju stable ppa enabled, apt-get install charm-tools,    or you can snap install it    snap install charm20:11
bildzhatch: yes they changes are there20:11
bildzthe*20:11
hackedbellinilazyPower: both done!20:11
lazyPowerhackedbellini - cd into the charm dir, and issue `charm build -r --no-local-layers`20:12
hatchbildz: ok then beyond that I'm not familiar with the internals of the openstack charms.20:12
lazyPowerthis will assemble the charm from its declared layers, and output to a build path. its likely to put it in $PWD/builds  unless you've exported $JUJU_REPOSITORY in your shell20:12
bildzafter making a change to a charm, is there a way to restart the service from the UI20:12
bildzseems when i made the change, openstack went plop20:12
hatchbildz: when a configuration option is changed, the 'config-changed' hook in the charm is run. It's up to the charm to do what it does at that point. If you wanted to manually restart you'd have to ssh into the machine and do it manually20:13
hatchbildz: I'd imagine that the openstack charms would restart what needed, but again, outside of my wheelhouse there20:14
hackedbellinilazyPower: ok, it worked! Now I move the build to my charms dir?20:14
lazyPoweryep, and juju deploy ./redmine20:14
hackedbellinilazyPower: should I do a new deploy or change the charm of the one I already deployed?20:15
lazyPowerI would recommend a fresh deploy20:16
lazyPowerjust to ensure we dont have any niggly issues hiding in there that might muddy the results20:16
bildzhatch: thanks I will let you know what i find out20:17
justicefrieshmm. private charms. what's the way to do them? upload them to canonical with only the people I want having ACLs on them? any way to just do it directly from a private git repo, or is it the controller that's pulling the charm?20:17
jcastrohey bdx, did you submit something for the summit?20:20
justicefriesalso got a weird one on the canonical-kubernetes bundle, and I think it has to do with the kubeapi-load-balancer20:20
lazyPowerjusticefries - we're cycling through an update which should catch the stray error with the api-lb20:21
justicefriesI installed tiller now that helm 2.0 is out, and I think it proxies through kubectl, but I'm getting an upgrade request when forwarding ports.20:21
justicefriesoh, cool.20:21
lazyPowerwe just published the charms, but hte bundle hasn't been revved yet20:21
justicefries^ that error too, or the one with the instance bouncing?20:21
hackedbellinilazyPower: I have to go home now. Tomorrow I'll ping you to continue (hopefully what we did will be enough)20:21
lazyPoweryou can set ACL's on your charms in the store, yep20:21
hackedbellinithanks for your time! :)20:22
lazyPowerso you can use private repos, and then restrict the charms to your team using hte charm store ACL's20:22
lazyPowerso its private all the way across20:22
justicefriesok. any notion of self-hosted stores at this time? not a requirement for me, just curious20:22
lazyPowernot that i'm aware of20:23
=== alexisb is now known as alexisb-afk
justicefriescool. OH! but I can use --local while I'm devving charms, nice.20:26
lazyPoweryep20:27
justicefrieshmm ok. if I'm creating an infrastructure charm (say, aws-elb) that doesn't depend on a certain version of ubuntu, what's the right folder structure? is `charms/precise` from the example simply convention, or is it a GOPATH-like requirement?20:30
=== alexisb-afk is now known as alexisb
justicefrieshey all, FYI, I had to build my own MacOS Sierra version of juju off the 2.0 branch because what's on the releases page is still on 1.6. anyway, this works fine when you already have a juju controller, but when you're trying to stand something up it can't find the right agent version (thanks to Sierra being in the version). maybe I should build off the tag20:48
justicefriesinstead.20:48
justicefriesdoesn't matter now because I have a controller20:48
lazyPowerjusticefries - you can make multi-series charms21:05
lazyPowereg:21:05
lazyPowerin metadata.yaml just define `series: -xenial -trusty`21:05
lazyPowernow, you can define series, but you cannot define multiple cross-series, like have centos-6 listed as well as -xenial21:05
lazyPowerunless thats changed recently21:05
justicefrieshm ok got it.21:05
lazyPoweralso re-bootstrapping with tools21:06
lazyPoweri would poke in #juju-dev about that, they might have some super secret sauce for you there21:06
justicefriesworking with non-machine resources as charms overall just feels a little weird.21:06
justicefriesah nice ok.21:06
lazyPoweryeah, i totally understand21:06
lazyPowerwe call those proxy charms, and they just poke things with a stick to make it do somethin21:06
lazyPowerwhich in itself is kind of odd but it does get the job done.21:06
justicefriesyeah21:07
lazyPowerwhats nice about them though, is you can colocate them in lxd on some unit you have running in your infra21:07
lazyPowerso its all nice and isolated and cozy21:07
lazyPowerif thast even a concern of infra21:07
lazyPower:)21:07
justicefriesnow is that something I'd have to specify in the charm metadata that it can colo with another machine? or do I specify the machine when deploying my unit to make that happen?21:07
justicefriesthe rules of when I get a machine vs. when it packs are a little fuzzy.21:07
lazyPowerah, ok.21:12
lazyPowerso you can deploy most charms to lxd on a pricipal unit, eg --to lxc/5  which allocates a container on machine #5, whatever that may be21:13
lazyPowerin the instance of bundles, our CDK core bundle uses colocation to squeeze easy-rsa on machine 021:13
lazyPowerhttps://github.com/juju-solutions/bundle-kubernetes-core/blob/master/bundle.yaml#L2721:14
lazyPoweralso looks like i botched the syntax, its now --to lxd:#21:14
justicefriesi think i'm starting to see through the murk. ok. so what I'm going to want next is to make sure I specify my --cloud-provider on the kube-apiserver. there's no way to add a flag as it stands today with another layer, is there?21:19
justicefriesbasically to get the setup I want with my bundle, I need that, and I need to make sure my machines get an IAM profile, and I'd like it to create the IAM profile as well just so I have completely repeatable clusters.21:20
lazyPowerCorrect, you'd need to extend the kubernetes charms to take that --cloud-provider flag to enable the cloud provider specific integrations. we dont support that as it encourages bad behavior by not going through juju to request resources.21:21
lazyPowerbut if thats your end goal to fully integrate with $CLOUD, its a reasonable expectation to add some extensions to the template logic to enable that, and you'd have to manually provision the IAM role sets.21:22
justicefrieshmm. that's an interesting way to put it.21:23
lazyPowerwell its that or open a bug and we can openly talk about it. I know that in our previous planning sessions we explicitly decided to punt on the cloud provider specific integrations as its not portable21:24
lazyPoweryou provision a workload in kubernetes using an ELB, and then suddenly it doesn't work when you re-deploy on maas because its a different resource set on the backend21:25
justicefriesyeah. you want to keep it portable. i need to think about the balance I'd want here. obviously I'm used to PVs provisioning on the provider, and services/ingress doing the same.21:26
justicefrieswhere available.21:26
lazyPowerI dont think its an unreasonable request, just not one we've committed to supporting yet. Ideally we would get some primitives for those in juju and extend kubernetes to talk to juju21:27
lazyPowerergo, i need a load balancer21:27
justicefriesoh, sure.21:27
lazyPowerit requests a juju deployed haproxy21:27
justicefriesthat would be a really nice way to do it21:27
lazyPowermy workload wants storage, juju requests up EBS flavors21:27
justicefriesyou'd almost need a charms equivalent of resources. "queue this charm up when kubernetes asks for this resource"21:27
lazyPoweri've been thinking about how we can extend the worker pool with cloud storage using the existing juju storage feature set, it seems fairly limited, but it may be good enough to work as we can enlist those PV's directly with a simple manifest render after its been attached to the unit.21:28
lazyPowerbut today we only support ceph RBD as a PV in our k8s stack, with some commitment to extend that in the coming cycles with our other vendors like nexenta.21:28
justicefriesuntil it gets rescheduled right21:29
lazyPowerexactly21:29
lazyPoweras workloads move, the PV would be stuck on a different unit21:29
lazyPowerso things get wonky in that scenario21:29
justicefriesyup. suddenly you're pinning stuff with node labels :o21:29
justicefriesheh. be nice if I could just attach kubernetes to my model's credentials.21:30
justicefriesand the charm could use that to make decisions.21:30
lazyPowerinteresting idea21:30
lazyPowerwhat i would really like is the ability to aggregate resources without directly attaching them to a unit, instead allocating them against the charm's definition, and they become floating resources, which would enable those PV's to travel between the units.21:31
lazyPowerbut thats a pipe dream today as its a big departure from how its currently modeled21:31
justicefriesyeah sure21:31
justicefriesyou'd almost at that point need kubernetes workloads represented as charms.21:31
lazyPower10k ideas, 100 hours to complete them21:31
lazyPowergo21:31
justicefrieshaha yup21:31
justicefrieshmm I can't find the repo for containers/kubernetes-master21:34
lazyPowerwe're nested deep in the kubernetes repository 1 sec and i'll get you a direct link21:35
lazyPowerhttps://github.com/juju-solutions/kubernetes/tree/master-node-split/cluster/juju/layers21:35
lazyPower^ this is our latest work we just published today. We're nested deep in the cluster/juju  directory tree of the kubernetes proper repo. We're a bit behind getting our changes upstream to their master branch, but we're actively working towards making that an easy process with submitting our e2e test results on a regular basis21:36
lazyPowerwhich i'm actively working on today21:36
justicefriesah ha.21:36
justicefrieswell maybe I should stop asking questions then. :p21:37
lazyPowernah you're fine :) I'd rather help a user get moving with what they want to do, than satisfy beurocracy fwiw21:37
justicefriesheh, looking through these charms, I've been doing Go for years, getting used to python again phew.21:58
lazyPoweryeah, duck typed refresher course21:58
rick_hquack quack21:58
lazyPoweri felt the same way coming to ruby/python from .net21:58
justicefriesdecorators are sweet though in python 3.21:59
lazyPowerawe thanks :D we abuse them like candy21:59
justicefriesyeah I kind of want to check out the new C# and .NET Core 1.1 stuff.21:59
lazyPower@when('this.makes.sense')21:59
justicefriesah. is the kubernetes resource coming from a `charm attach`?22:04
lazyPowerjusticefries - correct, our resources are vetted by hand by mbruzek and I. we then attach those resources to the charms in the store during our release management process. If you wish to use your own bins, you can certaily override them with a `juju attach`22:05
justicefriesmaybe at some point, right now just feeling it all out.22:05
lazyPowerand when i say by hand, i mean we run e2e suits against a deployment and some additional things by hand.22:05
lazyPowerbut its mostly automated22:05
justicefriessure sure22:05
justicefriesi'm going to have to do a bit of similar stuff with the windows CI charm I need to write :|22:06
lazyPoweri feel like saying anything is manual is a bad thing in this whole process, its kind of baffling that just 2 dudes do all this.  #thanksjuju22:06
lazyPowerwell, i was thinking about that22:06
lazyPoweris there any reason yo ucouldn't use the .net container as a base for running those?22:06
justicefriesthe way I'm putting it to my team is that juju and kubernetes used well lets us punch well above our weight class.22:06
lazyPowerthat would skinny up the required charm code22:06
lazyPowerjusticefries - thats a fan-freaking-tastic description. Can i quote you on that?22:07
justicefriessure. :)22:07
lazyPower<3 love itttt, ta22:07
justicefriesGPU requirements on some of them.22:07
* lazyPower heads off to twitter22:07
justicefriesthat's the barrier on the containers.22:07
justicefrieson the linux side, sure, there's a lot of good precedent now for GPU containers.22:07
lazyPowerhttps://twitter.com/lazypower/status/79937347581948313922:07
lazyPowerHmmm you're right22:10
lazyPowercuda integration on containers for windows is funky, i just googled and saw the mess they're untangling.22:10
* lazyPower retracts his shower thought22:10
lazyPowerso its coming, but its not here today.22:10
justicefriesyeah. nvidia-docker wrapper is great so you don't get all screwed up on device mounting and driver versions on linux.22:10
justicefriesyup22:10
lazyPowerwell fortunately, when you're ready for that, i got your back22:10
lazyPoweri'll reach out to teh cloudbase peeps22:10
lazyPowersee if i can get you someone to pair and patch-pilot your first windows charm into the store22:11
justicefriesi wish. :| i'm basically just wrapping it all up into a well isolated thing that I don't need to deal with. that'd be awesome. windows automation just feels so ugly to me.22:11
lazyPowerhaving come from a msdeploy based background22:11
lazyPoweri know the feeling. powershell got a lot better, but its still not where i would want it to be.22:11
justicefriesyeah. fortunately there's a path there to linux for some of that for me in the next few months. it really affects the resources you're able to throw at the problem when you're constrained to windows for a certain part of the whole thing.22:14
lazyPowerwe had a large scale deployment for a marketing firm at my last job, and the core component of all of that was mssql server, and at the time there was zero support for running that on linux (which appears to have changed). So i completely understand the frustration there. Having a single mssql backend surrounded by ubuntu was maddening when it was the most finicky component of them all.22:17
lazyPowerbut i'm also not an mssql admin, so i probably did something wonky in there.22:17
lazyPowerall i do know, is that WAL files for mssql are nightmare fuel22:18
justicefriesugh22:18
lazyPowerhaha, it seems i'm in good company22:18
justicefriesi fortunately haven't been within a ten mile radius of mssql22:18
justicefriesthis is for sure nightmare fuel too though. fortunately all of the services and everything else isn't that way22:20
* lazyPower nods22:21
justicefriesunfortunately because even though stuff is migrating to linux, a lot of the devs are going to remain on windows, so there's a whole fun gyp infrastructure in place22:21
justicefriesand a rat's nest of linking that that team is maintaining.22:21
lazyPowerhackedbellini - hey no problem. sorry it took me forever to see that message. i went scrolling back to touch base with how you were doing and see you went home for the day. Cheers until later today (when you see this) then :)22:24
justicefrieshmm. does it make sense to create a general "aws" charm with interfaces for each type of resource you might want to relate to? could you have a unit with multiple relations to the same interface? say you want 2 EBS volumes or something.22:33
justicefriesmaybe not. maybe that'd end up being clunky versus just making two aws-ebs units22:34
justicefriesand adding the relations.22:34
lazyPoweri think that having succinct representations for those managed services22:34
lazyPowerso 1 charm for rds, 1 charm for ebs storage22:34
justicefriesyeah22:34
lazyPoweryou can abstract the common bits of that into a base layer22:34
lazyPowerlike layer-aws-managed-credentials or something22:34
justicefriesprobably just an aws base layer that contains boto and stuff22:34
lazyPowerso you can plug in your keys and all that, then write shim layers on top using the aws sdk22:34
justicefrieshmm credentials is an interesting one.22:35
justicefriesmaybe a sane idea to do vaultproject.io and then have relations (once the vault is unsealed) that ultimately provide the related unit's api key22:36
lazyPowerahh see now you're getting into where we got mired and basically cound't agree. we wanted to use vault22:36
lazyPowerbut i dont know enough about it to really use vault effectively22:36
lazyPowerits on my TODO to repalce easyrsa with vault for a ssl CA22:37
justicefriesi just wish it wasn't open core. :|22:37
justicefriesoh nice.22:37
lazyPoweryep, so expect a pilot of that one in the coming months.  we have some vault layers/charms in the wild already as community submissions22:37
lazyPowerwe're likely to pick that up, polish it, and drop it right into the bundle as a flavor22:37
justicefriesthat adds a lot of power to it. does the current charm handle renewing with easyrsa?22:39
lazyPowerwe want to add that, but it doesn't exist today22:39
lazyPowerthe idea is to juju run-action easyrsa re-key, and it regenerates and pushes the keys out ot anything attached to the CA22:39
lazyPowerits a long standing issue in kubernetes-proper, how to re-key a k8s installation. We'd like to contribute that back if we can22:39
justicefrieshm. noticed an interesting one22:50
justicefrieskubernetes-master needs socat installed to port forward!22:50
lazyPowerreally? that seems new22:50
lazyPowerit was just using iptables before22:50
justicefriesE1117 15:48:41.963192   46813 portforward.go:329] an error occurred forwarding 49400 -> 44134: error forwarding port 44134 to pod tiller-deploy-2241983194-k4tdu_kube-system, uid : unable to do port forwarding: socat not found.22:51
justicefriesyup22:51
lazyPowergood find22:51
lazyPowerand easy fix too22:51
justicefriesis that something you'd put in basic or kubernetes-master?22:52
lazyPowerkubernetes-master, in the layer.yaml under packages:22:52
lazyPowerbut you can work around it temporarily by just juju run --application kubernetes-master "apt-get install socat"22:52
justicefriesah interesting, didn't know there was an option there for it. i was looking in the actual reactive22:52
justicefriesah sure22:53
lazyPoweryeah we'll get that committed for the next release22:53
lazyPowerwe just bumped the charms today, so its unlikely to get pushed unless mbruzek  tells me i'm being a ninny22:53
lazyPowerwhich he just did, great22:53
lazyPowerwhy did i say anything22:53
lazyPowerfor context, we're on a hangout. i got it first hand22:54
justicefrieshaha fair22:55
vmorrisis api.jujucharms.com down?22:55
justicefriesso that works. the workers need it too.22:56
lazyPowerack, i'll re-tag the bug to target both22:56
justicefriesi had to expose kube api directly, because going through the LB was giving an upgrade error, so something's off in that nginx config.22:56
justicefriesyou can replicate by grabbing helm 2.0, doing a `helm init` to install tiller, and then `helm status`22:57
lazyPowervmorris - it doesn't appear to be. i'm able to deploy from the store, which is api driven22:57
vmorrisyeah i'm not able to deploy from the store for some reason :(22:57
justicefrieshuh, are beta extensions disabled?22:57
lazyPowerwe dont explicitly disable them... what else have you uncovered justicefries?22:58
justicefriesOH22:58
justicefriesprivileged is disabled.22:58
lazyPoweryeah, i want to make that a config option22:58
justicefrieswhich I need for CI agents. though maybe I could just do a LXD CI agent and call it a day.22:59
vmorrislazyPower can you confirm that api.jujucharms.com is at 162.213.33.122? and is that supposed to be pingable?22:59
lazyPowerthat way you can expsoe a smaller subset of workers that need priv. containers22:59
lazyPower162.213.33.121 is the correct ip vmorris, however i think icmp is disabled22:59
vmorrisokay ty22:59
justicefriesah that'll probably require some worker labeling23:00
lazyPowerright, i can prototype that out real quick, 1 sec23:00
justicefriesi'm probably marching to my own internal k8s bundle and then backfeeding things that can be generalized.23:01
lazyPowerjusticefries - http://paste.ubuntu.com/23492869/23:06
lazyPowersomething like this. you can import that into jujucharms.com/demo and visualize it. you get different worker pools for different "roles" per say. and using the tagging/labels you can narrow down how the workloads get scheduled23:06
justicefriesso options will get passed in as flags today? nice.23:07
lazyPowertheres a labels config flag for worker23:07
lazyPoweryou'll see in the coming release, (probably the next actually) that ingress=True will only flag and schedule ingress on the units in that service pool, as it is today, its an all or nothing shot23:07
lazyPowerand not every k8s worker should be an ingress, it was a blanket decision early on for expedience, but we're at a point today we can fine tune those operations to only effect sibling units.23:08
lazyPowers/service/application/23:08
lazyPowerman good thing mark isn't looking or i'd be flogged for that.23:08
lazyPoweror rick_h for that matter23:08
* lazyPower ducks23:08
justicefrieshaha23:09
justicefriesactually I had to re-parse it though since ingresses technically do point at services23:09
lazyPoweryeah, we're talking about a very mixed set of logical operands. and the more overlapping words, the more confusion the docs will be without illustration23:09
lazyPowerand i come with no illustrations23:09
lazyPowerhttps://github.com/juju-solutions/bundle-canonical-kubernetes/issues/135 -- justicefries - your issue for socat, if you want to subscribe23:10
bdxhorrible issues with spaces on aws today ... just mailed the list23:11
bdxno matter what I do, additional units will not deploy to a subnet in my space23:11
bdxI've created subnets in each AZ in my region23:12
bdxand added them to my space23:12
bdxstill no luck23:12
bdxso bummed23:13
lazyPowersorry to read that bdx  :/23:13
rick_hbdx: spaced and aws aren't fully supported. There was work there that was more of a PoC and so I'm sure it's an uphill battle.23:13
lazyPowerooo man, i think i told bdx otherwise :|23:13
rick_hbdx: were working to reset and not make things so provider specific, but it's going to take time to basically rebuild the networking aupport unfortunately.23:13
lazyPowerthis is probably myf ault23:13
bdxI didn't know aws spaces was POC23:14
bdxthis really throws a stick in my spokes23:14
rick_hWe celebrated spaces support with Maas a cycle ago, we spent the next cycle making it work properly on Maas and aws didn't get the same attention. It's something that we're learning hard lessons from right now23:14
rick_hbdx: I'm sorry, we've not set you up for success here.23:15
lazyPowerrick_h  i apologize for my part in this too :|23:15
lazyPowerrunning off all willy nilly with good news for everyone23:16
bdxits cool .. thanks23:16
lazyPoweri mean bdx23:16
* rick_h owes bdx beverages next summit23:16
bdxI don't know how I should move forward now ... lol .... 100+ subnets created .... all mapped out for each app23:16
rick_hbdx: jam was looking at the bootstrap subnet work from your email to the list as a first step23:17
bdxrick_h: thats great news23:17
rick_hbdx: and has been mapping out the bits that need to be rebuilt.23:17
bdxrick_h: thats awesome, thanks23:18
rick_hbdx: but it's currently a 2.2 target for end of this cycle to have meaningful improvements.23:18
bdxdarn ...  ok23:18
rick_hRight now it's very much in the 'spec and build a better path mode23:18
bdxnice23:18
bdxrick_h, lazyPower: so, what should I do then, just have a non-prod vpc for all non-prod apps23:19
bdxand a prod vpc for prod apps23:19
bdxit doesn't feel right23:19
bdxbc different client have different users accessing non-prod env, and if they are all clustered across the same address spaces ....23:20
bdxsame with production envs23:20
lazyPowerbdx - i'm unsure of how to recommend a better path to you at face value that wouldn't require unwinding temporary/workaround style fixes for this.23:24
lazyPoweryou're looking to gain tenant isolation up and down the stack at every stage right? between units/networking/et-al23:25
bdxlazyPower: yea ... because we have different client's users accessing the machines and services in across apps/app envs23:26
lazyPowerright, and without spaces thats not a juju native primitive. You could achieve something like that by using another means of sdn, and configuring apps nievely to use that sdn  - but its not clean, automated, or easy to rip out once spaces gain the proper support23:27
bdxyea23:27
bdxthanks for your insight23:27
lazyPowertalking non-trivial surgery that woiud likely yield a redeploy23:28
bdxyeah, I mean ... luckily the next production deploy I'm doing is on private infrastructure and I'll be using the manual provider23:29
bdxI won't have to spin up any prod on aws till january I think23:30
bdxehhh nix that23:30
bdxbig aws prod deploy next month23:30
bdxI think I should just use a separate vpc for each production app deploy anyway23:31
bdxhopefully that will siplify things, though I've never tested adding models in vpcs outside of the one I bootstrapped to23:32
bdxsimplify*23:32
bdxon a brighter note, I did get my barbican stack up and publicly accessable on aws23:37
bdxhttp://paste.ubuntu.com/23493006/23:37
bdxit was a bear, and required hacking of the barbican charm in multiple areas23:37
bdx20 deploys later23:38
bdxW000t23:38
rick_hbdx: yea I mean is it worth just using a different regions?23:43
lazyPowerfor the uninitiated like myself: https://wiki.openstack.org/wiki/Barbican23:46
lazyPowerbdx  - interesting, so does this replace your interest in vault or does it augment it?23:46
bdxrick_h: aah, like create my models in different regions?23:47
bdxrick_h: then they would be forced to use subnets in the region?23:47
bdxerrr, then *juju* would be forced to deploy the units to subnets within those regions23:48
bdxand disjoint from the other apps in other subnets in other regions?23:48
rick_hbdx: just thinking out loud of forcing separation from staging and prod23:48
rick_hbdx: using regions might be an approach23:49
bdxthats a great suggestion23:50
bdxrick_h: let me get back to you after I try implementing that23:51
bdxlazyPower: in all reality I'm super comfortable interfaceing to keystone23:52
bdxlazyPower: I was getting stumped around every corner with the intricacies of vault23:53
lazyPowerI felt the same way during my discovery session with it23:54
lazyPowerbut i also thought that was just me being nooby with it, and once we had really flexed it it would become more obvious23:54
bdxthe fact that I have no experience interfacing with vault, combined with the lack of (or any) documentation23:54
bdxposed a huge road block23:55
bdxI spent two weeks learning how to admin and interface to vault .... with 100+ clients, and each client with many users23:55
lazyPoweryeah that sounds like nightmare fuel as a learning curve23:56
bdxI just don't see myself having the bandwidth to facilitate being the admin for it across a hoard of clients/users/apps/envs23:56
bdxkeystone/barbican on the other hand23:57
lazyPowerI'm a big +1 for using the applications you're comfortable with. thats 100% the reason kube-api-loadbalancer is nginx based today. I consciously thought to myself: If i have to go into a customer site and debug this deployment, i know nginx. I barely know haproxy. I can either spend the time learning  that or use what i know and go from there.23:58
bdxexactly23:58
lazyPowerand offtopic, but you're likely to be interested in this too bdx  - https://twitter.com/lazypower/status/79940105130037248023:58
bdxno way!23:59
bdxthats awesome!23:59
lazyPoweryeah man stokachu just wrapped that POC up today23:59
lazyPoweri think its too ealry to say its "supported" as he does in the blog post, but hey, with that hurculean task complete, he can sell it as whatever he wants :D23:59
bdxwow ... theres some people around my company who have been waiting for that so they an start playing with local deploys23:59
bdxhaha23:59

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