/srv/irclogs.ubuntu.com/2014/05/23/#juju.txt

Term1nalDoes it make sense to deploy an ubuntu charm??00:17
davecheneyTerm1nal: sure00:18
Term1nalCould I say............. deploy it to a container? :D00:20
Term1nalOr do I just add a container and just do whatever it is I needed in that?00:20
Term1nalWant to deploy a VestaCP setup, I suppose I could make it into a charm...00:21
arosalesTerm1nal, you can deploy to a container, and we do have an Ubuntu charm01:49
arosalesTerm1nal, http://manage.jujucharms.com/charms/trusty/ubuntu01:50
arosalesTerm1nal, re deploying to containers https://juju.ubuntu.com/docs/charms-deploying.html#deploying-to-specific-machines-and-containers01:51
arosalesTerm1nal, but VestaCP may make a good suborindate charm and should be pretty straight forward01:52
arosalesgiven this is the install method for VestaCP, http://vestacp.com/#install01:53
=== axw_ is now known as axw
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
bradmanyone about who knows about the python-django charm?04:33
AskUbuntuCan I have multiple local juju environments? | http://askubuntu.com/q/47091704:34
lazyPowerbradm: i have limited knowledge of it, what would you like to know?04:43
=== vladk|offline is now known as vladk
bradmlazyPower: I'm trying to get it to deploy a bzr based project, and its failing on the install hook05:13
bradmlazyPower: ansible ends up barfing with a "fatal: [localhost] => /etc/ansible/host_vars/localhost: Expecting propert05:14
bradmy name: line 1 column 2 (char 1)"05:14
bradmlazyPower: and the task listed is "get mercurial source", which is odd given its a bzr repo05:14
lazyPowersounds like it may have interpted the resource incorrectly. Can you file a bug with the output?05:14
lazyPower+ charm version05:14
bradmlazyPower: I'm actually writing one up now :)05:15
lazyPowerthats briliant, thank you!05:15
lazyPowerFixing problems, one bug at a time.05:15
bradmits entirely possible my bzr repo isn't right or something, the docs on it are limited05:15
bradmbut I doubt its causing this issue05:15
lazyPowerbradm: did you set the vcs config options to bzr?05:16
bradmlazyPower: indeed I did05:16
lazyPowerboo, i was hoping for an obvious fix05:16
bradmlazyPower: my yaml file set vcs to bzr, and repo_url to my bzr branch on lp05:17
lazyPowerhmm, lp:~user/project/branch?05:17
bradmlazyPower: yup!05:17
lazyPowercan you try giving it the bzr+ssh url?05:17
lazyPowerthat may make a difference.05:17
bradmlazyPower: should there be quotes around the strings?05:17
lazyPowerwouldn't hurt.05:17
bradmI've tried both with and without quotes05:18
lazyPoweryeah, its not required05:18
bradmI didn't think so, but the examples aren't consistant05:18
lazyPowerbut in the off chance the yaml parser is getting funky during interpretation its best to quote them05:18
bradmthe weird bit is if you look at the ansible playbook, it shouldn't be doing the mercurial task, it shoudl be doing bzr05:18
bradmwhich means the variables aren't being set right it seems05:19
lazyPowerdo me a favor and run juju run --service python-django config-get and paste me the output05:19
lazyPowerscrub any sensitive details first ofcourse. *friendy reminder*05:20
bradmlazyPower: http://pastebin.ubuntu.com/7504234/05:20
bradmlazyPower: I'm learning django, the app I'm deploying is from the django tutorial :)05:21
lazyPowerright on. Exciting stuff learning new frameworks.05:21
lazyPowerI just recently got started with flask, and i'm loving it05:21
lazyPowerthe sinatra of the python universe05:21
bradmoh, interesting, I've heard good things05:22
bradmI'm a sysadmin though, not a dev, so I pick frameworks to learn most relevant to what I'm doing workwise05:23
lazyPowerok i just kicked off a deployment with relevant configs, 1 moment while my environment stabilizes.05:23
lazyPowerYeah, i ride that line between dev and ops every day. I'm a developer at heart, op-smith by trade.05:23
lazyPowerits good to see others picking up the interest in developer <=> ops communication and mindset.05:24
bradmlazyPower: well, you know I'm from Canonical, right? :)05:24
lazyPowerNope, but I do now05:24
lazyPowerhttp://i.imgur.com/A85WCCz.png05:24
bradmoho, I'm using trusty, that's probably a difference05:25
lazyPowerhttp://paste.ubuntu.com/7504242/05:25
bradmand juju 1.18.3, but I doubt that'll make a huge difference either05:25
lazyPoweri got a 500 response code, i didn't remote in to see if its the code or a tanked deployment05:26
lazyPowerbut it made it past deployment05:26
bradmok, let me redo this with precise and see05:26
bradmlazyPower: 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 right05:27
* lazyPower nods05:28
lazyPowerI'll be around for another couple of minutes. its pretty late here and I should get some sleep05:28
lazyPoweri'll stick around to see if you hit paydirt though. would be nice to see you unblocked.05:28
bradmcool, thanks05:29
bradmjust waiting for lxc to catch up to my juju commands now :)05:32
bradmlazyPower: lxc seems upset at me for some reason, might take a few to fix05:37
lazyPowerack.05:37
lazyPowerif you need anything further closer to 9am EDT I'll be back at it.05:37
lazyPowerbest of luck to you bradm05:37
bradmlazyPower: thanks heaps for your help, its definately pointed me the right way I think05:37
=== Ursinha is now known as Ursinha-afk
bradmlazyPower: huh, I've tried using precise, I've tried using the dev juju version, I still get the same error06:03
=== Ursinha-afk is now known as Ursinha
bradmlazyPower: filed LP#132244906:19
_mup_Bug #1322449: python-django charm fails to deploy bzr project <python-django (Juju Charms Collection):New> <https://launchpad.net/bugs/1322449>06:19
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jamespagemarcoceppi: 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-helpers08:27
jamespagegnuoy, welcome back!08:27
gnuoyjamespage, thanks :-)08:28
caribouQ: when the upgrade-charm hook is fired, should it have all the relations available ?09:34
caribouI'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' sees09:35
=== vladk is now known as vladk|offline
=== swebb is now known as zz_swebb
marcoceppijamespage: for future reference there's an application process. if gnuoy needs  access to stuff to work faster we can build teams to do so10:19
marcoceppijamespage: ie, if we need to create a charm-helpers maintainers team, etc10:19
jamespagemarcoceppi: oh - the document I read must be wrong then10:19
jamespagemarcoceppi: charmers is appropriate - he's working on charms and will be helping with reviews etc..10:20
jamespageplus he's lots of good history10:20
marcoceppijamespage: https://juju.ubuntu.com/docs/reference-reviewers.html#join-us!10:20
jamespagemarcoceppi: I actioned under "Upon getting involved with these activities, we'll probably ask you if you'd like to join charmers"10:21
marcoceppijamespage: ah, well it's ask to apply, wording is vague there10:21
jamespagemarcoceppi: indeed10:21
* marcoceppi updates docs10:22
jamespagemarcoceppi: apologies if I subverted the normal process :-)10:22
marcoceppijamespage: no worries! gnuoy gets a +1 for charmer from me so process remains in tact10:22
jamespagemarcoceppi: excellent10:23
gnuoymarcoceppi, thanks, much appreciated10:23
marcoceppignuoy: I'll send you a welcome email in a bit10:25
gnuoythanks10:25
=== 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
sebas5384hello o/14:15
sebas5384did some beer thinking14:15
sebas5384about the paas thingy with juju14:15
bodie_sebas5384, aye?15:18
sebas5384bodie_: oye = ?15:22
bodie_I was reading the log, and you mentioned you'd done some thinking about juju-paas.  :P15:23
sebas5384oohh yeah15:23
sebas5384hehe15:23
sebas5384sorry15:23
sebas5384so php, nginx charms, etc...15:23
sebas5384can make possible the service scale15:23
=== zz_swebb is now known as swebb
lazyPowersebas5384: go on...15:33
bodie_he named the language that must not be named15:34
lazyPowerI don't see pearl mentioned anywhere in the recent history...15:34
* lazyPower hides15:34
lazyPowers/pearl/perl15:34
sebas5384so we can actually use juju as a paas, using some CD tool15:36
bodie_you'd need a proper deploy target15:37
bodie_I don't think you necessarily want to spin up a new cloud instance for each app, for example15:38
sebas5384bodie_: thats not for always15:38
sebas5384but for example15:38
sebas5384when we make some deploy to production or stage15:39
sebas5384the 80% problems are because of some difference between the environments15:39
sebas5384and thats clearly a waste15:39
lazyPowersebas5384: as was covered yesterday you can use juju to some semblance of a PAAS15:40
sebas5384nice lazyPower15:42
lazyPowerwell that wasn't supposed to have been sent yet, stupid itchy enter key15:42
lazyPoweranywho15:42
lazyPowerwe're getting a proper PAAS in teh coming months with CloudFoundry - its under active dev now.15:42
sebas5384so making php charms is not a crazy thing15:43
lazyPowerWell, depends on how it fits in your over-arching architecture15:43
lazyPowerThere'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:43
sebas5384i sow some issues about php-app charm15:44
lazyPowerso, it stands to reason that building PHP Application charms are completely within the vision and scope of juju15:44
lazyPowerbut 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 madman15:45
lazyPowerheroku kind of set the bar for that, and PAAS's are all the rage these days15:45
=== vladk is now known as vladk|offline
lazyPowersebas5384: However, if you have an idea about using juju as a paas - i'd love to see it.15:48
sebas5384but for me offering paas using juju, is more friendly to a costumer that haves their own datacenter and build every machine from ground up15:48
sebas5384lazyPower: great! i'm working on that15:49
lazyPowersebas5384: 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
lazyPowerbecause 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:49
sebas5384lazyPower: exactly, and the relation thing15:50
sebas5384for example15:50
sebas5384openshift had already good stuff happening15:50
sebas5384but15:50
sebas5384doesn't have gui, relation and topology portability that juju brings to the table so well15:51
=== swebb is now known as zz_swebb
lazyPowerThat's true.15:51
sebas5384so for me buildpack = bundle15:52
sebas5384and i can have more than one bundle, of the same project15:52
sebas5384always talking about app is not reality actually, because in the same project you have more than one app running15:53
sebas5384we have project with node and drupal at the same time15:53
lazyPowerRight. You get into the territory where SOA principals apply. We're running services that utilize messaging to achieve a goal.15:54
sebas5384lazyPower: nice15:54
sebas5384i would love to see more of that15:54
lazyPowersebas5384: you're already seeing that every day15:54
sebas5384ooh right, service oriented arch15:55
lazyPoweryep15:55
sebas5384hehe duhh ¬¬15:55
lazyPowerI 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 lifting15:56
lazyPowerthe 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
sebas5384lazyPower: thats what i want for my projects :)15:56
sebas5384lazyPower: congrats! do you have some slides or post talking about that experience?15:57
lazyPowerMAAS 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:57
sebas5384exactly15:58
lazyPowerJust 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
sebas5384hmmm kreepy15:58
sebas5384oh! i'm going to lunch over here :)15:58
* lazyPower shrugs15:58
lazyPowermarketing15:59
lazyPowero/ have a good lunch sebas5384. Catch you 'round15:59
sebas5384alwayssss15:59
sebas5384hehe15:59
sebas5384lazyPower: thanks! later :D15:59
=== 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
sebas5384sshuttle just is making my mac kernel panic hehe18:49
AskUbuntujuj status can no lookup nodes by name | http://askubuntu.com/q/47122418:52
=== Ursinha-afk is now known as Ursinha
sebas538_kernel panic again!! wtf! hehe19:04
AskUbuntuCharm Creation General question | http://askubuntu.com/q/47127621:30
=== Ursinha is now known as Ursinha-afk
=== CyberJacob is now known as CyberJacob|Away

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