[00:17] Does it make sense to deploy an ubuntu charm?? [00:18] Term1nal: sure [00:20] Could I say............. deploy it to a container? :D [00:20] Or do I just add a container and just do whatever it is I needed in that? [00:21] Want to deploy a VestaCP setup, I suppose I could make it into a charm... [01:49] Term1nal, you can deploy to a container, and we do have an Ubuntu charm [01:50] Term1nal, http://manage.jujucharms.com/charms/trusty/ubuntu [01:51] Term1nal, re deploying to containers https://juju.ubuntu.com/docs/charms-deploying.html#deploying-to-specific-machines-and-containers [01:52] Term1nal, but VestaCP may make a good suborindate charm and should be pretty straight forward [01:53] given this is the install method for VestaCP, http://vestacp.com/#install === axw_ is now known as axw === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [04:33] anyone about who knows about the python-django charm? [04:34] Can I have multiple local juju environments? | http://askubuntu.com/q/470917 [04:43] bradm: i have limited knowledge of it, what would you like to know? === vladk|offline is now known as vladk [05:13] lazyPower: I'm trying to get it to deploy a bzr based project, and its failing on the install hook [05:14] lazyPower: ansible ends up barfing with a "fatal: [localhost] => /etc/ansible/host_vars/localhost: Expecting propert [05:14] y name: line 1 column 2 (char 1)" [05:14] lazyPower: and the task listed is "get mercurial source", which is odd given its a bzr repo [05:14] sounds like it may have interpted the resource incorrectly. Can you file a bug with the output? [05:14] + charm version [05:15] lazyPower: I'm actually writing one up now :) [05:15] thats briliant, thank you! [05:15] Fixing problems, one bug at a time. [05:15] its entirely possible my bzr repo isn't right or something, the docs on it are limited [05:15] but I doubt its causing this issue [05:16] bradm: did you set the vcs config options to bzr? [05:16] lazyPower: indeed I did [05:16] boo, i was hoping for an obvious fix [05:17] lazyPower: my yaml file set vcs to bzr, and repo_url to my bzr branch on lp [05:17] hmm, lp:~user/project/branch? [05:17] lazyPower: yup! [05:17] can you try giving it the bzr+ssh url? [05:17] that may make a difference. [05:17] lazyPower: should there be quotes around the strings? [05:17] wouldn't hurt. [05:18] I've tried both with and without quotes [05:18] yeah, its not required [05:18] I didn't think so, but the examples aren't consistant [05:18] but in the off chance the yaml parser is getting funky during interpretation its best to quote them [05:18] the weird bit is if you look at the ansible playbook, it shouldn't be doing the mercurial task, it shoudl be doing bzr [05:19] which means the variables aren't being set right it seems [05:19] do me a favor and run juju run --service python-django config-get and paste me the output [05:20] scrub any sensitive details first ofcourse. *friendy reminder* [05:20] lazyPower: http://pastebin.ubuntu.com/7504234/ [05:21] lazyPower: I'm learning django, the app I'm deploying is from the django tutorial :) [05:21] right on. Exciting stuff learning new frameworks. [05:21] I just recently got started with flask, and i'm loving it [05:21] the sinatra of the python universe [05:22] oh, interesting, I've heard good things [05:23] I'm a sysadmin though, not a dev, so I pick frameworks to learn most relevant to what I'm doing workwise [05:23] ok i just kicked off a deployment with relevant configs, 1 moment while my environment stabilizes. [05:23] Yeah, i ride that line between dev and ops every day. I'm a developer at heart, op-smith by trade. [05:24] its good to see others picking up the interest in developer <=> ops communication and mindset. [05:24] lazyPower: well, you know I'm from Canonical, right? :) [05:24] Nope, but I do now [05:24] http://i.imgur.com/A85WCCz.png [05:25] oho, I'm using trusty, that's probably a difference [05:25] http://paste.ubuntu.com/7504242/ [05:25] and juju 1.18.3, but I doubt that'll make a huge difference either [05:26] i got a 500 response code, i didn't remote in to see if its the code or a tanked deployment [05:26] but it made it past deployment [05:26] ok, let me redo this with precise and see [05:27] lazyPower: I'm not sure I did the bzr branch right, it wasn't exactly clear what it needed, but thats another thing to debug once I get the install right [05:28] * lazyPower nods [05:28] I'll be around for another couple of minutes. its pretty late here and I should get some sleep [05:28] i'll stick around to see if you hit paydirt though. would be nice to see you unblocked. [05:29] cool, thanks [05:32] just waiting for lxc to catch up to my juju commands now :) [05:37] lazyPower: lxc seems upset at me for some reason, might take a few to fix [05:37] ack. [05:37] if you need anything further closer to 9am EDT I'll be back at it. [05:37] best of luck to you bradm [05:37] lazyPower: thanks heaps for your help, its definately pointed me the right way I think === Ursinha is now known as Ursinha-afk [06:03] lazyPower: huh, I've tried using precise, I've tried using the dev juju version, I still get the same error === Ursinha-afk is now known as Ursinha [06:19] lazyPower: filed LP#1322449 [06:19] <_mup_> Bug #1322449: python-django charm fails to deploy bzr project === CyberJacob|Away is now known as CyberJacob === CyberJacob is now known as CyberJacob|Away [08:27] marcoceppi: I made gnuoy a member of the charmers team - he was until he changed teams in Canonical and he's doing lots of work on charms and charm-helpers [08:27] gnuoy, welcome back! [08:28] jamespage, thanks :-) [09:34] Q: when the upgrade-charm hook is fired, should it have all the relations available ? [09:35] I'm calling the function called when 'relation-changed' is fired from the upgrade-charm and apparently it doesn't see any of the relation that 'relation-changed' sees === vladk is now known as vladk|offline === swebb is now known as zz_swebb [10:19] jamespage: for future reference there's an application process. if gnuoy needs access to stuff to work faster we can build teams to do so [10:19] jamespage: ie, if we need to create a charm-helpers maintainers team, etc [10:19] marcoceppi: oh - the document I read must be wrong then [10:20] marcoceppi: charmers is appropriate - he's working on charms and will be helping with reviews etc.. [10:20] plus he's lots of good history [10:20] jamespage: https://juju.ubuntu.com/docs/reference-reviewers.html#join-us! [10:21] marcoceppi: I actioned under "Upon getting involved with these activities, we'll probably ask you if you'd like to join charmers" [10:21] jamespage: ah, well it's ask to apply, wording is vague there [10:21] marcoceppi: indeed [10:22] * marcoceppi updates docs [10:22] marcoceppi: apologies if I subverted the normal process :-) [10:22] jamespage: no worries! gnuoy gets a +1 for charmer from me so process remains in tact [10:23] marcoceppi: excellent [10:23] marcoceppi, thanks, much appreciated [10:25] gnuoy: I'll send you a welcome email in a bit [10:25] thanks === jelmer_ is now known as jelmer === vladk|offline is now known as vladk === vladk is now known as vladk|offline === vladk|offline is now known as vladk === marlinc_ is now known as marlinc === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === melmoth_ is now known as melmoth [14:15] hello o/ [14:15] did some beer thinking [14:15] about the paas thingy with juju [15:18] sebas5384, aye? [15:22] bodie_: oye = ? [15:23] I was reading the log, and you mentioned you'd done some thinking about juju-paas. :P [15:23] oohh yeah [15:23] hehe [15:23] sorry [15:23] so php, nginx charms, etc... [15:23] can make possible the service scale === zz_swebb is now known as swebb [15:33] sebas5384: go on... [15:34] he named the language that must not be named [15:34] I don't see pearl mentioned anywhere in the recent history... [15:34] * lazyPower hides [15:34] s/pearl/perl [15:36] so we can actually use juju as a paas, using some CD tool [15:37] you'd need a proper deploy target [15:38] I don't think you necessarily want to spin up a new cloud instance for each app, for example [15:38] bodie_: thats not for always [15:38] but for example [15:39] when we make some deploy to production or stage [15:39] the 80% problems are because of some difference between the environments [15:39] and thats clearly a waste [15:40] sebas5384: as was covered yesterday you can use juju to some semblance of a PAAS [15:42] nice lazyPower [15:42] well that wasn't supposed to have been sent yet, stupid itchy enter key [15:42] anywho [15:42] we're getting a proper PAAS in teh coming months with CloudFoundry - its under active dev now. [15:43] so making php charms is not a crazy thing [15:43] Well, depends on how it fits in your over-arching architecture [15:43] There's a long standing todo item to charm up a PHP Framework like Cake, Symphony, Zend, and provide that to the community as well. [15:44] i sow some issues about php-app charm [15:44] so, it stands to reason that building PHP Application charms are completely within the vision and scope of juju [15:45] but it may not offer the same benefits you would get from a PAAS like cloud foundry where you deploy CF, and then allocate app pools within CF and deploy like a madman [15:45] heroku kind of set the bar for that, and PAAS's are all the rage these days === vladk is now known as vladk|offline [15:48] sebas5384: However, if you have an idea about using juju as a paas - i'd love to see it. [15:48] but for me offering paas using juju, is more friendly to a costumer that haves their own datacenter and build every machine from ground up [15:49] lazyPower: great! i'm working on that [15:49] sebas5384: I hear ya. I had the same thought a few months ago and dove head first into learning it. My first thought was "Putting the gui overtop of DO would be pure fire for their business model. They sell more VM's and I get a dead simple management interface for SOA" [15:49] because lets face it, rick_h_'s team has a really awesome face for juju. The GUI gets more people interested in the product than anything else i've ever done to 'sell it' at talks. [15:50] lazyPower: exactly, and the relation thing [15:50] for example [15:50] openshift had already good stuff happening [15:50] but [15:51] doesn't have gui, relation and topology portability that juju brings to the table so well === swebb is now known as zz_swebb [15:51] That's true. [15:52] so for me buildpack = bundle [15:52] and i can have more than one bundle, of the same project [15:53] always talking about app is not reality actually, because in the same project you have more than one app running [15:53] we have project with node and drupal at the same time [15:54] Right. You get into the territory where SOA principals apply. We're running services that utilize messaging to achieve a goal. [15:54] lazyPower: nice [15:54] i would love to see more of that [15:54] sebas5384: you're already seeing that every day [15:55] ooh right, service oriented arch [15:55] yep [15:55] hehe duhh ¬¬ [15:56] I bought into that methodology a long time ago when i started learning the ruby ecosystem. SOA fits really well within those confines. My web apps were speedy and relied heavily on workers and worker farms to do the heavy lifting [15:56] the end user see's a zippy website, while my infrastructure was beaming data bits around to different areas to do different things, such as compute metrics, send emails, etc. None of the heavy lifting was done from the same machine that was presenting the site to the user. [15:56] lazyPower: thats what i want for my projects :) [15:57] lazyPower: congrats! do you have some slides or post talking about that experience? [15:57] MAAS has the same concept using celery and django. Celery is the work horse while django gives you the UX. TO the user it doesn't matter whats happening under the hood so long as its fast, and easy to use. [15:58] exactly [15:58] Just the slides I linked you already for my juju talk. My last job didn't allow me to talk about our tech much. I was under some pretty deep contracts. [15:58] hmmm kreepy [15:58] oh! i'm going to lunch over here :) [15:58] * lazyPower shrugs [15:59] marketing [15:59] o/ have a good lunch sebas5384. Catch you 'round [15:59] alwayssss [15:59] hehe [15:59] lazyPower: thanks! later :D === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === vladk|offline is now known as vladk === CyberJacob|Away is now known as CyberJacob === vladk is now known as vladk|offline === Ursinha is now known as Ursinha-afk [18:49] sshuttle just is making my mac kernel panic hehe [18:52] juj status can no lookup nodes by name | http://askubuntu.com/q/471224 === Ursinha-afk is now known as Ursinha [19:04] kernel panic again!! wtf! hehe [21:30] Charm Creation General question | http://askubuntu.com/q/471276 === Ursinha is now known as Ursinha-afk === CyberJacob is now known as CyberJacob|Away