[04:07] <ubabu> Hi all, Is juju charms only for containers (means while deploying charm it is creating a container for that charm)
[04:07] <ubabu> can we deploy our charm directly on a VM or Server?
[04:12] <blahdeblah> ubabu: You can definitely deploy charms in VMs & bare metal servers
[04:13] <blahdeblah> ubabu: (and containers)
[04:15] <ubabu> blahdeblah: colud you please provide some refernce links about deploying charms on VMS & bare metal servers
[04:16] <blahdeblah> ubabu: https://jujucharms.com/docs/stable/clouds-maas <-- bare metal
[04:16] <blahdeblah> https://jujucharms.com/docs/stable/help-openstack or https://jujucharms.com/docs/stable/clouds-manual for VMs
[04:17] <blahdeblah> ubabu: Also https://jujucharms.com/docs/stable/getting-started is pretty good
[06:19] <ubabu> Hi all, how juju is getting OS images for containers?
[08:07] <BlackDex> ubabu: That is taken care of by lxd/lxc :)
[15:25] <lazyPower> mornin juju o/
[15:28] <Spaulding> hm, how i can achieve that kind of scenario that only leader will fill the DB with init file? is there any decorator that I can use?
[15:29] <Spaulding> or any condition?
[15:29] <Spaulding> or @only_once will do the job?
[15:31] <lazyPower> Spaulding if you're using layer-leadership theres an @when('is-leader') state
[15:32] <lazyPower> mind you i have zero context to what you're attempting to do, i only see the last 3 messages
[15:39] <Spaulding> lazyPower: it's still a good tip!
[15:40] <Spaulding> i'll definitely check that
[15:40] <Spaulding> wow, it looks like what i needed!
[15:41] <Spaulding> thx lazyPower
[15:41] <lazyPower> np Spaulding happy to help
[16:12] <cory_fu> tvansteenburgh: Would you mind rebasing your local charm branch to get the get_cloud?  I need that to test it in our workflow
[16:25] <tvansteenburgh> cory_fu: yeah one sec
[16:27] <tvansteenburgh> cory_fu: done
[16:27] <cory_fu> tvansteenburgh: Thanks!
[16:29] <tvansteenburgh> cory_fu: i have one more small change to make and then i'll put up a PR for that branch
[16:29] <cory_fu> Awesome
[16:38] <jcastro> lazyPower: I'm fixing the readme that bmullan pointed out on the list, you'll have a PR soon.
[16:38] <jcastro> for the kube-core bundle
[16:38] <lazyPower> jcastro thanks!
[16:38] <lazyPower> jcastro there was a few i landed in the last day i put on cdk, that i managed to not put in kube-core
[16:38] <lazyPower> can i link you at those and collab push those in the same swoop?
[16:39] <jcastro> sure
[16:41] <jcastro> lazyPower: after we land in the upstream docs
[16:41] <jcastro> I want to trim these pages down considerably
[16:42] <jcastro> I don't want to have to update 3 READMEs
[16:42] <jcastro> https://github.com/juju-solutions/bundle-kubernetes-core/pull/47
[16:43] <lazyPower> Merged
[16:43] <lazyPower> jcastro https://github.com/juju-solutions/bundle-canonical-kubernetes/pull/170/files -- did you see this one sneak by on CDK?
[16:44] <jcastro> that seems fine to me
[16:50] <stokachu> jcastro, small comment on that PR
[16:52] <jcastro> on it
[16:53] <jcastro> https://github.com/juju-solutions/bundle-kubernetes-core/pull/48
[16:54] <stokachu> jcastro, \o/
[16:54] <jcastro> hmm, I wanted to tell him about updated CDK on the thread as well
[16:56] <jcastro> stokachu: next week I'm going to do a new video for conjure-up/LXD
[16:56] <jcastro> to replace the one we have now
[16:56] <stokachu> jcastro, pimp
[16:56] <jcastro> stokachu: think we can nail that ipv6/juju issue by then?
[16:57] <stokachu> jcastro, yea so I updated conjure-up code already to add that Note in there about ipv6
[16:57] <stokachu> its already in the ppa
[16:57] <jcastro> oh awesome
[16:57] <stokachu> and i also handle if the user is not in the LXD group
[16:58] <stokachu> i wanted to try and see about getting deis working with a conjure-up deployment, having some issues though
[16:58] <jcastro> I have a plan for approaching deis
[16:58] <jcastro> now that we spent a bunch of time with that deis guy yesterday at the sig ops meeting
[16:59] <stokachu> nice, yea if you are able to manually get it working I can wrap that all up in the spell
[16:59] <jcastro> I more want them to help for real, like a proper charm with integration
[16:59] <jcastro> but I want to go with them with "this is a little hack we did, but we could be so awesome"
[16:59] <stokachu> yea that would be nice
[17:00] <stokachu> yep agreed
[17:00] <stokachu> would be cool if on their website they just did 'conjure-up deis'
[17:00] <stokachu> :D
[17:01] <jcastro> too small
[17:02] <stokachu> aww
[17:02] <jcastro> "Using Canonical Kubernetes? You have it."
[17:02] <jcastro> click here to pay us.
[17:02] <stokachu> ah i see what you did there
[17:04] <lazyPower> thats slick
[17:04] <lazyPower> i like it :)
[17:05] <jcastro> come on google, my stuff is passing, merge me
[17:05] <jcastro> so _close_, then we won't have to have the docs spread out everywhere
[18:47] <petevg> cory_fu: whenever you get a chance: https://github.com/juju-solutions/matrix/pull/67
[18:49] <cory_fu> petevg: Looks good at first glance, but should we move the full_stack test to follow that pattern?  Or do we want to keep it where it is for code coverage?
[18:50] <petevg> cory_fu: leave it where it is for code coverage, I think.
[18:50] <cory_fu> Cool
[18:54] <cory_fu> petevg: In exchange: https://github.com/juju-solutions/matrix/pull/68
[18:57] <petevg> cory_fu: looks good. merged.
[18:59] <cory_fu> petevg: Cool.  The functional test stuff looks good, too.  I'm running them now.  About how long do they take?
[19:00] <petevg> cory_fu: they should take about as long as the full stack test -- the gating tests all skip actually deploying things.
[19:04] <petevg> cory_fu: it is spitting the matrix log to stdout, but I don't know how to make py.test/tox verbose enough to output it. You can tail /tmp/<hash>/matrix.log if you get impatient :-)
[19:15] <cory_fu> petevg: It finished.  Merged.  Thanks
[19:16] <petevg> cory_fu: awesome. Thx :-)
[20:38] <kwmonroe> cory_fu, i just noticed that nothing checks if cwr was successful -- it always pushes if push-to-channel was specified: https://github.com/juju-solutions/layer-cwr/blob/master/templates/BuildMyCharm/config.xml#L104
[20:39] <kwmonroe> shouldn't we only push on a successful cwr run?
[20:39] <cory_fu> kwmonroe: Correct
[20:40] <cory_fu> kwmonroe: Though, I think the job is set up to fail fast (set -e) so it shouldn't actually get to that part of the code if cwr sets its return value properly
[20:44] <kwmonroe> cory_fu: it seems cwr doesn't think bundletester failures are fatal:  (line 82): http://paste.ubuntu.com/23754237/
[20:44] <cory_fu> kwmonroe: Yeah, that's why there's a high priority card on the board for that
[20:46] <magicaltrout> sod matrix, don't test for failure, just assume it all works \o/
[20:46] <cory_fu> :)
[20:46] <cory_fu> "With one simple change, we have made it to 100% passing tests"
[20:46] <magicaltrout> woop
[20:46] <magicaltrout> i assume you two are coming to gent?
[20:49] <magicaltrout> bdx: you coming to gent this year to get off your face?
[20:49] <magicaltrout> sorry i mean, talk about monitoring
[20:49] <kwmonroe> magicaltrout: i think it's just petevg and kjackal from the big team going.  it'll be too cold for cory_fu and myself.
[20:49] <magicaltrout> loosers
[20:49] <magicaltrout> fair enough
[20:49] <magicaltrout> petevg's easier to wind up than cory_fu so thats acceptable
[20:49] <cory_fu> lol
[20:50] <magicaltrout> fscking kjackal and he's endless talking about cars... might have to bring earplugs
[20:51] <magicaltrout> well cory_fu you have no excuse to not do apachecon this year
[20:51] <magicaltrout> well... unless mark doesn't want to pay your expenses which will be basically nothing
[20:52] <kwmonroe> it's in miami in may, right magicaltrout?
[20:52] <magicaltrout> correct
[20:52] <magicaltrout> 18th i think
[20:52] <kwmonroe> i'm there.  just have the pesky task of getting a talk accepted.
[20:53] <magicaltrout> aye, i need to submit some shit
[20:53] <kwmonroe> ... i suppose i should check the cfp closing
[20:53] <magicaltrout> see if they go for it
[20:53] <magicaltrout> feb the something for the CFP
[20:53] <magicaltrout> you've got a few weeks
[20:53] <kwmonroe> phew - feb 11 deadline.
[20:53] <kwmonroe> yup
[20:53] <cory_fu> Ugh.  But Miami
[20:53] <kwmonroe> will smith says it's a nice place
[20:53] <cory_fu> I lived there for a year, and that was one year too many
[20:53] <magicaltrout> yeah never been.  I believe most people in seville shrugged and sighed
[20:54] <cory_fu> It's probably great for visiting
[20:54] <magicaltrout> well we only ever see a hotel and 1 block each side
[20:54] <cory_fu> As long as you want to spend a whole lot of money
[20:54] <magicaltrout> i think i'm safe
[20:55] <magicaltrout> i've been told JPL are planning a whole science track, dunno how likely that is to happen, but hopefully i'll get some apache - science - juju stuff accepted with this sparkler charm and some other bits
[20:58] <magicaltrout> "Tracking down the crims on the dark web with Juju"
[20:58] <magicaltrout> and get kwmonroe to say that in his british accent
[20:58] <magicaltrout> it'll go down a treat
[21:03] <kwmonroe> 2 right!
[22:04] <spaok_> hello
[22:04] <spaok_> if I have an issue with OpenStack deployed via juju and cloud-init/neurton, what team is my best bet to talk to?
[22:07] <kwmonroe> spaok: your best bet is probably to ask in #openstack-charms
[22:08] <spaok> thanks kwmonroe I'll try there
[22:09] <magicaltrout> thats right kwmonroe you just pass the buck!
[22:13] <vmorris> ><
[22:14] <spaok> heh, well kwmonroe is in that channel also :)
[22:14] <magicaltrout> i wouldn't bother asking him... he'll tell you to use Hadoop
[22:15] <spaok> btw, anyone know what jujud's tipping point is for the number of nodes reporting in to it?
[22:15] <spaok> we seem to have killed ours
[22:15] <magicaltrout> nope, but i believe you can change the default controller size if its really load that kills it
[22:21] <spaok> magicaltrout: we have an open issue with canonical about it, but was just curious
[22:23] <spaok> we've bumped the resources for the VM to like 64 cores and 128GB mem and juju can still take 10 min to respond to a status
[22:23] <kwmonroe> magicaltrout: :)  i clearly didn't /part #openstack-charms fast enough
[22:23] <kwmonroe> spaok: what juju version?
[22:23] <kwmonroe> and how long has the controller been up?
[22:23] <spaok> 2.0.0-xenial-amd64
[22:24] <spaok> 13 days
[22:24] <spaok> we usually endup rebooting it, waiting 5min or so for it to settle and it responds for a bit
[22:25] <spaok> 51092 root      20   0 40.449g 2.695g  48732 S 252.5  2.1  37318:27 jujud
[22:25] <spaok> considering how many cores there are, 252% isn't too bad
[22:25] <spaok> but on reboots it will max all the cores
[22:25] <kwmonroe> spaok: i had trouble with an azure controller that would become unusable after a couple weeks (https://bugs.launchpad.net/juju/+bug/1636634).  i upgraded to 2.1-beta and it's been smooth sailing for the last 3 weeks (fingers still crossed).
[22:25] <mup> Bug #1636634: azure controller becomes unusable after a few days <juju:Fix Released by alexis-bruemmer> <https://launchpad.net/bugs/1636634>
[22:25] <spaok> jujud is very core hungry
[22:26] <kwmonroe> so 2.1-beta3 works for me, but i think 2.0.x had some mem improvements (according to comment 5 in the above bug).  maybe worth an upgrade to 2.0.2 if you can.
[22:27] <spaok> ya, I have 2.0.2 in my other environment
[22:27] <spaok> the one with the neutron issues
[22:27] <kwmonroe> does that one fair (fare?) any better?  also, which word is correct in <-- that context?
[22:27] <spaok> well different scale
[22:28] <spaok> only has a 50 or so servers, the one with the issue recently had 500 servers added to two different models
[22:29] <magicaltrout> kwmonroe: Yogi bear 'as many different meanings as an adjective, adverb, and a noan. it most commonly means just and unbiased, pleasin', crystal, and Billie Jean, or a public exhibition event. Grey Mare can be used verb and a noan. as a verb, it means ter Scapa Fla, get along, or succeed.
[22:30] <magicaltrout> or
[22:30] <magicaltrout> Fair has many different meanings as an adjective, adverb, and a noun. It most commonly means just and unbiased, pleasing, clear, and clean, or a public exhibition event. Fare can be used verb and a noun. As a verb, it means to go, get along, or succeed. if you don't understand
[22:30] <spaok> hah
[22:31] <spaok> where did the yogi bear come from?
[22:31] <magicaltrout> Fair == Yogi bear
[22:31] <kwmonroe> excellent.  i fare well now.
[22:31] <magicaltrout> in cockney
[22:31] <spaok> oh
[22:31] <spaok> hah
[22:31] <spaok> I'm like wtf
[22:32] <magicaltrout> me too and i'm only 100 miles from london
[22:32] <magicaltrout> but when i get bored I like to annoy kwmonroe
[22:32] <spaok> I'm in California, so yogi bear is a cartoon to me
[22:32] <kwmonroe> you are bored a lot
[22:32] <magicaltrout> http://www.whoohoo.co.uk/main.asp mostly by translating stuff on this website
[22:32] <magicaltrout> kwmonroe: i work in IT... its acceptable
[22:32] <kwmonroe> i think you mean exceptable
[22:33] <magicaltrout> plus i work from like 9am to 12+ most days, so my down time is normally annoying you
[22:33] <magicaltrout> or petevg if i'm feeling nice
[22:33] <petevg> I'm touched that you care.
[22:33] <magicaltrout> lol
[22:34] <magicaltrout> sooo petevg you're coming to gent?
[22:34] <petevg> ayup. Got the flight booked and everything.
[22:34] <magicaltrout> blimey, ive not even looked at the train yet
[22:35]  * kwmonroe jots down 'blimey' for my accent antics
[22:35] <petevg> I'm bringing the family along, so I had to do more logistics.
[22:35] <magicaltrout> jesus petevg what did i tell you about bringing family along to drinking events....?
[22:35] <magicaltrout> sorry i mean work
[22:35] <petevg> Heh.
[22:35] <magicaltrout> anyway, same applies
[22:35] <magicaltrout> is it punishment for not buying the cigs in the duty free?
[22:36] <petevg> They know that I may be scarce for a couple of days.
[22:36] <petevg> Something like that. :-p
[22:36] <magicaltrout> lol
[22:36] <magicaltrout> or so the others can buy kinder egss.... legally!
[22:36] <magicaltrout> \o/
[22:36] <petevg> Exactly. :-)
[22:37] <magicaltrout> make sure you know theh heimlich maneuver
[22:37] <petevg> I think that the kidlet will manage not to eat the toy ...
[22:38] <petevg> We'll brush up just in case.
[22:38] <magicaltrout> *face palm* famous last words
[22:38] <petevg> :-p
[22:45] <kwmonroe> cory_fu: it just dawned on me that we're having bash shell out to cat a function that is then executed by python3... in the middle of a bash command hidden in a jenkins job xml.  this is like, awesome.  https://github.com/juju-solutions/layer-cwr/blob/master/templates/BuildMyCharm/config.xml#L96
[22:45] <cory_fu> kwmonroe: Awesomely terrible, yeah.
[22:46] <kwmonroe> whatever.  the only good python3 is the python3 nested in bash.  amirite magicaltrout?!?
[22:46] <cory_fu> kwmonroe: That would also be good to break out into a script.  Those jobs really need to be broken up so that the XML just contains the info specific to the job and then calls out to the common code
[22:46] <magicaltrout> that is the best python3
[22:46] <magicaltrout> simply the best..... better than all the rest.... better than....
[22:47] <kwmonroe> go
[22:47] <magicaltrout> aye
[22:47] <magicaltrout> rust
[22:47] <magicaltrout> dart \o/
[22:47] <magicaltrout> everything should be written in dart
[23:04] <cory_fu> kwmonroe: Quick PR for you: https://github.com/juju-solutions/layer-cwr/pull/29
[23:05] <kwmonroe> gotta wait on travis
[23:05] <cory_fu> kwmonroe: Travis doesn't run on the charm
[23:05] <kwmonroe> then we're gonna be waiting a while
[23:05] <cory_fu> lol
[23:07] <kwmonroe> hey!  that's nice.  that would have caught a jclient.create_job that bit me earlier.  merged