UbuntuIRC / 2012 /03 /26 /#juju.txt
niansa
Initial commit
4aa5fce
[00:24] <imbrandon> AHHHHHHH
[00:24] <imbrandon> marcoceppi jcastro SpamapS , it has finally clicked
[00:25] <imbrandon> wow, i went about this totally wrong ( IMHO not really, still gonna be a great )
[00:25] <SpamapS> imbrandon: yes.. Tyler Durdon *doesn't exist*.. well done ;)
[00:25] <imbrandon> so its too late to shift gears for the charm i got for the contest, like i said its gonna be good but
[00:25] <imbrandon> still
[00:25] <imbrandon> lol
[00:25] <imbrandon> SpamapS: hahah
[00:26] <imbrandon> SpamapS: yea, some reason and i dunno why it did not click before now
[00:26] <imbrandon> but i've been looking at juju as a gimped replacemtnt to my processes i'm used to
[00:26] <imbrandon> and its not
[00:27] <imbrandon> its the glue to bring them all in as one, not replace them
[00:27] <imbrandon> and THAT just clicked
[00:27] <SpamapS> imbrandon: *ding ding* :)
[00:27] <imbrandon> yea i've been like totally doing this wrong in my head
[00:27] <imbrandon> lol
[00:27] <SpamapS> imbrandon: I think thats in large part our fault, because we haven't written more charms using existing config management.
[00:28] <imbrandon> i was sitting head watching a old hangout with jono and sabdfl
[00:28] <imbrandon> and it just hit me when he said somehting
[00:28] <imbrandon> yea
[00:28] <imbrandon> it seems like they are all kinda reinventing the wheel
[00:28] <imbrandon> so it kinda feels that way
[00:28] <imbrandon> but no i mean i kinda came in the stuff heaqd first too and bass ackwards
[00:29] <imbrandon> to be honest untill OMG burned down and i got with jorge on that for the first time in 2 years , i had be steering away from juju as a fad
[00:29] <imbrandon> so its my faiult too
[00:29] <imbrandon> :)
[00:30] <imbrandon> my marcoceppi and you proved it was worth looking into imho, not that you had to nor was even trying i bet
[00:30] <imbrandon> but you konw
[00:30] <imbrandon> anyhow i feel like shit tons better now
[00:31] <imbrandon> i like had this guilt on WTF am i doing this stuff over, and over
[00:31] <imbrandon> like it aws a not invented here syndrome
[00:31] <imbrandon> but its now
[00:31] <imbrandon> not*
[00:31] <imbrandon> its just marketed wrong to the old timers :)
[00:32] <imbrandon> ok back to your regualrly scheduled shows, i'll probably have alot more relevant questions form here on i hope
[00:32] <imbrandon> lol
[00:33] <imbrandon> wow and i REALLY need to give in and get a new keyboard tomarrow
[00:33] <imbrandon> this typo shit ios for the birds
[00:34] <imbrandon> oops /sorry ubotu if your looking ( and anyone else, slip-up )
[00:35] <imbrandon> SpamapS: i ahvent quite figured out how to NOT deploy to aws yet though, whats the quick and dirty to deploy local, or got a doc page , scanned the wiki but not long
[00:35] <imbrandon> like i got it working going to a aws now, etc :) kinda working backwards
[00:36] <imbrandon> lol
[00:36] <SpamapS> imbrandon: https://juju.ubuntu.com/docs/provider-configuration-local.html
[00:36] <imbrandon> rockin , ty
[00:37] <imbrandon> enjoy the weekend ? i think i spent mine infront of a console ( not that i havent done that 1000000000 times over the years , goes with the teratory hehe )
[00:37] <SpamapS> Its pouring outside
[00:37] <SpamapS> cold
[00:37] <imbrandon> ouch
[00:37] <SpamapS> console is keeping me warm :)
[00:37] <imbrandon> what part of the globe ?
[00:37] <SpamapS> LA
[00:37] <imbrandon> ahhh
[00:37] <SpamapS> as in, Los Angeles
[00:38] <imbrandon> right right
[00:38] <imbrandon> i assumed
[00:38] <SpamapS> its one of our 9 rainy days a year
[00:38] <imbrandon> LOL
[00:38] <imbrandon> yellow rain ?
[00:38] <SpamapS> wife hates it because now I have an excuse to sit on my ass and play with code :)
[00:38] <imbrandon> LOL
[00:39] <imbrandon> when i was married *shhh not divorcded due to any of the geek stuff* hehe anyhow we had a deal, like before dinner was my geek time
[00:39] <imbrandon> after was our time ;)
[00:39] <imbrandon> no matter what day of the week
[00:39] <imbrandon> so it worked out pretty well
[00:40] <SpamapS> yeah thats mostly how it works here too
[00:41] <imbrandon> and thankfully , i;ve been fortunate enough to been high enough on the food chain not to pull pager duty since i was marrie ( and after )
[00:41] <SpamapS> I kind of miss some aspects of pager duty
[00:41] <imbrandon> except for the rare occasion where the world really does blow up
[00:42] <imbrandon> yea i like some things about it, esp if it was for some of the companies i worked for later ( as in nowish ) but early on when i had to do it it sucked
[00:42] <SpamapS> Interesting.. this supply_drop thing is a bit like juju.. just defining puppet for each server, not having a centralized puppet master http://www.braintreepayments.com/devblog/decentralize-your-devops-with-masterless-puppet-and-supply-drop
[00:42] <imbrandon> and not the act but the job part ,had it been another firm prob would have been ok
[00:42] * SpamapS hopes one day that juju becomes decentralized
[00:43] <SpamapS> ZK is cool but it feels like we could just move all that to each node's agent and use 0mq to pass data between nodes.
[00:43] <imbrandon> yea thats what i was wanting to hear earlier
[00:43] <imbrandon> when asking about it
[00:43] <imbrandon> if you got a sec look at the "brew" distro model
[00:43] <imbrandon> IMHO that would be PERFECT for charms
[00:43] <SpamapS> well I'm not talking about the repositories
[00:43] <imbrandon> infact it kinda is charms
[00:43] <imbrandon> only for osx
[00:43] <SpamapS> at a lower level, how its architecture actually works
[00:43] <imbrandon> all like apt-fast
[00:43] <SpamapS> I don't think we actually need machine 0
[00:43] <imbrandon> or something
[00:44] <imbrandon> yea, the first itteration of things your never completely happy with
[00:44] <SpamapS> imbrandon: no, brew is just packaging.
[00:44] <imbrandon> no matter what it is
[00:44] <imbrandon> well kinda
[00:44] <imbrandon> it was
[00:44] <imbrandon> its grown to more
[00:44] <SpamapS> brew doesn't define how two services talk over the network does it?
[00:44] <imbrandon> it has taps now and recipies and binary and build distro
[00:45] <imbrandon> sure but it can via recepies
[00:45] <imbrandon> and some of the nodejs recepies do
[00:45] <imbrandon> and now that its distrubted taps i think more will pop up like that
[00:46] <imbrandon> i mean as for as technical a recipe and a install hook are about the same
[00:46] <imbrandon> would not take musch for the two to become feature parity
[00:46] <imbrandon> both ways
[00:47] <imbrandon> recipies are just make files btw, but they dont have to be "make" infact most are rake *.rb files
[00:47] <imbrandon> but php or sh or whatever like charms
[00:47] <imbrandon> so really you can make them do whatever
[00:47] <SpamapS> imbrandon: interesting.. so there's a uniform way to say "when you ask for X, make it talk to Y on another box this way" ?
[00:47] <imbrandon> its geared more to the desktop
[00:47] <imbrandon> but really the ideas are very very similar
[00:48] <SpamapS> imbrandon: because thats the thing I haven't seen any other system do yet.
[00:48] <SpamapS> many enable it
[00:48] <imbrandon> SpamapS: well almost , i dont think there is a formal api for te network part BUT the groundwork is ther and you CAN do it
[00:48] <SpamapS> but none of them make it a 1st class citizen
[00:48] <imbrandon> i just dont think its part of the apis
[00:48] <imbrandon> right
[00:48] <SpamapS> yeah you can do anything you do with juju with chef, puppet, cfengine, or your own shell scripts...
[00:49] <SpamapS> but they don't encapsulate you, so it makes portability a real problem
[00:49] <imbrandon> right , but i think brew is the closest to actually being the same . and half ass the same market, welll no but yes
[00:49] * SpamapS looking at brew recipes now
[00:49] <imbrandon> well i notice brew more and more growing into that thinking though
[00:50] <imbrandon> and it would not take much for it to
[00:50] <SpamapS> imbrandon: I'm skeptical because I doubt OS X would have something for defining two way config channels, but perhaps the same result can come from some other means of encapsulation.
[00:50] <imbrandon> get all the way there VS say a ant script or chef
[00:50] <imbrandon> why do you say that ?
[00:50] <imbrandon> osx server does
[00:50] <imbrandon> like now
[00:51] <imbrandon> its alot more limited but it does do it in a limited scope and officially
[00:51] <SpamapS> imbrandon: did you see what I did with the peer relationship with omg? thats very easy in puppet or chef.. but there are so many ways to do it, you can't really *share* them outside an environment.
[00:51] <imbrandon> right
[00:52] <SpamapS> imbrandon: os x server has relations?
[00:52] <imbrandon> yea, see in that sense i can see brew adboping the stuff to do that where as chef wont, but osx server.app does now commercially
[00:52] <SpamapS> or rather, something like it?
[00:52] <imbrandon> yup
[00:52] <SpamapS> show me
[00:52] <imbrandon> yea forget what its called exactly
[00:52] <imbrandon> but like my mini here
[00:52] <SpamapS> I'm always looking for vindication of the juju idea... sometimes I wonder if we're not a little crazy with it :)
[00:52] <imbrandon> i install server.app and make it a server
[00:52] <imbrandon> then install any number of servers on the lan
[00:53] <imbrandon> it will auto pick them up and ask abourt config things like ldap slaves and myswl slave and mx host
[00:53] <imbrandon> and distcc
[00:53] <imbrandon> all predefined OR automagic
[00:53] <imbrandon> and will do it over wan too if predefined
[00:54] <imbrandon> nah
[00:54] <imbrandon> apple does it ( the juju idea )
[00:54] <imbrandon> the thing about apple is
[00:54] <SpamapS> imbrandon: that rendevouz IIRC
[00:54] <imbrandon> its not just limited to their servers
[00:54] <imbrandon> its limited to a very small subset of theior apps on their servers
[00:54] <imbrandon> nah
[00:54] <imbrandon> much more than bonjour
[00:54] <imbrandon> not just discovery
[00:55] <imbrandon> i mean full on config
[00:55] <imbrandon> and preconfig
[00:55] <imbrandon> like the hooks
[00:55] <SpamapS> I want to see where the docs are for exposing and sharing this config data. It sounds fascinating.
[00:55] <imbrandon> like i can fire up server.app and tell it that the next 3 distcc nodes use blah.config
[00:55] <imbrandon> and then those when/if join will use it
[00:55] <imbrandon> etc
[00:55] <imbrandon> sure let me look the proper name up
[00:56] <SpamapS> imbrandon: I'm digging too.
[00:56] <imbrandon> it builds a ton on bonjour and ldap
[00:56] <imbrandon> but there is some propitary jiunk in there
[00:56] <imbrandon> junk*
[00:56] <imbrandon> i only have 10.8 installed for server.app and its very very very beta right now
[00:57] <imbrandon> so i only fire it up when needed
[00:57] <imbrandon> lol
[00:58] <SpamapS> can't find anything... apple has hidden this well ;)
[00:58] <imbrandon> one sec
[00:58] <imbrandon> and hell yea they hid all iinda shit well goto opensource.apple.com sometimer
[00:58] <imbrandon> heh
[00:58] <imbrandon> let me take a screenshot
[00:58] <imbrandon> one sec
[00:58] <imbrandon> its not the full story but will get ya looking
[01:00] <imbrandon> http://dl.dropbox.com/u/461492/10.8server.app.png
[01:00] <imbrandon> ok there we go
[01:01] <imbrandon> cant get it to load the profile manager there as i said 10.8 is still supper buggy as shit
[01:01] <imbrandon> but the profuile manage is not like ldap profile its app and server config profile
[01:01] <imbrandon> and more than like AD
[01:01] <imbrandon> cuz you dont have to join
[01:02] <imbrandon> and there is subgroups
[01:02] <imbrandon> etc
[01:02] <imbrandon> and the prepare there in the back
[01:02] <imbrandon> with the (1) alert indicator
[01:02] <imbrandon> on the apple configuratorr
[01:02] <imbrandon> thats the "make a charm" tool
[01:03] <imbrandon> but see those apps listed on the left , those are the only apps you can interact with it like that
[01:03] <imbrandon> its very limited
[01:03] <imbrandon> nmot open like juju or brew
[01:04] <imbrandon> and the supervise in the back is more like the AD user and machine policys
[01:04] <imbrandon> and the assign in the back is like assign corp assets to a employee thingy
[01:04] <imbrandon> but you can remote wipe and lock down if stolen etc
[01:05] <imbrandon> anyhow kinda pisses me off though 10.4, 10.5 and 10.6 server was the shit,but and 10.7 and 10.8 are really just an "app"
[01:06] <imbrandon> liek you have all the underlying stuff alreaddy insatlled and you get a 50mb gui app from the app store for 10.7 and 10.8 "server"
[01:06] <imbrandon> like atleast 10.6 even though apache and such is on 10.6 not ALL of the server apps are there
[01:07] <imbrandon> like BIND and iCal servers etc
[01:07] <imbrandon> but they are now, and you buy a management app
[01:07] <imbrandon> lol
[01:08] <imbrandon> but yea, they intelegently knwo about each other , and more than anycast dns ;)
[01:08] <imbrandon> i actually forgot the port but there is a dedicated mgmt port
[01:08] <imbrandon> on the lan they all talk over
[01:08] <imbrandon> as well as udp
[01:09] <imbrandon> ahh and see like pushing out the time machine configs
[01:09] <imbrandon> forgot about that too
[01:10] <imbrandon> and these arent AD boxes, like i said other macbook pros and minis on my lan
[01:10] <imbrandon> etc
[01:10] <imbrandon> not only just find the time machine, thats bonjour , but config the encryption passwd and times to run
[01:11] <imbrandon> etc
[01:11] <imbrandon> i thouhgt it was tied to my apple ID
[01:11] <imbrandon> but then i used like the new ability to install osx legally in ESX
[01:12] <imbrandon> and it did it to with no apple id
[01:12] <imbrandon> it may still be the icloud ports iirc now
[01:12] <imbrandon> but yea not account
[01:12] <imbrandon> and really even if it did thats ok
[01:12] <imbrandon> needs glue somewhere
[01:13] <imbrandon> might as well be my apple id, a.k.a launchpad id
[01:14] <imbrandon> SpamapS: you run apple hardware right, i'll make ya a deal, i'll try full ubnutu on this mini to try the 4x video and you can use my apple developer account to get a copy of server and try it out
[01:14] <imbrandon> i'm legally entitled to put it on 100 machines
[01:15] <imbrandon> if they are associated with me, and you work on the same OS i do so i;d say thats associated :)
[01:15] <imbrandon> just signup for an apple id if you dont have one ( same as itunes etc SSO ) and i can provision it to your account i am pretty sure for you to download
[01:16] <imbrandon> as well as IOS early etc
[01:16] <imbrandon> perk of my last job i got ios and mac os paid developers for the app stores :)
[01:16] <imbrandon> developer access*
[01:17] <imbrandon> anyhow, then you can see first hand, and as long as its on apple hardware it should install in vmware no problem
[01:17] <imbrandon> it checks a tpm chip or something for the hardware
[01:17] <imbrandon> but them moves right along as long as its 10.7 or 10.8
[01:18] <imbrandon> oh on a ubuntun host
[01:18] <imbrandon> i ment to add
[01:19] <imbrandon> gah, spending way too much time on this, back to my charm
[01:19] <imbrandon> lol
[01:20] <imbrandon> gotta make the new hotness good, not the shiney current stuff
[01:21] <imbrandon> SpamapS: what about like say vsphere too, relation is kinda there , abeit via the central console
[01:21] <imbrandon> bah
[01:22] <imbrandon> back to juju
[01:26] <_mup_> juju/unit-stop r425 committed by kapil.thangavelu@canonical.com
[01:26] <_mup_> merge trunk
[01:37] <imbrandon> goal next week: clean up OMG PHP and JS code;Polish qickdrop drupal charm; and get juju tools working on OSX!!
[01:37] <imbrandon> gonna be a busy week, lol
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
[07:56] <jamespage> morning all
=== TheMue_ is now known as TheMue
=== almaisan-away is now known as al-maisan
[08:41] <imbrandon> goood morning juju beees
[08:46] <imbrandon> SpamapS: you know if nick is gonna finish his drupal charm or
[08:46] <imbrandon> would it be worth to try to tag him and snag it and merge what i have
[08:46] <imbrandon> mine is a toaly seperate name, but its not plain drupal either, and thats not used
[08:46] <imbrandon> its pressflow
[08:46] <imbrandon> hrm
[08:47] <imbrandon> yea i'm gonna keep em seperate and if nick dont finish his i'll juat fixish it too, let em co-exist
[08:49] <imbrandon> SpamapS: btw your sugestion for drush from the archive on his bug really isnt feasable, as its to old to work with the current drupal, but there is an alternative pear chan that is https
[08:49] <imbrandon> so that will work out
[09:07] <jamespage> bbcmicrocomputer, looking at your hive charm now
[09:12] <bbcmicrocomputer> jamespage: ok, thanks
[09:13] <bbcmicrocomputer> jamespage: I did have a request for the Hive package you own
[09:13] <bbcmicrocomputer> jamespage: can we get the HWI web interface included in that?
[09:13] <jamespage> bbcmicrocomputer, I should think so yes
[09:13] <jamespage> I had that on my list
[09:13] <bbcmicrocomputer> jamespage: ah ok, great!
[09:14] <jamespage> could you raised a bug at http://launchpad.net/hadoop-ubuntu-packages pls - that way I won't forget
[09:14] <bbcmicrocomputer> jamespage: sure, np
[09:14] <jamespage> bbcmicrocomputer, of course you could take a punt at it yourself
[09:14] <jamespage> the packaging branches are under http://launchpad.net/~hadoop-ubuntu
[09:15] <jamespage> bbcmicrocomputer, https://wiki.ubuntu.com/ServerTeam/Hadoop
[09:16] <jamespage> bbcmicrocomputer, charm rocks BTW
[09:16] <jamespage> how easy does this make stuff.... :-)
[09:16] <bbcmicrocomputer> jamespage: very :)
[09:17] <bbcmicrocomputer> jamespage: yes, it would be a good one to fix so I might give it a go when not busy
[09:17] <bbcmicrocomputer> jamespage: thanks!
[09:18] <jamespage> bbcmicrocomputer, nice README as well
[09:18] <bbcmicrocomputer> jamespage: never used Hive before, it's actually not a bad solution
[09:18] <jamespage> we should raise bugs on the mysql charm to get those features added as config
[09:18] <bbcmicrocomputer> jamespage: all based on your work ;)
[09:18] <jamespage> lol
[09:18] <bbcmicrocomputer> jamespage: sure, will raise the MySQL bugs
[09:19] <jamespage> I need todo the same for the haproxy one
[09:19] <jamespage> I wanted to use it to front a cluster of hbase REST/avro/thrift servers
[09:19] <jamespage> but its httpchk is a bit to in-depth ATM
[09:19] <bbcmicrocomputer> jamespage: that would be cool
[09:31] <jamespage> bbcmicrocomputer, its a bit http centric ATM
[09:42] <bbcmicrocomputer> Do settings applied to a relationship with 'relation-set' persist for other new nodes that join the relationship?
[09:44] <_mup_> Bug #965101 was filed: The MAAS provider does not raise an exception when get_machines(...) does not find the requested machines. <juju:New> <MAAS:New> < https://launchpad.net/bugs/965101 >
[09:45] <bbcmicrocomputer> e.g. if the MySQL charm sets DB credentials when it creates a DB with 'relation-set', and then a new unit is deployed for the service, are those credentials supposed to be available to the new unit, or is the MySQL charm supposed to set them in its 'db-relation-joined' hook again?
=== asavu_ is now known as asavu
[09:55] <jamespage> bbcmicrocomputer, I think so yes
[09:55] <jamespage> i.e. they should already be avaliable - its set at the service level not the service unit level
[09:56] <jamespage> might be wrong
[09:56] <bbcmicrocomputer> jamespage: ok thanks
[10:05] <jamespage> bbcmicrocomputer, one though on the hive charm - it would be nice to be able to switch in a metastore without having to re-create everything
[10:05] <jamespage> i.e. re-use the same mysql database
[10:05] <jamespage> is that possible?
[10:05] <jamespage> I think the charm supports it
[10:05] <jamespage> mysql that is
[10:06] <bbcmicrocomputer> jamespage: that's what I'm not sure of
[10:06] <jamespage> bbcmicrocomputer, I think the openstack charms do this - you might need to use the db-admin interface I think
[10:07] <bbcmicrocomputer> jamespage: I thought when I added in another metastore the DB credentials on the relationship weren't given to the new unit, but that sounds wrong from a design point of view, so it might be me
[10:07] <bbcmicrocomputer> jamespage: I'll have a look
=== al-maisan is now known as almaisan-away
[10:33] <_mup_> Bug #965138 was filed: Juju concatenates the full API endpoint URL when it gets absolute paths from the MAAS api. <juju:New> < https://launchpad.net/bugs/965138 >
[12:02] <telmich> dear juju-users and devs, have you had a look at cdist already? [http://www.nico.schottelius.org/software/cdist/] it does a similar job on a pretty straight forward level
=== almaisan-away is now known as al-maisan
[12:31] <imbrandon> ok so inside the <charm>/hook/somehook script how would i refrer to something in <charm>/files/blah/file , e.g. whats the PWD , the script dir or ??? relitive work ? read(../files/blah/file)
[12:35] <imbrandon> juju make me some breakfast
[12:43] <hazmat> telmich, i've looked at cdist previously, its targeted at something a bit different than juju
[12:43] <hazmat> telmich, cdist is a configuration management tool, juju is service orchestration and deployment.
[12:44] <telmich> hazmat: hrm, it depends on how far you define service orchestration: cdist aims to do that job as well, the cut there is at the deployment stage
[12:44] <hazmat> telmich, orchestration sits above config management, and within juju your free to use any tool you'd like to effect config management on the system, including cdist
[12:44] <hazmat> telmich, so how does cdist connect two different services?
[12:45] <telmich> i.e. cdist is being used for setting up webservers with rails running
[12:45] <hazmat> running on two different machines
[12:45] <telmich> I understand, that's a bit a different approach
[12:45] <telmich> how does juju do that?
[12:46] <imbrandon> well and the cut really isnt there either, we used its to deply too on OMG lately
[12:46] <imbrandon> juju that is
[12:46] <telmich> btw, the reason why I was mentioning cdist in here is because I thought it may be valuable as a supporting tool
[12:46] <imbrandon> given its not ideal at the moment it can certanly do it
[12:47] <imbrandon> telmich: yea possibly , like phone and ant kinda , same kinda suport roll
[12:47] <hazmat> telmich, juju is designed for running interconnected services over a cluster of machines from the ground up.. the juju docs go into more details https://juju.ubuntu.com/docs/about.html
[12:47] <imbrandon> phing*
[12:47] <hazmat> telmich, i agree cdist is a useful tool for effecting changes on a machine, in much the same way that other configuration management tools like puppet are
[12:47] <hazmat> at that level juju is agnostic to what a charm author chooses to use
[12:48] <imbrandon> yea but i see what he is getting at kinda, it could be used by juju to push code to all the inder connected nodes of a type that needed them
[12:48] <imbrandon> but yea
[12:48] <imbrandon> it could be anything ant or phone or cdimg
[12:48] <imbrandon> or whatever
[12:48] <imbrandon> phing*
[12:48] <telmich> hazmat: ackI believe that higher level tools (like juju) could make use of CM tools like cdist, not sure about that though
[12:48] <imbrandon> if i keep typing phone its gonna become one:)
[12:48] <telmich> imbrandon: exactly
[12:49] <imbrandon> telmich: sure thats alrady part of the work flow then
[12:49] <imbrandon> telmich: we're just not tied to one tool though
[12:49] <imbrandon> the dev can decide
[12:49] <imbrandon> or devop
[12:50] <hazmat> for inclusion into a 'blessed'/vetted distribution of charms.. there are some policies in place.. but juju also incorporates the notion of ppa without such policies to allow for charm authors to experiment and use whatever tool their comfortable with, and still allow their charm to be consumed by other users.
[12:50] <imbrandon> fits alot better into existing systems that way, the majority of the users IMHO wont be starting from scratch, but be iterating and working this in
[12:50] <imbrandon> and alrady have tools
[12:50] <hazmat> telmich, indeed there are some charms that use puppet to install their configuration
[12:51] <telmich> hazmat: alright :-)
[12:51] <hazmat> and i'm sure there will be some that use cdist
[13:10] <imbrandon> i still want juju to make me breakfast
[13:23] <marcoceppi> Is there an example of an OpenStack stanza so juju can deploy to an OpenStack Compute cloud?
[13:58] <_mup_> juju/repository-broken-charms r478 committed by kapil.thangavelu@canonical.com
[13:58] <_mup_> merge trunk
=== hspencer is now known as hspencer[afk]
[14:10] <arosales> jcastro: m_3: you guys available this morning for a quick chat about Hadoopworld / Stratus?
[14:17] <jcastro> arosales, I am!
[14:18] <arosales> jcastro: right on, thanks. Talk to you in a bit then
=== al-maisan is now known as almaisan-away
[14:59] <SpamapS> imbrandon: sorry I disappeared on you... Sundays and all. ;)
[14:59] <SpamapS> imbrandon: anyway, re the apple stuff.. I'll keep looking into it. Interop or at least some idea-theft would be good. :)
[15:00] <imbrandon> no worries
[15:00] <imbrandon> heh yea
[15:00] <SpamapS> imbrandon: and re drush not working with current drupal.. WTF drupal! isn't drush supposed to be the way to get drupal? And they break the backend that quickly?
[15:00] <imbrandon> amatures immatate, geniouses steal ?
[15:00] <imbrandon> lol
[15:01] <imbrandon> well its not
[15:01] <imbrandon> its more the fact that drush was borken with newer php
[15:01] <imbrandon> then drupal
[15:01] <SpamapS> newer php, like, 5.3.6 ?
[15:01] <imbrandon> drush is still very very young like in that sense, they iterate very very fast
[15:01] <imbrandon> yea, lol
[15:02] <SpamapS> So yet another thing that should not be in the archive. :-P
[15:02] <imbrandon> actually i think its a mix between 5.3.6 and 5.3.8
[15:02] * SpamapS thinks we've been rushing things into the archive
[15:02] <imbrandon> 3.8 is whats on mamp
[15:02] <imbrandon> and it breaks someone if both are used on same deal, or something, anyhow i would need to go look up the bugs again
[15:03] <imbrandon> well there was no way to know drush shouldne t have been
[15:03] <imbrandon> it was rock solid for monthsn
[15:03] <imbrandon> even a year or so
[15:03] <imbrandon> then suddenly like a flurry of releases came
[15:03] <imbrandon> all fixing and breaking major things
[15:03] <_mup_> juju/repository-broken-charms r479 committed by kapil.thangavelu@canonical.com
[15:03] <_mup_> add metadata error
[15:03] <imbrandon> like in 3 months
[15:04] <imbrandon> i think they had a change of leadership or something, it smelled of that
[15:04] <imbrandon> its just now kinda slowing back to a managheable pasce
[15:04] <imbrandon> pace*
[15:04] <SpamapS> imbrandon: well either way, why can't older drush's download newer drupals?
[15:05] <imbrandon> i dont rember the exacltym but instal from the archive and run "sruah status" i know its imediate obvious
[15:05] <imbrandon> drush status
[15:05] <imbrandon> like it break spectacular
[15:05] <imbrandon> but what i was saying is they mirror on github that has https
[15:06] <imbrandon> sooo it sould not be a big deal
[15:06] <imbrandon> just to grab from there instead
[15:06] <imbrandon> but yea i dont think any pear or pecl modules should be in the archive IMHO , not just drush
[15:06] <marcoceppi> SpamapS: is there documentation for deploying _on_ openstack using Juju?
[15:08] <imbrandon> and i know stuff is crazy as heck right now , but its a standing offer with the access to my apple dev account software ( legitly ) whenever , month or 6 months from now
[15:08] <imbrandon> just to inspect the competition :)
[15:08] <SpamapS> marcoceppi: there's an askubuntu question/answer about it
[15:08] <marcoceppi> Huh, must have missed it
[15:09] <SpamapS> marcoceppi: basically you need to set the ec2-uri, s3-uri, default-image-id, and probably default-instance-type ...
[15:09] <imbrandon> i need more points over there, i should spend a evenincg doing ask
[15:09] <SpamapS> that is.. until they break those default-* things and then I don't know how its going to work.
[15:09] <marcoceppi> SpamapS: cool, I just found it: http://askubuntu.com/questions/94150/how-do-i-use-openstack-and-keystone-with-juju
[15:09] <SpamapS> (I say they because I am against removing them... but others are against keeping them... hence.. "they")
[15:10] <imbrandon> is there a way to keep them as a "module" per se , like add on-ish
[15:10] <imbrandon> not really a module
[15:10] <SpamapS> imbrandon: yeah github https would probably be the preferred option
[15:10] <imbrandon> yea that was the jest of the whole thing
[15:11] <SpamapS> imbrandon: I believe they'll be kept until a better solution is found
[15:11] <imbrandon> was github https
[15:11] <imbrandon> there is actually a ton of official mirrors on github for most things i found
[15:11] <marcoceppi> How hard would it be to add another provider to the setup? Would it be pertinent to add prominent cloud services as different types (instead of ec2, have a generic eucalyptus type, hp-cloud type, etc)
[15:11] <imbrandon> if ya dig a bit
[15:12] <imbrandon> marcoceppi: i was wondering about zend's phpcloud.com myself, as i actually curreent use them
[15:12] <imbrandon> and they are openstack / php fabric
[15:27] <SpamapS> marcoceppi: like flavors of the ec2 provider? Not a bad idea (note that hp's cloud does not expose the EC2 API of openstack)
[15:27] <SpamapS> or at least, so I've been told
[15:28] <marcoceppi> Ah, that's what I was trying to play around with
[15:29] <SpamapS> I have to think an OSAPI provider will appear ... one of the nova founders approached me about wanting to write one.
[15:34] <imbrandon> kinda like google storage uses the openstack s3 stuff but goggle app engine dont
[15:35] <imbrandon> in any way iirc
[15:35] <imbrandon> its funny you hit a google storage bugket and it even says in the xml its amazon, i guess not to break the tools or something is all i can figure
[15:36] <imbrandon> http://g.pixeldrop.net/ <-- thats a google storage bucket
[15:37] <imbrandon> but xml namespace to aws still
[15:37] <imbrandon> so i guess its only a namespace
[15:40] <SpamapS> imbrandon: yeah its just for api equality
[15:40] <_mup_> juju/relation-id-option r500 committed by jim.baker@canonical.com
[15:40] <_mup_> Initial commit
[15:41] <marcoceppi> SpamapS: they seem to provide endpoints. I'm going to try to bootstrap an env on their hp cloud
[15:41] <imbrandon> it would be nice if app engine was ec2 compatable and vice versa
[15:41] * marcoceppi will then self-document
[15:41] <SpamapS> imbrandon: that wouldn't make any sense at all though
[15:42] <SpamapS> imbrandon: since appengine is a PaaS not a VM provider
[15:42] <SpamapS> unless they changed something recently
[15:42] <imbrandon> yea but like phpcloud.com is a paas and does part of the api
[15:42] <imbrandon> nah
[15:42] * SpamapS goes afk
[15:55] <_mup_> juju/trunk r495 committed by kapil.thangavelu@canonical.com
[15:55] <_mup_> merge repository-broken-charms repository.find should never break on charm error [r=fwereade]
=== jcastro_ is now known as jcastro
[16:38] <jcastro> SpamapS: marcoceppi: m_3: ok so ... starting tomorrow we should review everything and start looking at entries?
[16:38] <jcastro> I was thinking review and get them all ready, and promulgate all at the same time?
[16:38] <jcastro> or do you guys want to just do them one by one?
[16:38] <marcoceppi> jcastro: is there a list of what needs to be reviewed?
[16:39] <jcastro> https://bugs.launchpad.net/charms/+bugs?field.tag=new-charm
[16:39] <jcastro> any new, confirmed, or fix commited
[16:39] <m_3> jcastro: sounds good
[16:40] <jcastro> m_3: clint and I sort of counted yesterday and there's like 15 things we can approve and promulgate.
[16:43] <jcastro> I meant counted on friday of course. :)
[16:43] <_mup_> juju/status-changes r486 committed by kapil.thangavelu@canonical.com
[16:43] <_mup_> merge trunk
[16:51] <marcoceppi> jcastro: I'm in
[16:52] <marcoceppi> I've got local provider working on my laptop now
[16:52] <jcastro> oh nice!
[16:52] <marcoceppi> 12.04 *bows*
[17:06] <balloons> jcastro, been idlin' here for awhile :-0
[17:07] <jcastro> balloons: ok do you have links of stuff for people to try
[17:07] <balloons> I'm not sure what daviey and crew have in mind just yet
[17:07] <balloons> I haven't seen there work
[17:08] <jcastro> ok
[17:13] <_mup_> juju/relation-id-option r501 committed by jim.baker@canonical.com
[17:13] <_mup_> AMP doesn't like None for string values
[17:17] <_mup_> Bug #965507 was filed: Juju uses http to contact uec-images.ubuntu.com <juju:In Progress by clint-fewbar> < https://launchpad.net/bugs/965507 >
[17:18] <_mup_> juju/relation-id-option r502 committed by jim.baker@canonical.com
[17:18] <_mup_> Merged upstream
[17:21] <_mup_> juju/trunk r496 committed by kapil.thangavelu@canonical.com
[17:21] <_mup_> merge status-changes simplify status output and support services with multiple relations under the same name [r=fwereade]
[17:22] <_mup_> juju/force-upgrade r467 committed by kapil.thangavelu@canonical.com
[17:22] <_mup_> merge trunk
[17:24] <hazmat> Hi Folks, just a heads up status output has changed.
[17:24] <hazmat> per discussion on the list last week
[17:27] <marcoceppi> is it in ppa yet?
[17:28] <marcoceppi> nvm, /me scans up a few lines
[17:33] <m_3> hazmat: thanks
[17:34] <hazmat> marcoceppi, not yet..
[17:34] <hazmat> marcoceppi, ppas get built nightly
[17:34] <marcoceppi> right, cool
[17:34] <hazmat> m_3, i'll update the charmrunner service watch this evening
[17:34] <m_3> negronjl lynxman: ^^ (maybe neeed to update status parsers)
[17:34] <hazmat> m_3, there will be some more status output changes when subordinates land latter this week fwiw
[17:35] <m_3> hazmat: gotcha... thanks for the heads-up
[17:38] <marcoceppi> hazmat: won't that just be adding keys? not so much modifying the existing structure?
[17:42] <hazmat> marcoceppi, it is adding keys, but the subordinate service representation in status is different, the subordinate units are reported under their principal units
[17:42] <marcoceppi> ah, cool. I look forward to that landing
[17:45] <imbrandon> jcastro: gah i cant push, did it get added to a team ?
[17:45] <jcastro> push to where?
[17:45] <imbrandon> bzr push ~imbrandon/charms/oneiric/quickdrop/trunk/
[17:45] <imbrandon> says dont exist sooooooo
[17:46] <imbrandon> and i've pushed like lots already
[17:48] <marcoceppi> lp:~imbrandon/charms/oneiric/quickdrop/trunk
[17:49] <imbrandon> marcoceppi: ahh i am a idiot sometimes, in a damn hurry :)
[17:49] <imbrandon> lol
[17:49] <imbrandon> ty
[17:50] <imbrandon> mt dew refill, brb
=== al-maisan is now known as almaisan-away
[18:12] <gary_poster> hallo. I used to have juju kind of working on canonistack. Then canonistack didn't work for me at all--when I did a euca-start-instances call (that is, nothing to do with juju) I would eventually get an instance that showed the status as "error" when you ean euca-described-instances. IS told me that was fixed, and indeed, that works now. However, juju still gives me the same error. I run juju bootstrap, and eventually (
[18:12] <gary_poster> pretty soon) I get a system in an error status.
[18:12] <gary_poster> $ euca-describe-instances
[18:12] <gary_poster> RESERVATION r-0yhnhx0e gary_project juju-canonistack, juju-canonistack-0
[18:12] <gary_poster> INSTANCE i-00001ce3 ami-00000079 server-7395 server-7395 error 0 m1.large 2012-03-26T18:08:04Z nova monitoring-disabled instance-store
[18:13] <gary_poster> any ideas on what's going wrong here, or any thing I should ask IS for?
[18:13] <gary_poster> best: any way I can fix this? :-)
[18:14] <gary_poster> fwiw, I'm on very newest juju from ppa
[18:15] <gary_poster> and happened in previous version (earlier today) as well
[18:18] <hazmat> hmm
[18:18] <hazmat> gary_poster, can you pastebin the error
[18:19] <avoine> someone know if the variable JUJU_RELATION_NAME is a good way to get a unique relation name that I can use in a path?
[18:19] <gary_poster> hazmat, one of the frustrations is that the above is all I get. From juju's perspective, it is simply unable to connect to the zookeeper. Unless I'm missing a log somewhere?
[18:20] * gary_poster hunts for a moment
[18:20] <hazmat> gary_poster, no logs on the client side.. juju -v status gives verbose output
[18:20] * hazmat spins up an openstack instance
[18:21] <SpamapS> avoine: that should work yes.
[18:21] <avoine> great thanks
[18:21] <SpamapS> avoine: though you also need to take into account that there may be two remote-endpoints for the relation, so $JUJU_REMOTE_UNIT is probably also needed.
[18:22] <avoine> oh yeah
[18:22] <avoine> I'll concatenate those two to be sure
[18:22] <gary_poster> hazmat, doesn't seem informative to me, but dunno: https://pastebin.canonical.com/63059/
[18:25] <hazmat> gary_poster, your trying to connect from outside of the network
[18:25] <hazmat> gary_poster, you'll need to associate an address by hand to the bootstrap node for that to work
[18:26] <hazmat> or you need to be located somewhere where the public address of the instance ( server-7396) is resolvable
[18:26] <hazmat> gary_poster, i do euca-allocate-address, euca-associate-address -i bootstrap_node_isntance_id public_addr
[18:27] <gary_poster> hazmat, the .canonistack trick won't help with that? I think it will--that's what RT 50773 is about--and the problem I see here is that the instance doesn't even start. that's still in line with your diagnosis?
[18:27] <hazmat> gary_poster, hmm.. actually that appears to be broken
[18:27] <hazmat> associating ips to the isntances
[18:28] <gary_poster> once it starts it is supposed to be assigned a .canonistack name
[18:28] <gary_poster> which is supposed to be resolvable now, if you have the right ssh config stanza
[18:28] <gary_poster> (that's what I was trying to test)
[18:28] <gary_poster> but the machine doesn't even start
[18:28] <hazmat> gary_poster, yeah.. it doesn't start for me either
[18:28] <gary_poster> at least, that's the way it seems to me
[18:29] <gary_poster> ok, at least that's two of us :-)
[18:29] <hazmat> gary_poster, that seems to be a stack instance issue
[18:29] * hazmat tries launching one manually
[18:30] <gary_poster> manually works for me, if you mean euca-run-instances
[18:30] <hazmat> gary_poster, which image are you using?
[18:30] <gary_poster> the output is slightly different
[18:30] <gary_poster> hazmat, ami-79
[18:30] <gary_poster> beta
[18:30] <gary_poster> in both cases
[18:31] <hazmat> gary_poster, cool, i'm using 78
[18:33] <gary_poster> hazmat, fwiw, I noticed a slight diff in the euca-describe-instances of the juju vs. manual instances but I didn't know what it means. https://pastebin.canonical.com/63062/ shows manual, and then juju. If you compare the two, the manual instance shows the status as "pending gary" while the juju instance shows "pending". I have no idea what this means or if it is relevant, but it is the only difference I saw other than one
[18:33] <gary_poster> working and the other not.
[18:33] <hazmat> gary_poster, its the key pair name
[18:34] <gary_poster> oh...the juju doesn't need a key pair?
[18:34] <hazmat> juju doesn't launch with the api key name, it uses cloud-init to seed the key
[18:34] <gary_poster> ah ok
[18:34] <gary_poster> so maybe irrelevant, unless cloud-init is the borked part
[18:34] <hazmat> gary_poster, still that's all post instance running, these instances are in an 'error' state
[18:35] <hazmat> which would suggest a problem pre launch
[18:35] <gary_poster> agreed
[18:35] <hazmat> even cloud-init failures leave instances running
[18:35] <gary_poster> I see
[18:36] <gary_poster> I tried to geta vanguard to look at this earlier to look for a traceback but they were swamped
[18:36] <gary_poster> the poor error reporting in canonistack, from the user's perspective at least, is annoying
[18:36] <hazmat> gary_poster, definitely
[18:37] <hazmat> gary_poster, for fun try terminating an instance, and checking status
[18:37] <hazmat> it just shows as running still before it pops off
[18:37] <gary_poster> heh
[18:37] <gary_poster> I didn't see that
[18:37] <gary_poster> I saw a bunch of errors
[18:37] <gary_poster> but never running
[18:38] <hazmat> gary_poster, i'm trying to narrow down the param that causes the instance state 'error'
[18:38] <hazmat> tbd
[18:39] <gary_poster> hazmat, oh ok cool
[18:40] <hazmat> ah.. its the group
[18:40] <gary_poster> huh
[18:41] <gary_poster> hazmat, for fun I asked the vanguard again for a traceback. it may turn out to be irrelevant by the time they get this, but I figured it was wirth another try
[18:41] <hazmat> gary_poster, juju associates two security groups to a machine, an environment group, and a per machine group
[18:41] <gary_poster> right, I saw that on ec2
[18:41] <gary_poster> seemed nice
[18:41] <hazmat> gary_poster, if try on the cli against openstack to specify both groups when doing euca-run-instances.. the instance will fail
[18:42] <hazmat> trying again at the moment with just one
[18:42] <gary_poster> huh, ok
[18:42] <hazmat> also fails with one instance
[18:42] <hazmat> er. one group
[18:42] <gary_poster> heh
[18:42] <hazmat> previously openstack would basically ignore security groups, i think its got them implemented, but its not clear it has self-referential groups working
[18:43] <hazmat> the environment group opens traffic up internal traffic between machines in the environment
[18:43] <hazmat> yup.. its the self-referential group thats killin git
[18:43] <hazmat> the per machine group is fine
[18:43] <gary_poster> ah
[18:44] <hazmat> gary_poster, now the question is who to forward the issue to..
[18:44] <gary_poster> heh
[18:44] <gary_poster> I've heard that IS updates canonistack with newest openstack every Monday
[18:45] <gary_poster> so a bug against openstack might be the right idea
[18:45] <gary_poster> depending on turn-around time, a workaround might be convenient too
[18:46] <gary_poster> and btw hazmat, duped that "euca-run-instances -k $NOVA_USERNAME -t m1.large ami-00000079 -g juju-canonistack" leads to an error state for me as well, if you wanted any confirmation.
[18:48] <_mup_> Bug #965591 was filed: failure to launch instance with self-referential security group <canonistack> <juju:New> <OpenStack Compute (nova):New> < https://launchpad.net/bugs/965591 >
[18:50] <gary_poster> cool
[18:50] <gary_poster> #is did not find a traceback :-/
[18:51] <hazmat> gary_poster, well it all depends on where they looked..
[18:51] <gary_poster> heh
[18:51] * gary_poster has jokes, squelches them
[18:51] <hazmat> gary_poster, i'd have to guess there is one somewhere, just not in the nova api endpoint, it definitely hits the queue, its probably in the network component
[18:51] <gary_poster> hm, ok
[18:52] <hazmat> or directly on the instance node
[18:52] * hazmat keeps missing lunch
[18:52] <hazmat> i aim to resolve that, bbiab
[18:52] <gary_poster> :-) k, bye, thanks
[18:54] <hazmat> gary_poster, i'm not sure there is a good workaround, juju needs that environment group, as minimum to tag its instances in the env, we could not define its access rulz for ostack and see if that works, but if they do implement security access for internal network usage, it will still be hosed
[18:57] <gary_poster> hazmat, yeah I can see the broad shape of the problem.
[18:57] <gary_poster> why did it work before?
[18:57] <gary_poster> no access rules meant free-for-all?
[18:59] <hazmat> gary_poster, yup.. it didn't really process them for 11.10.. it could be a regression for the current release though, not sure
[18:59] <gary_poster> gotcha
[18:59] <hazmat> m_3, do we have any automated tests against ostack?
[19:00] <gary_poster> thanks hazmat. #is is still looking for logs, which I'll add in some hopefully safe-ish manner to the bug report if they find some and they look potentially informative
[19:01] <gary_poster> though it sounds like the description you have may be sufficient for the sorts of openstack devs ho would actually work on it
[19:01] <gary_poster> who
[19:10] <m_3> hazmat: not yet
[19:11] <m_3> hazmat: that's what I'm currently working on..
[19:11] <m_3> hazmat: only openstack installation I have access to is totally barfing atm... images coming up 'error'
[19:23] <hazmat> m_3, i just filed a bug report on it in nova & juju after gary_poster reported the same
[19:24] <m_3> hazmat: thanks
[19:24] <gary_poster> m_3, bug 965591. hazmat, m_3, doesn't tell me a lot, but looks like https://pastebin.canonical.com/63067/ is relevant traceback. deej is confirming on #is
[19:24] <_mup_> Bug #965591: failure to launch instance with self-referential security group <canonistack> <juju:New> <OpenStack Compute (nova):New> < https://launchpad.net/bugs/965591 >
[19:26] <hazmat> gary_poster, that looksl like it
[19:26] <m_3> gary_poster: cool
[19:27] <jcastro> m_3: oh hey, how'd the summit thing go?
[19:28] <m_3> jcastro: not too much new... talked to cjohnston about a new theme branch for the site
[19:29] <m_3> jcastro: we've gotta move the environment to a different account for financial reasons
[19:29] <m_3> jcastro: so that'll happen prob later this week
[19:30] <imbrandon> ive been helping him learn the ropes of proper css and js with it and the lenaro
[19:30] <imbrandon> subthemes
[19:30] <m_3> jcastro: once that's done, then I'm back on hold until we have a theme... prob nother couple of weeks it sounds like
[19:30] <m_3> imbrandon: cool... thanks!
[19:31] <imbrandon> m_3: nah, we'll have it in a week or less, week is giving some breathing room
[19:31] <m_3> nice
[19:31] <imbrandon> he just inst confident in timeline :)
[19:32] <imbrandon> but yea i;d say realistic about 3 more days for the django and another 1 for wordpress and 2 more for drupal
[19:32] <imbrandon> is the timeline
[19:32] <imbrandon> lenaro is in with django as a child theme
[19:33] <imbrandon> e.g we're jst doing one template system for all the community themes, thats why he isnt confident beacuse of the big changes
[19:33] <imbrandon> but i've been thought it ,we'll crank her out
[19:33] <imbrandon> through*
[19:34] <imbrandon> but if you look in the -refresh branches of the themes you can see the progresss
[19:34] <imbrandon> they are about 80%
[19:35] <imbrandon> infact here is the base we finished last night , for the django, now just got to sub template it for summit and lenaro
[19:35] <imbrandon> http://theme.chrisjohnston.org/
[19:35] <m_3> imbrandon: cool... I'll try to spend a little more time externalizing the theme from the charm config instead of the settings.py
[19:35] <m_3> might have a few more MPs
[19:36] <jcastro> m_3: the appflower one looks cool too
[19:36] <m_3> but it's configured to pull from summit production atm
[19:36] <imbrandon> kk, yea we err i restructure all the themes to be like www --> base(top) -->django(top) --wp(top) -->drupal(top) and the
[19:37] <imbrandon> base is pure html
[19:37] <imbrandon> and then we make the django and wp tempalate just by subst
[19:37] <imbrandon> the mp in place
[19:37] <imbrandon> and last will be the drupal one
[19:37] <imbrandon> but i also made bash scripts to
[19:37] <imbrandon> generatte the django and stuff from the html again
[19:38] <imbrandon> like thay are a psudo template wirth ##TITLE##
[19:38] <m_3> imbrandon: hmmm... I'd have to see that to figure out what the charm should be doing to install the theme
[19:38] <imbrandon> the charm probably should just include the base_website.html and the /media directory
[19:39] <m_3> ideally, I'd just have a django branch and a theme branch
[19:39] <imbrandon> and then makes its own inheriting the base_website.html
[19:39] <imbrandon> yup
[19:39] <imbrandon> exactly
[19:39] <imbrandon> the django folders are not django sites
[19:39] <m_3> right, then I can add vhost aliases for media
[19:39] <imbrandon> they are just the assets and .html templates
[19:39] <imbrandon> yup
[19:39] <m_3> cool
[19:40] <imbrandon> i pretty much made him do it, he about shed a tear but then loved it when it was clear what was gonna happen
[19:40] <imbrandon> heheh
[19:40] <imbrandon> will make future updates aklot alot easier and using thing s like less or scss too much simplete
[19:41] <imbrandon> simpler*
[19:41] <imbrandon> plus there is actualy build scripts to minify the assets and such and create the templates from a common base
[19:41] <imbrandon> so they all match ubuntu guidlines with no extra work too
=== hspencer is now known as hspencer[afk]
=== jml_ is now known as jml
[20:35] <hazmat> jcastro, sweet 2 other juju talks at europython were submitted
[20:35] <jcastro> nice!
[20:54] <SpamapS> jcastro: we about ready to close down the contest?
[20:55] <SpamapS> jcastro: maybe in 3 hours? That would be 00:00 UTC
[20:55] <jcastro> sure
[20:56] <SpamapS> jcastro: I'm going to try and do 2 hours of review tomorrow and Wednesday.
[20:57] <SpamapS> negronjl: you going to be around and able to do reviews this week?
[20:57] <jcastro> between you, mims, and jamespage, we should be ok
[20:57] <SpamapS> we have a ton..
[20:57] <jcastro> indeedy we do!
[20:57] <SpamapS> imbrandon: did you submit your charm yet?
[20:58] <jcastro> negronjl: nijaba: if you guys have time to review one or two this week it would really help out
[20:58] <bkerensa> jcastro: Instructions for deployment and accessing subway added (merge proposed)
[20:58] <jcastro> lynxman: you too!
[20:59] <jcastro> SpamapS: is there anyone from the launchpad team that we added to charmers? Maybe one of them could lend a hand for one or two?
[20:59] <bkerensa> jcastro: What do these Juju mugs look like?
[20:59] <bkerensa> :D
[20:59] <jcastro> it's the ubuntu travel mug from the store
[21:00] <imbrandon> yea
[21:00] <imbrandon> i've been iterating on it
[21:00] <imbrandon> but i submitted it last night late
[21:00] <imbrandon> SpamapS: ^^
[21:01] <bkerensa> jcastro: Uhh you didnt say that... ok you can send me one of those :P
[21:01] <bkerensa> :D
[21:01] <bkerensa> I thought it was going to be a ceramic mug :D
[21:01] <imbrandon> SpamapS: i still need to update the nginx configs a little , but its 95% complete and submitted
[21:01] <imbrandon> well 92 :)
[21:01] <jcastro> I think hosted IRC will be a popular charm
[21:01] <imbrandon> but working on it now
[21:01] <imbrandon> jcastro: subway
[21:01] <imbrandon> ?
[21:01] <jcastro> yeah
[21:02] <imbrandon> yea i love that thing
[21:02] <imbrandon> i found it like 2 days before dudes post on planet
[21:02] <SpamapS> imbrandon: as long as its in and tagged as new-charm, we'll allow refinements through this week as we review them.
[21:02] <jcastro> does juju upgrade work with subway? like, does doing that just update the subway code from git?
[21:02] <imbrandon> SpamapS: rockin, ok yea it is
[21:02] <bkerensa> jcastro: Not yet
[21:02] <imbrandon> i showed jcastro awhile ago
[21:02] <bkerensa> jcastro: this will be added later when I bug SpamapS some more :D
[21:02] <imbrandon> i had trubble attaching the banch so its on via a comment
[21:03] <imbrandon> SpamapS: ^^
[21:03] <SpamapS> imbrandon: ok thats fine
[21:03] <imbrandon> something with chrome on osx was stopping me, gonna do it from insde my ubuntu vm later on next push
[21:03] <imbrandon> i'd say another hour or two
[21:03] <imbrandon> not all week and i'm good
[21:04] <imbrandon> but thats good i got leway :_
[21:04] <imbrandon> heh
[21:05] <imbrandon> also once i have the next push done i'm gonna convert to full git pushes , talked to jcastro about it already as a good thing so it will work you guys on that workflow anyhow
[21:05] <imbrandon> so the first frwe times i'll likely ping someeone and let em know a pull req is on gh waiting
[21:05] <imbrandon> but try not to be annoying about it :)
[21:05] <imbrandon> but i'll*
[21:09] <SpamapS> imbrandon: *boo* git
[21:10] <imbrandon> but i'll*/msg SpamapS ~imbrandon/charms/oneiric/quickdrop/trunk , gonna update the normal drupal one too even if it dont make the contest as it seems abandon and jcastro said it looked fair game
[21:10] <imbrandon> yea
[21:10] <SpamapS> "git: because VCS *SHOULD* be hard."
[21:10] <imbrandon> i love my git
[21:10] <SpamapS> :-P
[21:10] <imbrandon> hahah
[21:10] <imbrandon> i actually find git easier than bzr , like for reall, not trolly
[21:10] <SpamapS> Yeah I keep hearing that from people
[21:10] <SpamapS> but as a 5+ year bzr user..
[21:11] <imbrandon> but its because i learned it first, i think the same thing about hg too
[21:11] <imbrandon> and hg is supose to be easy
[21:11] <SpamapS> and before that, a user of cvs, svn, perforce, and even a tiny bit of vss ... I despise git's obtuseness.
[21:11] <imbrandon> yea i've only used bzr when i had to, even when i was very ver actve most of the time i use git on anolith and sync :)
[21:11] <imbrandon> or use git-bzr
[21:11] <imbrandon> :)
[21:11] <imbrandon> hehe
[21:12] <SpamapS> I'm sure as I get pushed along toward git since bzr has been mostly marginalized.. I'll figure out that git is great. But right now its like.. a million times harder for me to use.
[21:12] <imbrandon> yea cvs -> svn more svn , a little svn, then git, then svn then bzr then git/bzr then git git git git git hg curse git git
[21:12] <imbrandon> not bzr a little again :)
[21:13] <imbrandon> now*
[21:13] <bkerensa> SpamapS: I am very interested in adding a upgrade hook to Subway but not sure how best to implement that part of the hook
[21:13] <imbrandon> bkerensa: one line "install" :)
[21:13] <imbrandon> heh
[21:13] <bkerensa> imbrandon: ?
[21:14] <SpamapS> bkerensa: the best way to do it is to simply make sure all your hooks are idempotent, and then just have your upgrade-charm hook call them all in the right order.. which is stop, install, config-changed, start
[21:14] <imbrandon> as in my updgrade just calls instll and i check in install with conditions for if/else things
[21:14] <bkerensa> ahh
[21:14] <bkerensa> good idea
[21:14] <bkerensa> imbrandon: which is ur charm?
[21:14] <SpamapS> bkerensa: for subway, using git.. you should just check to see if the dir is already there.. if it is.. cd into it and 'git pull'
[21:14] <imbrandon> its not toally done but its ~imbrandon/charms/oneiric/quickdrop/trunk
[21:15] <SpamapS> imbrandon: yeah the most basic thing to do is just to call install
[21:15] <imbrandon> yea, jst look for a -z /dir/.git
[21:15] <imbrandon> or something
[21:15] <SpamapS> imbrandon: adding the other bits in there will force you to write better other bits
[21:15] <imbrandon> yea i was trying to make the deadline so somethings arent ideal but work clean
[21:16] <imbrandon> and i'll fixem up as i go i figurred release early release often :)
[21:16] <imbrandon> i actually had to make a install stamp file i check for with the config, i dont like that at all
[21:16] <imbrandon> but its doing the job for the moment
[21:18] <imbrandon> SpamapS: infact if its not cheating blah blah, can you eyeball what i got pushed, its missing some essential bits to function fully but i got those here and am polishing them up
[21:18] <imbrandon> not a full revirew etc etc just an eyeball or two for a sec
[21:18] <imbrandon> fi you have time and dont mind
[21:19] <imbrandon> mostly whats missing is the nginx bits and the apt-get line
[21:19] <SpamapS> imbrandon: I'll be doing some reviews later today, will look at yours then.
[21:19] <imbrandon> kk sounds good
[21:19] <imbrandon> i shoudl have those bit up by then too then
[21:20] <imbrandon> bkerensa: i'm still very knew to this charm thing too but if you need a hand i can try ( not a newb coder etc just charms :P )
[21:20] <imbrandon> if ya cactch a snag from something from mine into youer or whatever
[21:23] <imbrandon> i need to adapt my ide to like the charm layout
[21:23] <bkerensa> IDE?!?!?!
[21:23] <bkerensa> Y U USE IDE?
[21:23] <bkerensa> :D
[21:24] <bkerensa> nano for the win
[21:25] <SpamapS> editor wars, FINALLY SOMETHING FRESH AND NEW ON THE INTERNET
[21:25] <imbrandon> lol
[21:26] <imbrandon> well kinda, bkerensa been using bbedit for the charm so far, zend studio seemd a bit overkill :P
[21:26] <imbrandon> but the dir layout in bbedit is kinda finly
[21:26] <bkerensa> SpamapS: indeed
[21:26] <imbrandon> funky*
[21:27] <imbrandon> bah i dont pay attn to em anymore, if someone is harping on vim or emacs i use pico ( aliased to nano ) in their view :)
[21:27] <imbrandon> i find its normaly the ones that purport aptitude over apt-get in online tuts and lbog post comments
[21:27] <imbrandon> e.g. same group :)
[21:29] <imbrandon> on a serious note though it did take years , for real for my muscle memory to not type pico, and tupe nano, i has a bash alias untill 3005ish or later
[21:29] <imbrandon> 2005*
[21:30] <imbrandon> actually back then i think i just made symline to nano --> pico as i dident know about aliases
[21:30] <imbrandon> heh
[21:30] <imbrandon> ( 90's )
[21:31] <imbrandon> symlink
[21:31] <imbrandon> dude i'm getting that damn keybopard today
[21:31] <imbrandon> apple store dont close till 9pm i'll make it
[21:31] <imbrandon> this thing is gonna be the death of me
[21:32] <imbrandon> ( its one of the small bluetooth ones , my usb wired aluminum one died to coke-a-cola a week or two ago )
[21:33] <imbrandon> i dont have big hands and i feel like i got huge fat fingers with this thing
[21:34] <imbrandon> SpamapS: what can we garentee is on the system, ubuntu-minimal or ?
[21:34] <imbrandon> like accross clouds
[21:35] <SpamapS> imbrandon: yeah minimal
[21:36] <imbrandon> k
[21:36] <SpamapS> imbrandon: eventually we'll have all of 'cloud-image'
[21:36] <SpamapS> imbrandon: or rather, '^cloud-image' since its a task, not a package
[21:37] <imbrandon> ahhh does that add php so i dont have to bootstrap it with bash ? hehe
[21:37] <imbrandon> lol
[21:37] <imbrandon> should toss php-cli on there python and perl are :)
[21:38] <SpamapS> no
[21:39] <SpamapS> imbrandon: somehow I think an idea like that may be given a label the PHP community would not appreciate ;)
[21:39] <SpamapS> I'm not saying people will call it *crack*
[21:39] <SpamapS> or *b.s.*
[21:39] <SpamapS> but something that you might not like ;)
[21:40] <imbrandon> hahah yea i think mine is a rare case
[21:40] <imbrandon> where i have phing and drush to do alot fo te heavy lifting for install and config
[21:40] <imbrandon> and both are php tools
[21:40] <imbrandon> writeen in php
[21:40] <imbrandon> :)
[21:40] <imbrandon> written
[21:40] <imbrandon> bleh
[21:40] <imbrandon> but most wont be , even like wordpress
[21:40] <imbrandon> unless its intentional
[21:41] <imbrandon> i think a zend framework one would be the only other case likely
[21:41] <imbrandon> but that wont come till partials are here
[21:42] <jcastro> ls
[21:42] <imbrandon> .
[21:42] <imbrandon> ..
[21:42] <imbrandon> build.xml
[21:43] <imbrandon> pr0n.jpg
[21:43] <imbrandon> jorge-jono-and-camel.gif
[21:43] <imbrandon> $_
[22:00] <SpamapS> bkerensa: merged your change. Note that you should probably re-branch the charm from lp:charms/subway so that you get all the latest stuff ~charmers adds .. your branch is missing one thing already
[22:00] <bkerensa> SpamapS: ahh did you promulgate it properly?
[22:00] <bkerensa> :D
[22:02] <SpamapS> bkerensa: promulgate is only needed to create the official pointer to the official branch. After that we just merge and push. :)
[22:07] <bkerensa> SpamapS: is there no way to sync my branch with the upstream lp:charm/subway?
[22:07] <bkerensa> so that my branch stays frosty?
[22:10] <SpamapS> bkerensa: sure, you first should do 'bzr missing lp:charms/subway' and make sure that your branch doesn't have anything not in the official one (ignore any that are only in lp:charms/subway)
[22:10] <SpamapS> bkerensa: if you don't have any local changes, then simply remove your branch, and bzr branch lp:charms/subway
[22:11] <SpamapS> bkerensa: if you do have extra changes, move it out of the way, and do 'bzr branch lp:charms/subway', and then cd subway, then 'bzr merge ../path-to-your-old-branch'
[22:12] <SpamapS> bkerensa: then commit, push, and propose for merging. :)
[22:12] <SpamapS> and yes I know that git makes this *infinitely* simpler with rebase
[22:12] <bkerensa> :P
[22:12] <bkerensa> I prefer bzr :) the git people were not so nice to me :P
[22:12] <SpamapS> this is actually the one time where git wins in my head.
[22:12] <bkerensa> I submit patch to them and they make me jump through hula-hoops
[22:14] <_mup_> juju/relation-id-option r503 committed by jim.baker@canonical.com
[22:14] <_mup_> Allow for context to access invoker so it can get cached children
[22:16] <hazmat> SpamapS, we could probably install the cloud-task with minimal changes into the local provider
[22:17] <hazmat> the switch out to the ubuntu-cloud template is more extensive, since it also involves dropping libvirt
[22:17] <bkerensa> SpamapS: Ok well I req'ed to join ~charmers because I wanna contribute more :) I am really getting to like juju
[22:22] <_mup_> juju/relation-id-option r504 committed by jim.baker@canonical.com
[22:22] <_mup_> Test invoker is accessible from context
[22:25] <_mup_> juju/relation-id-option r505 committed by jim.baker@canonical.com
[22:25] <_mup_> Merged upstream relation-ids-command
[22:25] <SpamapS> bkerensa: *awesome*
[22:26] <SpamapS> hazmat: thats a good idea actually
[22:33] <_mup_> juju/relation-id-option r506 committed by jim.baker@canonical.com
[22:33] <_mup_> Mark conflicts resolved
[22:38] <_mup_> juju/relation-id-option r507 committed by jim.baker@canonical.com
[22:38] <_mup_> Update tests re relation_get's support of relation_id
[22:52] <_mup_> juju/relation-id-option r508 committed by jim.baker@canonical.com
[22:52] <_mup_> Allow Invoker to not take a context to fix failing test
=== hspencer[afk] is now known as hspencer
[23:07] <_mup_> juju/relation-id-option r509 committed by jim.baker@canonical.com
[23:07] <_mup_> Test relation-ids command through the invoker
[23:51] <shazzner_> hello
[23:52] <shazzner_> I'm sure it's been reported by now, but I'm unable to get to the juju charm browser site
[23:52] <shazzner_> http://charms.kapilt.com/
[23:52] <shazzner_> 502 Bad Gateway
[23:58] <m_3> hazmat: ^^
[23:59] <hazmat> oh dear
[23:59] <hazmat> hmm. mongodb went down