/srv/irclogs.ubuntu.com/2012/04/16/#juju.txt

=== flaviamissi_ is now known as flaviamissi
imbrandonhazmat / SpamapS ( i know neither of you are around yet, this is for later ) : can their be custom "hybrid" providers , e.g. unholly marages between like google storage ( that provides s3 api and even uses s3cmd for its cli tool ) and ec2 or an openstack compute , and if so how would one such env.y look ?05:54
imbrandons/their/there05:54
SpamapSimbrandon: it would need to be written, but it wouldn't be hard to make happen06:14
SpamapSimbrandon: I've suggested a few times that we should consider decoupling storage from compute06:14
SpamapSimbrandon: also I think we can remove the S3 dependency entirely06:15
SpamapSimbrandon: just fire up something for storage on node 0, and use ec2 groups to find it.06:16
imbrandonSpamapS: awesom06:39
imbrandonSpamapS: next question is do we do that in go or python, i'm kinda curious to get started with some go06:42
imbrandonSpamapS: btw i did a lil screencast bout blitz'ing omgubuntu today , go like or plus one it or whatever its called :)06:43
imbrandon:)06:43
SpamapSimbrandon: nice07:15
SpamapSimbrandon: so we're stuck in a weird spot right now07:15
SpamapSimbrandon: python dev is supposed to cease...07:15
SpamapSimbrandon: but go is still not really useable07:15
SpamapSimbrandon: they'll be usable soon.. and caught up I'm sure in a "months" measurable time frame07:16
bkerensa=o07:20
SpamapSyeah, I am =o too :-P07:20
bkerensaSpamapS: python dev will cease wha?07:20
SpamapSbkerensa: yeah, all new features will go into the go version07:21
bkerensaoh07:21
SpamapSbut..07:21
bkerensaso python-dev will not be carried as a package anymore?07:21
SpamapSI dunno.. they seem very far behind.07:21
SpamapSbkerensa: no we'll keep shipping python-dev in Ubuntu.. ;)07:21
bkerensaoh l07:22
bkerensaok then :D07:22
SpamapSbkerensa: or are you meaning, python-juju ?07:22
SpamapSThat version is the only working version of juju right now, so it will continue to be the one that goes into Ubuntu until the go version can do everything it can.07:22
bkerensapython2.7-dev07:22
bkerensa:P07:22
SpamapSright ok well I'm too tired to know if we're talking in circles or I'm just out of brain power07:23
SpamapSso.. I'll just sleep. :-P07:23
=== OutOfControl is now known as benonsoftware
=== almaisan-away is now known as al-maisan
imbrandonbkerensa: we're only talking of python dev ceasing in relation to juju core, not ubuntu as a whole, juju is being rewritten in go10:15
imbrandonSpamapS: gnight , see ya when ya wake :)10:15
=== al-maisan is now known as almaisan-away
=== daker_ is now known as daker
Davieyhola12:32
niemeyerHello all12:45
* koolhead17 hola backs Daviey :P12:46
koolhead17niemeyer, hi12:46
fwereade__niemeyer, heyhey13:00
fwereade__niemeyer, is it meeting time?13:00
niemeyerfwereade__: It was 14UTC, but if everybody is ready we can do it now13:02
fwereade__niemeyer, I'm easy, just hadn't picked up on being 2 hours off instead of 113:02
=== ahs3` is now known as ahs3
jcastrofwereade__: hey, did we forget to announce subordinates on the mailing list?15:19
fwereade__jcastro, if yu mean constraints, then ...er, probably, there hasn't been anything since the warning mail a couple of weeks ago15:21
jcastrohmm, did I miss the mail on subordinates then?15:22
fwereade__jcastro, ...and if you do mean subordinates then I'm afraid I have no idea, I've been up to my eyebrows in constraints exclusively, sorry15:23
jcastrook I think I am mixing you up with someone else. :)15:23
jcastrobut hey a quick "hey guys this is finished, here are the docs" wouldn't hurt for constraints either.15:23
jcastroah, subordinates, that's hazmat and bsaller right?15:24
jcastrohazmat: ping15:25
fwereade__jcastro, thanks, good plan15:25
imbrandonhrm i deleted this branch long ago, http://jujucharms.com/~imbrandon/oneiric/quickdrop15:31
imbrandonshould it not get cleaned up ?15:31
jcastrowhen?15:31
imbrandonon cron ?15:31
imbrandonas in the branch has been gone for weeks15:32
jcastrodid you just now remove it?15:32
jcastrooh15:32
jcastrosounds like a bug then15:32
imbrandonmaybe 2 weeks15:32
jcastrosec15:32
imbrandonkk15:32
jcastroI'll file it15:32
imbrandonkk ty ty :)15:32
jcastroit's lp:~charmworld for the web UI btw15:32
imbrandonahhh kk15:32
imbrandonbtw i installed hub, makes git work with github like bzr does lp , soooo nice15:33
imbrandongit clone drupal6 == clones my fork of drupal6 or , git clone jcastro/drupal6 == for yours :)15:34
=== Furao_ is now known as Furao
hazmatjcastro, pong16:33
hazmatyeah.. i don't think we've announced the subordinate capability16:33
hazmatthey landed end of last week16:33
* jcastro nods16:33
SpamapSwe should16:33
jcastrowouldn't hurt to post it this week16:33
SpamapSI've already written puppet as a subordinate charm16:33
jcastroconstraints was just announced!16:33
hazmatand their even documented.. https://juju.ubuntu.com/docs/subordinate-services.html16:34
SpamapSYeah the docs are very good16:34
* imbrandon is working on his first sub charm now, newrelic16:34
SpamapSthough the 'juju-info' relation is not super discoverable in them16:34
hazmathmm.. good point16:35
SpamapSoh yeah we need to make an RDS sub charm16:35
SpamapSand an ELB sub charm would be cool too16:35
imbrandonhell yea16:35
SpamapSalso a mysql proxy sub charm with the 'is this a write or a read' ruleset that can then send writes or reads to masters/slaves16:36
SpamapS<-- full of ideas, out of time ;)16:36
hazmatSpamapS, why those  be sub charms? their both standalones16:36
hazmatrds and elb16:36
SpamapShazmat: you're going to run an entire instance, to make API calls?16:36
SpamapShazmat: external services work great as subs16:37
hazmatSpamapS, or i propogate ec2 credentials everywhere?16:37
SpamapSor, should anyway16:37
SpamapShazmat: thats why Amazon has the sub-creds stuff16:37
imbrandonsub keys16:37
* SpamapS forgets the acronym16:37
hazmatjcastro, so i'm not entirely clear that we ever allow 'deletion' of a charm16:37
imbrandoniam16:37
imbrandonhpcloud has it too16:37
hazmatniemeyer, does the charm store ever delete a charm because its upstream branch in lp is gone?16:37
niemeyerhazmat: Nope16:38
SpamapShazmat: I happen to agree with you, but short of placement: local .. we really shouldn't waste an instance on stuff like that.16:38
SpamapSdoh16:38
imbrandonhazmat: the charm in question is mine, i renamed it and the old one is gone for good16:38
SpamapSwe need like, a daily delete cron or something16:38
imbrandonlike for weeks now16:38
imbrandoni'm sure there are others though16:38
SpamapSdeletes.. the bane of all syncing systems16:39
imbrandonhttp://jujucharms.com/~imbrandon/oneiric/quickdrop16:39
imbrandon--delete-after :)16:39
jcastroDo we care if they're deleted or not, maybe just "don't display"?16:39
imbrandonwell it dont display now, i found it via the interfaces16:40
imbrandonwell dont display on the main cs16:40
imbrandonclicked interfaces, then http, then there i was :)16:40
imbrandonheh16:40
hazmatjcastro, imbrandon the problem is someone may have already deployed it16:41
jcastrooh16:41
hazmatand at that point deleting it is.. is really bad for a user of the charm16:41
imbrandonbut yes ultra hide seems ok since thet are essentially namespaced by dev, so even someone with the same name charm would be ok later16:41
jcastrook so I would think we'd do that for cs:foo, but not cs:somedude/foo16:42
imbrandonhazmat: not knowing its un-maintained might be as bad though16:42
imbrandonand if the branch is gone , whats the hurt in deleting it, it cant be deployed anyhow16:43
hazmatimbrandon, true... for the browser we could hide it from listings and search, but show it on direct nav16:43
hazmatand perhaps highlight its unmaintained status..16:43
jonoSpamapS, you around?16:43
jcastrohazmat: that's what I was thinking16:44
imbrandonhazmat: yea i'd say hilight its unmaintained too16:44
imbrandonand even put that in juju status if able to16:44
SpamapSjono: I am! wassup?16:44
jcastro"branch not found, there's a good chance this might be unmaintained, here's a link to the official one in this same namespace..." or something16:44
jonoSpamapS, I have these nodes that just arrived at my place, I am going to bring them in this afternoon, but will need a hand getting them in the venue16:44
jonocan you help me?16:44
jcastrojono: he's not there, you want zul or Daviey16:44
SpamapSjono: I arrive Thursday morning16:45
imbrandonheh16:45
jonoahhhh np16:45
SpamapSjono: when I said I'm "around" .. I'm .. like.. fat, and spilling all over my chair. ;)16:45
jonozul, Daviey can either of you guys help?16:45
jonoSpamapS, lulz16:45
imbrandonthey should have made openstack closer to with uds so i coulda went :)16:45
imbrandonhahah16:46
SpamapSimbrandon: it has become the pre-drinking event to get your liver ready for UDS16:46
imbrandonhahah16:46
hazmatjono, i'm around16:46
hazmatjono, i can rope in folks as needed to help out16:46
imbrandoni'm good then, no need to see jono bottle dance after the first time16:46
imbrandonalthough i am hoping he drags along a les paul or some such this time since its not that far :)16:47
jonohazmat, that would be cool16:47
jonoI am going to go and see if they fit in my car in a few mins16:48
SpamapSheh.. jono is juju's roadie16:49
imbrandonhah16:49
SpamapSman, we need to revive the effort to have '--set' passable to deploy. That was a great idea.17:02
marcoceppi--set for like, initial config options?17:07
SpamapSyeah17:08
marcoceppi+117:08
SpamapSThough I see a lot of really bad practice with that17:08
SpamapSpeople writing "this will only be applied at install time'17:08
SpamapSI am pondering making config-get in 'install' a warning in charm proof. configs should really only be applied in config-changed17:09
SpamapSotherwise they lose their magical powers to morph the service as needed17:09
hazmatSpamapS, well they could get defaults in install, you can set config at deploy17:09
hazmatits a fail though for charms that require config at deploy imo17:10
SpamapShazmat: that doesn't make any sense though. It can be changed, so it should be handled *only* in config-changed.17:10
SpamapSeven if it is the default17:10
SpamapSinstall is for stuff that *always* has to happen17:10
hazmatSpamapS, true and we do execute config-changed always before start17:10
SpamapSexactly17:10
marcoceppiSpamapS: wouldn't it eventually be handled in config-changed even during first install17:10
SpamapSmarcoceppi: yes17:11
marcoceppiso, yeah17:11
SpamapSso anything that you do 'config-get' for in install, should be moved to config-changed17:11
* marcoceppi goes back through his charms17:11
SpamapSI'm sure we've all made the mistake :)17:11
imbrandonSpamapS: tells SpamapS minus one year there is a json interface :)17:11
imbrandon:)17:12
SpamapSinorite17:13
SpamapSSpamapS minus one year had no config-get17:13
imbrandonhehe17:13
robbiewjcastro: going to send the shirts today...to our west coast warehouse, aka jono's house17:16
jcastronod17:16
jcastroI'm bringing the micro right?17:16
robbiewyes17:16
robbiewI'm bringing another, but we need a murphy's law machine17:16
robbiew;)17:16
imbrandontwo if jcastro is responsable for one17:17
* imbrandon dips his head back into the code17:17
jcastroimbrandon: you've published things on OSX right?17:22
jcastroimbrandon: maybe we should look at the OSX juju work?17:22
imbrandonyea17:22
imbrandonand yea17:22
jcastrohttps://juju.ubuntu.com/OSX17:23
jcastroany help here would be <317:23
imbrandonohh awesom the hardpart is done17:23
imbrandonsweet17:23
imbrandonyea i'll get this on wrap sometime in the next 2417:23
jcastroyou have 10 days actually. :)17:24
imbrandoninfact looking at this, i can get it down to one command17:24
jcastrobut getting it all sorted before then would be wicked17:24
imbrandonjcastro: great cux my laptop only runs osx atm , that might change at usd17:24
imbrandonbut lol17:24
imbrandonnah i'll be dual booting17:24
imbrandonbut yea for sure in 10 days, i can get this down to one command i can allready tell17:25
imbrandonsweet17:25
jcastroimbrandon: if we need to host some stuff on officialish resources I can help you with that17:25
jcastrowe _need_ to work awesome on OSX17:25
imbrandonnah we want it in the official brew trree17:25
jcastrooh ok, well, whatever you kids are into17:25
imbrandonthat way a user littrally says17:25
imbrandonbrew install juju and is done17:25
jcastrothat would be nice17:26
imbrandonand no sef respecting devops dosent already have brew installed, but if not its just one more command17:26
imbrandonself*17:26
imbrandonbut yea, i'm on it17:26
imbrandonoh wow these are old too, this is a few months out of date17:27
imbrandonsweet ok, /me is happy now17:27
imbrandoninfact jcastro i may take you up on the hosting thing17:28
imbrandonthe more i think about it i can also produce dmg installers17:28
imbrandoni forget i'm a "official" apple dev and can code sign packages :)17:29
imbrandonlol17:29
jcastroI will get you anything you need17:29
imbrandonsweet yea, it would only be the equiv of a .deb17:29
imbrandonbut with 10.8 you they have to be code signed with an approved key17:30
imbrandondamn appple walled garden, but lickily i have such key for macos and ios for atleaste the next 10 months17:30
imbrandon( $100 bux a year each , but i just renewed )17:31
imbrandonSpamapS: rember that ,its the "Seem exclusive but not Be exclusive", like a stripper :)17:32
SpamapSyeah, thats what new-charm is :)17:33
SpamapSI think anyway17:33
imbrandon:)17:33
m_3SpamapS: when you get a sec, I'd love to go over precise charms17:33
SpamapSm_3: any glaring problems?17:34
m_3SpamapS: nope, not at all17:34
m_3SpamapS: just leaning towards _not_ making any big changes through launchpad this week17:35
imbrandonjcastro: wont happen in 10 days but i can get it into the app store too ( approval process takes longer than 10 days )17:35
m_3SpamapS: just push and demo against cs:~charmers/precise/<blah> for what's needed17:36
SpamapSm_3: hrm17:36
SpamapSm_3: where's your sense of adventure?17:36
m_3SpamapS: I don't have a17:36
m_3ha!17:36
m_3don't have any specific problems with upgrading across the board other than lots of moving parts and the risk of breakage17:37
m_3demo faeries(sp?) and such17:37
m_3more charms "just worked" than I expected17:38
jcastrowell that's a good sign at least.17:38
m_3jcastro: yeah, the process went really well... I'm just pretty skiddish when it comes to changes during big demo time17:39
m_3skittish?  hell, I need more coffee17:40
imbrandonswitch to IV, works better i found17:40
jcastrowell hey, if we want to flip the switch next week then that means we can promulgate the next three in the queue right? :)17:40
SpamapSm_3: the MaaS demo isn't using cs: is it?17:42
SpamapSrobbiew: ^^ ?17:43
m_3imbrandon: I bet17:43
m_3SpamapS: it sounded like they were excited about showing the charmstore17:43
robbiewIt would be nice, not a requirement17:43
robbiewtbh, we'll probably script the deployment anyway17:43
jcastrowell, if we don't have to fix it now we have to fix it by release17:44
jcastroso we might as well fix it now17:44
robbiewand walk folks through it17:44
m_3SpamapS: in discussing it last week, it sounded like they were ok with cs:~charmers/precise/<blah> though17:44
m_3'juju deploy cs:~charmers/precise/hadoop' -vs- 'juju deploy hadoop'17:44
robbiewI wouldn't worry about affecting the demo...hell, we might use local charms just to avoid any surprises17:44
* robbiew goes to ship boxes...back l8r17:45
m_3SpamapS: ok, well it sounds like we should pull the lp switch to promote them to precise then17:46
jcastrom_3: charm school tomorrow for QA folks!17:55
m_3jcastro: yup... is there anything in particular that peeps wanna see?17:57
jcastronope, it sounds more like it'll be a Q+A of their questions,17:57
m_3yeah... cool17:57
m_3jcastro: are there few enough to do it in a hangout?17:57
m_3jcastro: or should I spin up juju-classroom17:57
jcastroI asked for G+ but they want phone+IRC I guess17:58
jcastroso maybe it's more than 1017:58
m_3jcastro: don't see anything about phone... is there a conference thingy?17:59
jcastronot obvious to me, I'll follow up over email, you'll be CCed18:00
m_3jcastro: cool thanks18:00
m_3jcastro: re the openerp6.1 split... there can be as many openerp charms in the store as people want18:01
jcastroright I get that, what I am wondering is if it makes sense to do that18:01
m_3sorry, not in the store... int he repo18:01
jcastrooh right18:02
m_3in the store, we need to have one18:02
m_3imo18:02
m_3I'd like them to just play together and figure out how to combine them18:02
m_3but I understand that may be unrealistic18:03
m_3so either combine, or pick one to keep in the store and one to keep in a separate repo18:03
m_3jcastro: cool with you?18:03
jcastrosure18:04
jcastroI just didn't want them to accidentally duplicate work18:04
m_3right18:04
jcastrohttp://www.rackspace.com/blog/next-generation-rackspace-cloud-servers/18:21
jcastroanyone try juju on this yet?18:21
jcastromarcoceppi: new toys ^18:21
marcoceppijcastro: I signed up for their beta through my company, never heard back from them.18:22
avoinejcastro: I need to setup awsome proxy first but I'll give it a try18:24
avoinemarcoceppi: strange I got a reply the next day18:24
jcastroSpamapS: I'll hit lunch then we can G+? We can talk charm store too with m_3 if we want18:26
SpamapSjcastro: can we G+ first?18:26
SpamapSjcastro: I'm ready right now18:27
jcastroSURE18:27
imbrandonwin 718:27
jcastrofire it up18:27
imbrandondoh18:27
SpamapSOk I'll initiate18:27
jcastroSpamapS: invite the others too if people want to hang out18:27
SpamapSbtw, but 98331318:27
jcastroI am feeling very "light at end of the tunnel let's hug alot."18:27
SpamapSbug 98331318:27
_mup_Bug #983313: New Charm: puppet + puppetmaster <new-charm> <Juju Charms Collection:New> < https://launchpad.net/bugs/983313 >18:27
SpamapSjcastro: me too18:28
SpamapSbut with mayonaise18:28
imbrandoni'll hang, if nothing else to listen18:28
SpamapSimbrandon: its mostly logistics around our demo Thursday.. right after the hugs18:29
imbrandonlol18:29
imbrandonk /me goes back to fixing the lxc18:29
m_3SpamapS: hey18:39
m_3SpamapS: looks like it worked... aliases are pointing at precise18:40
SpamapSoh they are?18:40
m_3SpamapS: yay, ok, so I'll start manual changes for ones that're not supposed to be there in precise18:40
m_3test out 'juju deploy <blah>' if you get a chance... here're the ones we expect to work http://ec2-23-20-58-1.compute-1.amazonaws.com:8080/18:44
m_3I'll do the same after fixing some links18:44
m_3SpamapS: perhaps we need another '--fix' round from charmtools?  /me looking to see if bzr keeps the actual branch or the alias18:47
SpamapSm_3: alias18:52
SpamapSm_3: or at least, it should18:52
SpamapS  parent branch: bzr+ssh://bazaar.launchpad.net/+branch/charms/subway/18:53
imbrandonjcastro: woot i now have the ability to blitz with 625 concurrent users ( standard free acct is 250 )18:54
imbrandonlooks like others liked the video too :)18:54
imbrandonBrandon,18:55
imbrandonCool screencast! We've added one-time +250 credits to your account so you free plan gets bumped to 500 concurrent users. Of course, with referral credits you can get this up to a max of 750!18:55
imbrandonfrom blitz.io in my email18:56
imbrandon:)18:56
SpamapSimbrandon: that scool18:56
imbrandonhellz yea :) /me is even more happy now18:56
imbrandoni already had 125 referal credits18:56
imbrandonso 625 now :)18:56
SpamapSOk, folks PRECISE is the new dev focus for charms.18:59
SpamapScharm promulgate will now promulgate to precise18:59
SpamapSlp:charms/* is now precise19:00
SpamapSall branches have been copied forward19:00
SpamapSoneiric, may ye rest in stability.. aaaahhhmmeeen19:00
jcastroSpamapS: ok so on precise "juju deploy mysql" will do precise?19:00
SpamapSyep19:01
SpamapSits like we planned it this way :)19:01
m_3SpamapS: jcastro:technical difficulties... one sec19:03
SpamapSm_3: clearly :-P19:03
koolhead17SpamapS, are you not at ODS?19:28
SpamapSkoolhead17: no, I go on Thursday19:29
koolhead17SpamapS, okey. We have Juju/Maas?openstack demo there?19:29
SpamapSniemeyer: an hour ago we copied all the oneiric charms to precise, but they're not showing up as cs:precise/xxxx ... what criteria does the charm store use to determine if it should import a charm?19:45
niemeyerSpamapS: Can you give me a sample of a charm that isn't showing but should?19:46
niemeyerSpamapS: If you copied all of them at once, it might be that it's still importing19:47
niemeyerSpamapS: I can't check that without help from someone with superpowers19:47
matsubarahello there. I'm trying to juju ssh to an running instance but I'm getting this error: Incompatible juju protocol versions (found 1, want 2). Is this a known error/bug? Is there a workaround?19:48
matsubaraI'm using juju: 0.5+bzr531-1juju5~precise1 fwiw19:49
m_3f/win 320:00
m_3SpamapS: so maybe metadata[maintainer]... and have promulgate create-or-add-to a "<charm>-maintainer" group.  Ok, I guess that's simpler than I was thinking20:09
m_3s/<charm>-maintainer/<charm>-maintainers/, but keep the metadata field singular so there's a single point-of-contact20:10
m_3I'm getting a... bzr: ERROR: Permission denied: "~charmers/oneiric/znc/trunk/" when trying to backport a charm fix to oneiric20:17
m_3SpamapS: who were you working with in lp with super powers?20:18
m_3(the precise lp:charms/znc pushed just fine though)20:18
m_3jcastro: hey, can you send me the final of the charmschool handout?  I wanna make sure the node charm is named / behaves the same... I've used two versions over time20:25
jcastrom_3: in your inbox!20:26
m_3jcastro: thankyouverymuch20:27
m_3It's an aubergine world :)20:29
m_3negronjl: hey man, please test out 3-node mongodb replsets on precise when you get a chance... it's front-and-center in the juju handout we'll be using at ODS and I haven't run it on anything but oneiric  (lp:charms/mongodb now points to lp:~charmers/charms/precise/mongodb/precise).20:34
negronjlm_3:  I'll do that sometime today20:35
negronjlm_3:  Let me finish some MaaS testing first20:35
m_3negronjl: thanks!20:35
m_3jcastro: crap... typo20:35
m_3jcastro: "juju add-unit -n20 hadoop hadoop-slavecluster" should read "juju add-unit -n20 hadoop-slavecluster"20:36
m_3jcastro: at least it's not really a big one at all20:37
jcastrodidn't you review this like 3 times already?20:37
m_3I reviewed an early version... the google doc20:37
jcastrothat was the final draft I sent you, I don't know what's actually on the paper at ODS right now20:37
SpamapSm_3: any losa in #launchpad-dev can do it. thedac helped me out20:38
m_3SpamapS: thanks20:38
jcastrom_3: jamespage reviewed it too20:38
jcastrom_3: I am hoping what I sent you is just wrong. :)20:39
SpamapSmatsubara: re your problem, are you by any chance spawning oneiric machines with 'juju-origin: distro' ?20:39
m_3jcastro: no biggie... it's a small one.  We can catch it before the nxt batch gets printed up.  nothing to do before ods20:39
SpamapSniemeyer: I tried 'statusnet' and 'subway'20:41
matsubaraSpamapS, this is my environment.yaml for that env: https://pastebin.canonical.com/64366/. answering your question, no, I spawned a precise machine and have no juju-origin: distro in my environment.yaml20:41
matsubaraSpamapS, that environment was bootstrapped on 2012-02-29 and have been running since then20:42
SpamapSmatsubara: ugh, you may have to re-bootstrap20:43
matsubaraSpamapS, really? how about the services I already have running there? re-deploy them?20:43
matsubarawell, to be fair, I only one service running on that env, it's the MAAS jenkins instance20:43
matsubarabut even so I wasn't expecting that a juju version change would require me to re-deploy my services :-(20:44
matsubarashould I file a bug about this?20:44
m_3SpamapS niemeyer: I just noticed that things are aliased to lp:~charmers/charms/precise/<charm>/precise and not /trunk... is that going to cause problems?20:45
matsubaraSpamapS, I can get access to the ec2 instance by ssh directly to its public dns address. Would that help?20:45
SpamapSmatsubara: I don't believe there's any migration code to morph your version 1 zk tree to version 220:46
SpamapSm_3: yes thats likely the problem, DOH20:46
SpamapSmatsubara: we won't do that once the release is stable.. but during dev re-factoring ZK had to be done unfortunately20:47
jcastroSpamapS: hah idea for charm school. How about towards the end we let people who set up their laptops deploy to the cloud right there20:48
jcastroSpamapS: like, it's one thing for you to be deploying to it, it'd be sweet if people from the audience can just deploy something20:48
SpamapSjcastro: yeah that should work20:48
SpamapS    if len(u) < 5 || u[1] != "charms" || u[4] != "trunk" || len(u[0]) == 0 || u[0][0] != '~' {20:49
SpamapS        return "", nil, fmt.Errorf("unwanted branch name: %s", name)20:50
SpamapSm_3: curses20:50
SpamapS    }20:50
SpamapSm_3: we'll need to have a special argument of some kind for branch-distro, or update the charm store.20:50
SpamapSsilly launchpad.. why do pushes store in 'trunk' but branch-distro stores in $series? :-P20:51
m_3SpamapS: we could move them again to charms/precise/<charm>/trunk right?20:51
SpamapSI just re-promulgated statusnet as 'trunk'20:51
SpamapSwaiting to see if it appears as cs:precise/statusnet20:52
m_3we really could do it manually if necessary... the hard part is the aliases20:52
SpamapSWell I'm waiting to see if manually fixes it20:53
SpamapSniemeyer: how often does the store pull from launchpad?20:53
* m_3 didn't realize it was more than a pull-through directly to lp20:54
m_3good to know it caches... that'll help debugging stuff later20:55
niemeyerm_3: Yep, that won't work20:57
niemeyerm_3: "trunk" is the only name pulled from20:57
SpamapSlooks like statusnet is there now20:59
SpamapSso rename/repromulgate should work20:59
m_3SpamapS: you wanna do that or shall I?21:08
SpamapSm_3: if it floats your boat, go for it!21:09
SpamapSm_3: should go in charm tools21:09
m_3the repromulgate is the problem for me21:09
m_3I'm concerned the aliases will just always push to .../precise branches now though21:10
m_3don't we have to have those changed somewhere?21:10
m_3hell, lemme just try it on one and see how far I get21:11
SpamapSm_3: promulgate changes the alias21:23
m_3SpamapS: it won't let me delete the precise branch21:24
SpamapSm_3: don't delete it!21:24
SpamapSm_3: push --remember, then promulgate21:24
m_3SpamapS: ok, that worked.... scripting it now21:30
m_3it looks like we'll have to go in and delete the /precise branches though21:31
m_3they're dangling atm21:31
m_3(for example, sbuild)21:31
m_3oh, wait... it shows it as stacked on /precise21:32
m_3SpamapS: ok, I need help... this is pooched21:35
m_3at the end of this process we'd have lp:charms aliases pointing to /trunk branches stacked on /precise branches that can't be removed21:36
m_3perhaps branch them locally, delete the /precise, and _then_ push/promulgate?  more dangerous21:37
=== marrusl_ is now known as marrusl
negronjlm_3: having issues with juju/precise at the moment.  Once I bootstrap, I cannot connect.  Have you seen this before?22:08
m_3negronjl: yes... watch cli version -vs- 'juju-origin'22:09
negronjlcli version: 0.5+bzr531-1juju5~precise122:10
negronjljuju-origin: ppa22:10
negronjlm_3: ^^22:10
m_3negronjl: it's possibly broken again recenly... lemme look at my versions22:11
SpamapSm_3: there should be no need to branch locally, and I don't mind having the old stacked-on branch there22:16
SpamapSm_3: really the stacked stuff is just an optimization22:16
m_3SpamapS: ok... we can keep danglers then22:16
m_3SpamapS: discussing this in #launchpad-dev atm22:16
SpamapSoh good22:16
m_3negronjl: creating a new environment... few more minuts to verify22:21
negronjlm_3: cool .. thx22:21
imbrandonthats one of the things i dont like about hg/bzr , branches in their own dir, why cant they use hardlinks like git :(22:24
imbrandonto me thats not really a branch, its a fork whe its 100% sep like that22:25
* negronjl will be back in a few22:34
_mup_Bug #983530 was filed: charm store should publish all 'Mature' branches. <juju:New> < https://launchpad.net/bugs/983530 >22:40
SpamapSniemeyer: ^^ an idea, I'd appreciate your feedback.22:40
m_3win 222:41
m_3geez, I've been leaking irssi commands all day22:42
niemeyerSpamapS: Looking22:43
jcastroSpamapS: can you blogify your constraints email? It's too cool to not just be on the project list.22:44
SpamapSjcastro: will do22:44
SpamapSreminds me.. I need to upgrade my blog to precise22:45
* SpamapS considers doing it with juju22:45
m_3ok, three more charm branches to fix...22:49
SpamapSjcastro: http://fewbar.com/2012/04/juju-constraints-unbinds-your-machines/22:53
m_3SpamapS: we need to not run branch-distro again...23:05
m_3it's taking pre-existing branches and stacking them on top of the copied over oneiric branches23:06
m_3I don't know a clean way to fix rabbitmq-server for example23:07
SpamapSm_3: eh?23:08
m_3there's merge history in lp:~charmers/charms/precise/rabbitmq-server/trunk23:08
SpamapSm_3: rabbit qas forked23:08
SpamapSwas forked even23:08
SpamapSit shouldn't have been touched23:09
m_3so ideally we'd just promulgate that branch to lp:charms/rabbitmq-server23:09
SpamapSoh weird23:09
m_3but we just dropped lp:~charmers/charms/oneiric/precise/rabbitmq-server/trunk right into lp:~charmers/charms/precise/rabbitmq-server/precise23:10
SpamapSm_3: we probably just need to push --overwrite and then rename that one/delete the old one23:10
m_3so now the precise .../trunk and .../precise are stacked23:10
SpamapSm_3: yeah I see that23:10
SpamapSthats bad, mmkay23:10
m_3but trunk's not on the bottom, so we can't delete /precise23:10
SpamapSm_3: right so we have to --overwrite. I don't know if it will worked since it is stacked on tho23:10
SpamapSm_3: let me try23:11
m_3BTW, while looking at that... one extra part23:11
SpamapSmy typing is godawful today ugh23:11
m_3I brought the .../precise branch up to 17 in hopes that I could do something from there23:11
SpamapSwell then it looks fine, just rename23:12
m_3can't do that b/c there's already a branch of that name23:13
SpamapSrename that one too23:13
m_3ok23:13
m_3we're losing info on the pre-existing precise branch (merge history)23:13
SpamapSwhere?23:14
m_3comparing:23:14
SpamapSOh the merge proposals?23:14
m_3https://code.launchpad.net/~charmers/charms/precise/rabbitmq-server/trunk23:14
m_3with:23:14
SpamapSsuch is life23:14
m_3https://code.launchpad.net/~charmers/charms/precise/rabbitmq-server/precise23:14
m_3right23:14
m_3ok with this particular case... but we wanna not have to do this next time23:15
imbrandonSpamapS: if you get a half sec my bash foo is failing me, and i want to do something similar in a charm but cant figure out the quoting ... http://paste.ubuntu.com/933268/    , no rush, just if you have a moment now or later23:15
imbrandonor m_3 :)23:15
SpamapS#!/usr/bin/env bash23:17
SpamapSreally?23:17
imbrandonheh habbit23:17
SpamapSyou have a platform that doesn't have bash in /bin?23:17
SpamapS:)23:17
imbrandoni do it for p[ython php etc23:17
imbrandonso its just habbit :)23:17
SpamapSimbrandon: whats the question?23:18
imbrandonsee the last filename transforamtion23:18
imbrandonits all messed up, truncates the first half23:18
imbrandonthe one with spaces23:18
m_3imbrandon: add a new line 'local crushed_filename=$(basename...)' then reference that variable below23:18
=== matsubara is now known as matsubara-afk
imbrandoni tried all diff combos of quotes and pullin hair out23:18
imbrandonhrm , not thought of that, kk23:19
m_3should reduce the num of "'s your having to deal with on any given line23:19
imbrandonheh yea23:20
imbrandoni hate bash for this reason alone, if i could get my head arround the spaces better i would love bash scripting probably more than anything else23:20
m_3imbrandon: still sucks for functions and scoping though imo23:21
imbrandonyea but as far as gen stuff its very very vers23:21
imbrandonand everywhere23:21
SpamapSbash scripts longer than 25 lines are just prototypes for perl/python/ruby23:24
imbrandonheh true23:24
m_3oh, that's impressive... we now have lp:charms/rabbitmq and lp:charms/rabbitmq-server23:24
SpamapSm_3: how did that happen?23:24
imbrandoni would say php,perl,ruby in that order but yea :)23:25
m_3when I renamed the old precise/rabbitmq-server/trunk to precise/rabbitmq-server/old-trunk23:25
imbrandonheh23:25
SpamapSimbrandon: you are the only one who wants to write CLI php.23:25
m_3it popped up on the list :)23:25
imbrandonhaha no i'm not , i see it daily23:25
SpamapSimbrandon: people do it because they have to23:25
* m_3 narrowly averted religio... uh... _language_ discussion.... whew!23:25
imbrandonheh :)23:25
m_3ok, so I kinda like the name rabbitmq better than rabbitmq-server :)23:26
m_3... but ours is not to judge23:26
imbrandoni've come to embrace most people dont like php, thast ok though it keeps me employed and i'm not super anoyed by it23:26
imbrandonfrak ok, i'm missing something here, i got the same eaxct results just using a var now23:27
SpamapSm_3: 1:1 package:charm is appealing23:28
imbrandoncrushed_filename=$(basename "$file" .jpg)-crushed.jpg23:28
imbrandonstill truncates anything before the last space ina filename23:28
m_3remove the ""23:29
m_3basename $file .jpg23:29
imbrandonpretty sure i trued that23:29
imbrandonlemme check23:29
imbrandonbasename: extra operand `Sing'23:29
m_3basename \"$file\" .jpg23:30
imbrandonhrm23:30
imbrandonkk23:30
imbrandonnope, ok i;ll let you guys back at it, you were busy, i'll hit the adv bash guide23:31
imbrandonthanks though, dont wanna tie ya up for this23:31
m_3maybe two steps if necessary.... base=$(basename $file); crushed_filename=${base%%.jpg}-crushed.jpg23:31
imbrandonhrm, not sone that before23:31
m_3that should work _around_ spaces ok23:31
imbrandonii'll have to look it up if it wokr23:31
m_3might have to replace basename with ${base/.*\//} (not exact syntax though... and you gotta make sure it's a greedy match)23:34
imbrandonohhhh ok23:34
imbrandoni see23:34
imbrandonrockin and thats workin23:34
imbrandonty23:34
m_3which one?23:35
imbrandonfirst23:35
m_3basename and then %% subst23:35
m_3cool23:35
imbrandonyup23:35
imbrandonok foood time, ty very much23:35
imbrandonthen to publish the newrelic charm23:36
m_3crap...23:36
m_3SpamapS: how can I remove an alias without deleting the branch?23:39
imbrandon  crushed_filename=${file%%.jpg}-crushed.jpg23:39
imbrandon  du -sh "$file"23:39
imbrandon  echo jpegtran -copy none -optimize -perfect "$file" -outfile $crushed_filename23:39
imbrandon  echo du -sh $crushed_filename23:39
imbrandonshit , sorry23:39
SpamapSm_3: I don't know.. probably need the API23:41
SpamapSm_3: why not just delete the branch?23:41
m_3adam's got other stuff stacked on top of it... I can't (and shouldn't) delete it23:42
m_3I'm reading through promulgate to see if I can find the right lplib stuff23:42
m_3I'm thinking that one's well and truly screwed... it got promulgated twice as two separate names23:44
m_3(not me!)23:44
m_3I'm sure it happened in the early days of promulgation23:44
imbrandonpromstrangulte23:45
* m_3 likes that word better23:46
m_3gonna grab food... bbiab23:47
SpamapSm_3: ok we'll figure out a way to resolve this later23:52
SpamapShazmat: When you're around, we should change http://jujucharms.com/charms so it breaks up the series more. Perhaps even only show the current active series.23:57

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