=== natefinch-afk is now known as natefinch [00:39] hey guys can anyone here help out with a maas/juju/openstack networking question? [06:54] hi [06:54] I'm working on introducing action support to amulet - should I propose the changes on launchpad or github? [07:58] jose: Pong. [08:38] lazyPower, beisner, coreycb: bug in deployer for git repos [08:39] https://code.launchpad.net/~james-page/juju-deployer/git-cwd/+merge/265365 [09:09] tvansteenburgh, dpb1: any chance one of you could review https://code.launchpad.net/~james-page/juju-deployer/git-cwd/+merge/265365 [09:09] that fixes from challenges I had with git support === lukasa is now known as lukasa_away === frobware is now known as mcd === mcd is now known as frobware === bloodear` is now known as bloodearnest === lukasa_away is now known as lukasa [11:45] jamespage: i'll take a look [12:20] jamespage, ah nice ^ [12:59] tasdomas: On github: https://github.com/juju/amulet [13:31] hi jamespage, please review ... o-c-t: Q-G rename + pxc + wily/liberty prep https://code.launchpad.net/~1chb1n/openstack-charm-testing/liberty-prep/+merge/265106 tia! [13:42] hi gnuoy - not quite ready for final review, but wanted to alert you to some re-working in the openstack-mojo-specs @ https://code.launchpad.net/~1chb1n/openstack-mojo-specs/baremetal-bundle-constrainer/+merge/264558 [13:43] ^ this is what uosci is consuming atm, resolves several issues in automation, a few more yet to iron out [13:43] ack, thanks [13:44] gnuoy, the lint checker just got a lot pickier ;-) needed to ensure that specs are using sane u:os combos. [13:44] ah, tip top [13:44] beisner, +1 lgtm [13:45] jamespage, ty [13:47] jamespage, ok, that's landed [13:47] awesome [15:32] marcoceppi, aisrael, tvansteenburgh: I am loving cloud-benchmarks.org [15:32] arosales: <3 [15:32] arosales: \o/ [15:32] had an idea I wanted to bounce off you guys [15:32] arosales: go for it [15:33] if someone notices a key performance enhancing method is missing from the charm how can we make it clear for them on how to contribute to the charm? [15:33] or they would like to add a benchmark. [15:34] arosales: yeah, we have a little bit of a call to action at the bottom, but we don't make it clear. We do link to the jujudocs on writing a benchmark charm/action though [15:34] arosales: we ahve a follow up blog post which addresses the comments our latest post has been getting, I think in there we'll discuss how contributions work since we're patching the charm in a few ways to iterate on feedback [15:35] arosales: adding it to the about page as well, may not be a bad place at a high level [15:36] About page may be nice for some additional pointers to the docs and how to contribute to charms [15:38] marcoceppi, be nice if on say "http://cloud-benchmarks.org/submissions/6" or "http://cloud-benchmarks.org/services/cassandra" there was a call to action there [15:38] arosales: ack [15:38] * arosales just thinking outloud atm [15:38] wanted to see what folks thought [15:39] arosales: I think it makes sense on the services overview page [15:39] results page as well, but not 100% sure where it'd fit in there [15:39] as we would like to make it super simple for folks to see the benchmarks (done) but also easily contribute code to improve the charms performance [15:39] marcoceppi, may have to live in the submission page and parse out charm URLs [15:40] marcoceppi, something to think about. Specifically if we would like folks to contribute make the UI to do so amazingly easy [15:40] in this case contribute performance tunings back to the charm. . . [15:42] it's a good point [15:42] yeah it would be nice to parse charm urls out of the bundle and link to them at least [15:45] * arosales really like how you got the juju quickstart command right there [15:45] makes it super simple to try [15:46] * arosales was just thinking of try, "branch," tune, submit, share workflow and how that could be modeled for benchmarking [15:46] food for thought [15:46] good ideas arosales, thanks === dames is now known as thedac [16:09] hi,, anyone used juju to deploy docker containers on aws ? [16:12] g3naro: I sure have [16:12] lazyPower: haev you got any ref. guides for this? [16:13] g3naro: are you looking just to spinup the docker based infrastructure and deploy containers to that? or are you looking to deploy your products docker container with juju? [16:13] exactly what im trying to seutp [16:13] you have some options here [16:13] deploy the products (docker container) into aws [16:14] i guess try to see if it makes sense to use juju for that in first place, im not too experience with juju yet either :) [16:15] well, we have a charm that can deploy the docker infrastructure - which takes care of setting up the latest stable docker, configuring the backend storage service (like UFS enablement) - and to deploy container into that theres 2 options. Charm it up as a subordinate and relate to docker, or we can skip the docker charm all together and write a quick bash charm (50 lines or less) to deploy that specific container. [16:16] ohhh interesting [16:17] so does infrastructure include things like elastic beanstalk (aws load-balancing app) [16:17] that sounds very similar use cawse as well [16:17] Juju doesnt' natively integrate with beanstalk, at least not today. [16:17] ahh ok [16:17] so that could be a seperate task [16:18] if you're looking to do load balancing, there's work and charms already written that leverages consul, consul-template, dns, and nginx to do this :) [16:19] ok, nginx probally sounds the way to go [16:19] i had the understanding that the aws ebs with docker does the service registry in one system [16:19] but maybe i just dont understand it well enough [16:19] ELB can work - but unfortunately we dont have a representation of ELB in juju as it stands today [16:20] ahh kk no worries, then [16:20] so what you could do, is deploy with juju, then configure ELB in the AWS control panel to point at those nodes. [16:20] yeah that what i was thinking [16:20] which sounds closer to what you want to achieve [16:22] g3naro: https://github.com/chuckbutler/docker-charm is a good place to start. The readme gives you just enough to drill down and run a deployment [16:22] interesting [16:22] yeah i have deployed that into lxc container actually [16:22] g3naro: the merge for AUFS backend storage is still pending for the charm store unfortunately :( But its available in my namespace and offers an easy upgrade path from there. [16:23] i'm highly surprised if that works. default APPArmor profiles prevent docker from working properly in lxc [16:23] i havent run the app on it [16:23] but it worked on my box just about an hour ago [16:23] impressive, you've done what i've been brain bending around for a couple months now :) [16:23] i can't even get the daemon to come online [16:24] it gets immediately nuked when it requests cgroups resources [16:24] root@g3naro-local-machine-3:~# docker --version [16:24] Docker version 1.0.1, build 990021a [16:24] i used a different charm actually [16:24] ah thats deploying the package from archive [16:24] and just did juju switch local, juju deploy docker [16:24] 1.0.1 is quite old now [16:25] true [16:25] but that's still the same charm. [16:25] juju set docker latest=true version=1.0.7 will upgrade [16:25] i guess you have to add repo and updated it [16:25] ohh [16:26] :) this is why managing docker as an infrastructure component makes sense. You get independent control of docker, where if you're shipping it with a charm you lose some of that, or you're duplicating effort [16:26] ahhh ok,, yeah now i see the point [16:26] if you're following the mailing list, we're working through "juju compose" which will allow you to inheret from the docker charm, and only maintain the hooks that are important to your service - so delivering of that container and making sure its got hte proper env + relations. [16:26] but then what about if application is packaged as docker image [16:27] im not on the list, but i think i would be interested to [16:27] well definately would be intersted to [16:27] so, using the juju compose methodology, you inheret, write a config-changed hook thats specific to your container, add any relations you need if its going to communicate with other services, and generate your charm. As we cycle and update the docker charm you simply regenerate your charm and publish. [16:28] g3naro: i'm going to run for lunch however, if you need additional information feel free to ping. I should be back in about 45 minutes to an hour. [16:28] interestingok cool man, thanks alot [16:28] ill be here [16:29] also my colleague mbruzek has some experience with docker and charming :) so feel free to utilize him as a resource as well [16:29] * mbruzek waves [16:30] wow cool :D [16:30] just fyi, ive only started using juju/lxc/docker <1 month [16:31] but very keen to build this out [16:31] so i think step1 is creating a charm that will create docker inf. in aws [16:32] https://jujucharms.com/u/mattyw/docker/precise/3 [16:32] this is what i had installed actually [16:33] "/alias hidelevels.set set activity_hide_level parts joins quits nicks modes" [16:38] seems a bit too quiet now [16:38] :/ [16:45] still here [16:45] heheh, sorry been rambling a bit [16:45] although your alias came across as text so I don't know how well that would work [16:45] yeah i had to re-send it [16:45] so.. yeah im trying to get my head around this still [16:46] if the application is a docker image [16:47] Juju deploys a charm in AWS or GCE, or where ever. That charm installs docker and configures it for you. Then you can run commands on that unit to start docker containers [16:49] so step 1- deploy the docker inf. [16:49] creating ec2 instances with docker installed [16:50] then deploying application into those boxes [16:50] g3naro: Juju can create an ec2 instance with docker inside it. Just deploy the docker charm. [16:51] Then you can run commands on that unit to start docker containers inside the vm. [16:51] ok, so on the vm you ship the docker image and run it [16:52] g3naro: Juju doesn't ship images, it configures the base image. So a charm installs and configures Docker on that unit. [16:52] ohh [16:52] You could write a charm that installs docker and starts a container with your application [16:52] If you run it in a container. [16:52] yeah that is the step needed then [16:52] charm the application [16:53] But you could start with the base image and just install the application on the VM. [16:53] But it is up to you how you want to organize and architect that [16:53] hmm yeah,, thats what i have to find out,, and fast :) [16:56] g3naro: Well just ask here if you need help. I have to run for lunch too. There are others that can help. Also lazyPower and myself use #system-zoo to discuss container stuff, you are welcome to join us there as well. [16:56] ok cool man! thanks so much [16:57] im trying to get started so would this charm lazy provided before be stuitable to test [16:57] g3naro: #juju is still your best bet for general Juju questions. #system-zoo is a smaller group of container related technology [16:57] yea.. juju is still new for me, and ill have few more by 2morrow :) [16:57] im in UTC time [16:57] We will be here [16:57] nice :) [16:58] hi, I've submitted a PR that adds action support to amulet [16:58] https://github.com/juju/amulet/pull/80 [16:58] There are folks working on Juju from all over the world. I happen to be in CST, but we have an office in London, lots of folks on that timezone [16:58] yeah man, would be great to be part of ubuntu one day ;) [16:58] tasdomas: Thank you for your contribution! tvansteenburgh, or marcoceppi will likely be the ones to review that [16:59] mbruzek, don't thank me yet ;-] [16:59] tasdomas: if you don't get a review let me know and I can take a look as a back up. [16:59] happy to have interest in making our tools better [17:01] Ok I have to get going to lunch [17:01] ez bro [17:01] be back in a few [17:03] tasdomas: thanks for the PR, i'll have a look in a bit [17:08] Odd_Bloke: hey, I had some questions about the ubuntu-repository-cache charm. if you had a min, mind a pm? [17:20] g3naro: hey! Thanks for the contribution, we've left some feedback, though I usually jsut defer to tvansteenburgh [17:21] s/g3naro/tasdomas/ === tvansteenburgh1 is now known as tvansteenburgh [17:24] blehhhhhhh [17:24] * marcoceppi disappears for a while [17:37] g3naro: o/ [17:46] marcoceppi, thanks for the feedback [17:48] tasdomas: thanks for taking a stab at this, overall the implementation looks great, I just had some small comments that are pretty inconsequential [17:49] marcoceppi, I'll try to address the comments shortly - I need the implementation of actions to be able to test my own charm (that uses actions extensively) [17:49] tasdomas: well we're starting ot see a lot of actions show up, so it's pretty perfectly timed [17:52] jose: I'm EOD now, but rcj can probably answer them. [17:52] (Sorry rcj ;) [17:52] lol [17:53] Odd_Bloke, jose: no problem, I can answer questions on that [18:02] tvansteenburgh, ping? [18:12] * arosales got a sack full of k8 shirts [18:12] I made sure to get a few for marcoceppi cause I know he loves himself some docker [18:12] arosales: the winters are long and harsh here ;) [18:15] marcoceppi, :-) you need something to change the midget's oil in === Viperz28_ is now known as Viperz28 === xwwt_ is now known as xwwt [18:58] tasdomas: pong [19:09] tvansteenburgh, marcoceppi - thanks for the reviews, I'll speak to you tomorrow [19:10] tasdomas: sounds good, thanks! [19:34] if I have a service that was deployed and working with juju 1.18.1-0ubuntu1, and now I have juju 1.20.11-0ubuntu0.14.04.1 and it says 'ERROR no such request "NewServiceSetForClientAPI" on Client', what is the best fix? [19:34] lamont: well, that's not supposed to happen [19:35] marcoceppi: I have an existance case to the contrary.. :( [19:36] did you do an upgrade or fresh deploy? [19:37] https://pastebin.canonical.com/135766/ [19:37] which isn't the answer to your question [19:38] deployed with 1.18.1 (maas host, which ahs been up for 6 days) - dist-upgrade yesterday brought in 1.20.11 (backported to trusty), and today, juju set fails to perform [19:38] but the 1.18.1 binary works just fine [19:40] marcoceppi: interestingly, it looks like 1.18 was just ignoring the error and plowing on ahead, based on what the 1.18 binary produced in the machinelog [19:46] in slightly different questions: what do I need to restart to have juju notice that I changed the IP address of the machine? and what side effects should I expect? [19:48] lamont: typically you need to restart the juju-machine agent on the instance, IIRC [19:50] marcoceppi: should have no side effects? [19:51] lamont: well, 1.20 is still pretty "old", so can't say it won't have any side effects, ideally it should recover jsut fine. the agent will go from up to down to up again in status and in that time events will be queued but not dispatched, if a hooks is running it'll likely be marked as an error [20:37] is debug-hooks part of juju-core [20:37] or a plugin? [20:39] i'm fairly certain its a plugin that lives in core. [20:40] but, a core dev might be a better candidate to answer that [20:40] aisrael: i'm wrong its core - https://github.com/juju/juju/blob/596210921f2291010d94682f3fcc3cea71534efe/cmd/juju/commands/debughooks.go [20:41] lazyPower: ack, thanks. To open a bug report or write a patch, decisions decisions. [20:41] * aisrael goes the lazy route [20:41] aisrael: why not both? [20:41] also, i had no idea you hacked in golang [20:42] lazyPower: Maybe after I'm out of the weeds. :/ [20:42] marcoceppi: stop working aisrael so hard [20:42] Very minor hacking in it, but it's piqued my curiosity so I just need a strong enough itch to scratch. [20:43] i just recently picked up the golang bootcamp myself, so i can start learning and helping [20:48] There's already a bug for what I need. Almost two years old. Time to fire up the go machine [21:14] Hey guys. I'm trying to deploy a Maas/Landscape/Opestack instance with 8 machines connected to two networks, but for some reason it seems that all my vm's get spun up, but can't reach out to the internet to configure the meta-data service. Anyone know if this is a bug? [21:31] hi there, is there a workaround for https://bugs.launchpad.net/juju-core/+bug/1464335 [21:31] Bug #1464335: debug-log does not work with local provider [22:02] blr: i usually just tail the log i care about under /var/log/juju* [22:04] tvansteenburgh: yep I'll do that thanks === _thumper_ is now known as thumper