/srv/irclogs.ubuntu.com/2012/03/27/#juju.txt

hazmathmm. and keeps going down00:00
hazmatugh.. looks like i hit the 2gb limit on 32bit00:01
hazmatwhich is odd because the db size is nowhere near that00:02
hazmathm.. no that wasn't it00:05
hazmatits back00:06
hazmatshazzner_, incidentally thats also now available at http://jujucharms.com00:06
hazmatm_3, thanks for the heads up00:06
hazmati installed some cheesy monitoring software (amon) recently (also stores in mongodb).. i can't think of any other reason why mongo went bust00:07
m_3hmmm... right.  shazzner_ thanks for the catch!00:08
shazzner_hazmat: oh awesome! :)00:11
shazzner_and np00:11
_mup_juju/relation-id-option r510 committed by jim.baker@canonical.com00:46
_mup_Relation name is optional for relation-ids00:46
bkerensaSpamapS: any news on contest?00:47
bkerensa:D00:47
_mup_juju/relation-id-option r511 committed by jim.baker@canonical.com00:52
_mup_Docstrings, PEP8, PyFlakes00:52
_mup_juju/relation-id r495 committed by jim.baker@canonical.com00:53
_mup_Merged trunk00:53
_mup_juju/relation-hook-context r502 committed by jim.baker@canonical.com00:54
_mup_Merged upstream00:54
SpamapSbkerensa: initial submissions should be in by now.. I was thinking jcastro would make an announcement on cloud.ubuntu.com00:54
SpamapSjcastro: ^^ ?00:55
bkerensa:D00:55
_mup_juju/relation-ids-command r505 committed by jim.baker@canonical.com00:55
_mup_Merged upstream00:55
shazzner_hopefully mine got in :)00:55
_mup_juju/relation-id-option r512 committed by jim.baker@canonical.com00:55
_mup_Merged upstream00:55
jcastroSpamapS: sure00:58
_mup_juju/relation-id-option r513 committed by jim.baker@canonical.com01:04
_mup_A last bit of PEP801:04
_mup_juju/relation-id-option r514 committed by jim.baker@canonical.com01:08
_mup_Removed debugging01:08
_mup_Bug #965845 was filed: Adds support for -r option to specify relation id for relation hook commands. <juju:In Progress by jimbaker> < https://launchpad.net/bugs/965845 >01:13
jimbakerso that completes the relation id support - when these branches land, this will enable enumerating relation ids and then use the relation id in any hook - not just relation hooks01:16
hazmatjimbaker, awesome01:35
ninjixI'm trying to figure out how to get files using the filestorage01:41
ninjixwhat does <Deferred at 0x1931290> mean?01:42
avoineit's a Deferred object01:42
avoineDeferred is from the twisted module01:42
ninjixis there somethings else I need to do with the object to read the contents?01:43
avoineninjix: you are trying to use the juju code from an other python module right?01:44
ninjixyes01:46
ninjixI'm using a main file for testing out the new provider functions01:46
ninjixI want to start interacting with a webdav server01:48
ninjixgetting my head around twisted module01:49
avoineninjix: this is the best introduction -> http://krondo.com/?p=120901:52
ninjixthank you01:52
ninjixavoine: this is a very helpful link01:56
avoineyeah it's really great01:56
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
_mup_Bug #781949 was filed: Must check certificates for validity <juju:In Progress> <txAWS:Fix Committed by therve> < https://launchpad.net/bugs/781949 >06:22
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== zyga is now known as zyga-afk
=== almaisan-away is now known as al-maisan
sladenjcastro AlanBell et al: I'm preparing some previews of the Ubuntu Mono font for a request.  Does anyone have a really nice juju-status screen they can snapshot?09:44
AlanBellnot I09:52
=== zyga-afk is now known as zyga
sladenAlanBell: any idea who here has a big cluster/cloud?10:31
lifelesssladen: amazon10:31
* sladen gives lifeless a cookie10:33
lifeless:P10:33
imbrandonsladen: maybe just take the simplets charm you casn find and fire a bunch up, should be fairly cheep it just booting screenshot shutting down eh?10:37
imbrandoncheap10:37
imbrandonplus all the other types blah blah10:37
* imbrandon rubs eyes10:37
=== daker_ is now known as daker
=== zyga is now known as zyga-afk
=== al-maisan is now known as almaisan-away
=== hazmat is now known as kapilt
marcoceppiIs there a flag to specify which Juju configuration to use?15:06
marcoceppilike a -c?15:06
m_3marcoceppi: configuration or environment?15:09
marcoceppiI guess environment, is there a switch to specify a different environment file?15:09
m_3marcoceppi: environment is 'juju status -emyenv'15:09
m_3you actually just add them into a single environments.yaml file15:09
m_3and then choose based on the '-e' flag15:09
marcoceppiright, okay. Was just wondering if you could use multiple environment files15:10
m_3there's talk of specifying this with JUJU_ENV too, but I don't know the status of the bug/branch15:10
m_3no... I've seen a bug for that though15:10
* marcoceppi is breaking the convention15:10
m_3I used to keep a bunch and just symlink them to ~/.juju/environments.yaml15:10
m_3but now I usually just cram them into a single environments.yaml file15:11
m_3I've got like 14 or so atm15:11
m_3really use 6 or so regularly15:11
marcoceppiyeah, I'm to 6 here15:11
m_3review queue, charmtesting, openstack, charm-dev, etc15:11
m_3marcoceppi: Bug #92239815:12
_mup_Bug #922398: cli should accept alternate config file path <juju:Confirmed> < https://launchpad.net/bugs/922398 >15:12
marcoceppim_3: Cool, thanks, until then I'll just keep pluging away15:13
marcoceppiMaybe I'll take a stab at patching it tonight15:14
m_3marcoceppi: cool!~15:14
marcoceppiit's suddenly become an important use case for me15:14
m_3marcoceppi: you could have juju-jitsu manage the env files with a symlink too15:16
m_3just sayin15:16
m_3better to put in a MP with the real fix, but maybe add it to jujujitsu until it landss15:17
=== zyga-afk is now known as zyga
jamespagemarcoceppi, any luck with the HP cloud?15:21
marcoceppijamespage: no, unfortunately not yet. I'm going to contact their forums see if I can convince them to expose the S3 api15:24
marcoceppiTried to use AWS s3 bucket but there's no way to differentiate the auth information for HP cloud and AWS15:24
jamespagemarcoceppi, hmm15:28
jamespageguess you never know15:28
imbrandonmarcoceppi: hows your local omg env one look, i'm curious, not tried anyting local yet15:34
imbrandonthe wp might work unmodified for drupal, well that part15:34
imbrandonaws just droped in git deployments of php apps to beanstalk15:36
imbrandonnice15:36
imbrandonand have a free teir for RDS now too, sweet, gonna try that oput today and see the reliability of it15:37
imbrandonman aws is almost to good to be tru sometimes, then i get the bill at the end of the month15:38
imbrandonlol15:38
imbrandoni wonder if they stuck rds into the s3cmd like they did the simpledb15:39
* imbrandon goes to look15:39
* m_3 loving the sbuild charm... awesome way to capture packaging lore/process15:47
imbrandonerrr, i missed that one, yea sounds like a good idea, i wondered if someone was gonna capture the buildds brinety etal from debian15:48
imbrandoni think that might make a intresting deployable cloud15:49
SpamapSm_3: I hadn't thought of it that way.. very interesting15:51
m_3SpamapS: I'm gonna ask for a really good readme :)15:54
m_3kees built it for the bugsquash party so everybody could have an instant build env15:56
SpamapSRight15:56
m_3I know that's sort of the point of sbuild itself, but... it's _much_ easier this way imo15:56
SpamapSm_3: I have to agree. just having a readme and all the tools you need installed on an instance is useful15:57
imbrandonSpamapS: out of curosity from our convo the other day i did go looking a bit to find something else like juju, and i did actualy come accross one, they use alot diff termanology and such but once your past that its really juju charms , the main diff it theirs is 100% wrapped in a hosted web gui15:57
imbrandonbut thats about the ONLY diff i couldl find15:57
imbrandoneven deploys to same places etc15:57
SpamapSBTW, has anybody tried putting 'placement: local' in an ec2 environment? I didn't realize this was still there.. but it allows you to build a single-node juju environment on ec2.15:57
imbrandonSpamapS: nope but i am going to now, i could use that15:58
SpamapSimbrandon: hosted web gui.. sounds like a PaaS15:58
* m_3 rethinks some stuff...15:58
imbrandonSpamapS: it is kinda a paas of juju15:58
imbrandonwell not juju15:58
imbrandonbut rember when you said we couldnt find anything the same15:58
imbrandoni could not either15:58
imbrandoncept one15:59
imbrandonRightScale15:59
SpamapSimbrandon: I dunno if I Meant to say that. There are other things the same, but none that let you share so easily and are fully open source.15:59
SpamapSlol15:59
SpamapSRightScale is pretty expensive yo. ;)15:59
imbrandonahhh kk15:59
imbrandoni'm using the forever free versino for less than 5 nodes15:59
imbrandonand deployed a few to aws to toy with it15:59
imbrandonits kinda clunky tho i mean nice ideas but not exaclent exacutino i would expect from their hype16:00
imbrandonanyhow, was just a passing thing16:00
imbrandon:)16:00
imbrandonfigured i'd scope the landscape for stuff to bring "home", i did gleen a few tidbits heere and there from a few16:01
imbrandonbut most of these places just plain a dont ork or b suck16:02
* imbrandon is still waiting for HP to call and let him have a beta env, its the only major player i havent touched yet even revisted gae to make sure they dident open something more than storage up16:03
robbiewimbrandon: I might be able to help with that ;)16:59
marcoceppim_3: SpamapS do we have a division of charms for review, or are we just going to review all of them?16:59
m_3marcoceppi: I was just picking based on cool names :)17:00
marcoceppiI'm going to download a whole bunch and review on the plane17:01
m_3marcoceppi: cool!... yeah, there's no harm in multiple reviews for a charm17:07
marcoceppiappflower looks cool17:07
marcoceppiI'm playing with their demo17:07
marcoceppijuju status doesn't show relation status per-unit anymore?17:11
marcoceppiarg, local provider isn't working anymore17:15
imbrandonrobbiew: that would be awesom :)17:16
robbiewimbrandon: let me see what I can do17:17
imbrandonk17:18
robbiewimbrandon: pm'd you17:19
SpamapSmarcoceppi: whats broken?17:22
marcoceppiSpamapS: I'm just getting a perma-pending status17:23
marcoceppisecond re-bootstrap, rebooted between bootstraps17:23
marcoceppiabout 15 mins waiting17:23
marcoceppiI'm not quite sure where to start diagnosing17:24
marcoceppi12.04, btw17:24
marcoceppiSorry, the charm is still pending, machine is reported as running17:24
ninjixmy ProxmoxLaunchMachine.start_machine() is not executing pass where it yields from the proxmox.acquire_system(). I have try hardcoding the acquire_system() to assign the instance_id a value but juju keeps returning the common/launch.py17:31
SpamapSmarcoceppi: ps auxfw should show lxc-start with an init running and gettys and stuff.. yes or no?17:32
SpamapSninjix: what are you yielding? @inlineCallbacks can be a bit confusing17:32
ninjixif I assign instance_id in the code without getting the value from acquire_system the rest of the start_machine works17:32
ninjixSpamapS: yeah... did some reactor schooling last night17:33
ninjixSpamapS: in the debugger I can see the instance_id value being assigned in my provider's client class17:36
ninjixSpamapS: then the returnValue(instance_id) is called17:36
SpamapSninjix: I think I'd need to see the code to understand :-P17:37
ninjixSpamapS: sure... how would you like to receive it?17:38
imbrandonhrm, i think i'm commiting a juju crime here17:38
SpamapSninjix: bzr branch would be the simplest17:38
ninjixok17:39
SpamapSninjix: lp:~youruser/juju/yourprovider ;)17:39
imbrandonok so in my "normal" rollout i would include a tools dir with my build scripts that includes like compilers.jar ( closure ) and less.js ( rhino version ) anlong with js.jar rhino etc etc etc17:40
imbrandonbut i'm thinking thats like packing and would be a no no in a charm17:40
imbrandonor am i good17:40
imbrandonwell a no no unless your bootratraping a new compiler on arm or something :)17:40
imbrandonis whoever it was done with the subway juju yet, i wanna actually use it :) lol17:42
ninjixlp:~clayton-kramer/juju/proxmox17:49
ninjixSpamapS: I started hacking on the orchestra provider as my learning example17:51
imbrandoni started a full web lemp stack one as mine :) even trying to get a little team for it so its not just me #juju-thestack , heh18:01
imbrandonnginx + php + mysql ndb + zend php ce18:02
imbrandonmemcache etc, whole stack18:02
SpamapSimbrandon: so, what I'd recommend is that you put tools you want to have in multiple charms into a package in a PPA...18:09
imbrandon]18:09
imbrandonk18:09
imbrandonhrm18:09
imbrandonhow about a github repo then i can submodule it and keep up with upstream thats also on git hub18:10
imbrandonfree18:10
imbrandon:)18:10
imbrandonwould that work, esp if i like did from a taged release , then its pretty much a package18:10
imbrandonwithout the overhead18:10
SpamapSimbrandon: github works fine yes.18:14
imbrandonrockin, maybe the more it grows and would become useful to others i might pack it18:15
SpamapSimbrandon: the overhead of predictability and efficient encapsulation... yeah.. totally. ;)18:15
SpamapSimbrandon: you need to earn about daily build PPA's .. there's no overhead other than having to use bzr. :)18:15
imbrandonpredictability iof the tag same as git-buildpackage18:15
imbrandoni more ment the maint overhead, on me, some of these tols move fast18:16
imbrandonlike less18:16
imbrandonreleases 4 or 5 times a month18:16
imbrandonand thats one of say 1018:16
imbrandoni mean i guess i could automate a nightly to pull down the latest etc i see what ya mean18:17
imbrandon'but then i loose the predictability18:17
imbrandonwith the repo sub mosdule i can update with just a git merge command and still ahve fiull control on when it does it18:17
imbrandonor if18:17
SpamapSimbrandon: I don't really understand what you're trying to accomplish.. but.. as long as you get the binaries in a way that happens the same every time you add-unit .. I don't care. :)18:18
imbrandonand i can maintain encapsulation with the tags18:18
ninjixSpamapS: I have my branch up on lp now18:18
imbrandonyup yup :)18:18
SpamapSninjix: saw that.. I'm a bit busy at the moment.. but will look at it sometime in the next couple of hours.18:19
* SpamapS goes afk briefly18:19
ninjixSpamapS: thank you18:19
imbrandonyea i'm sure its  a little strange as its a internal process to me i'm trying to map but yea18:19
imbrandonkk18:19
imbrandonthat an untill about the 3rd iteration of something i noramlly do it the hard way for some dumb arse reason18:20
imbrandongotta fix that18:20
imbrandon:)18:20
_mup_juju/force-upgrade r468 committed by kapil.thangavelu@canonical.com18:22
_mup_cleanup pre merge, fix an upgrade error handling test failure18:22
_mup_juju/trunk r500 committed by kapil.thangavelu@canonical.com18:27
_mup_merge force-upgrade [r=bcsaller]18:27
_mup_As an aid to charm developers, upgrades can be forced which merely puts the charm18:27
_mup_into place on the relevant units. No upgrade-hook is executed if the upgrade is18:27
_mup_forced.18:27
shazznerI'm working on a kusabax imageboard charm18:40
shazznerjust thought I'd annouce that, I dunno18:41
shazznerI've yet to see an imageboard that's actively developed and included in the repositories18:43
shazznerkusabax seems like the most active and stable18:43
m_3shazzner: go ahead and file a bug for it on bugs.launchpad.net/charms when you get a chance... it makes jcastro <318:44
shazznerm_3: will do :)18:47
shazznerum, how the heck do I make a launchpad repository for a new charm again?18:48
shazznerwait I think I remember now18:50
m_3shazzner: just push it from a bzr repo... 'bzr push lp:~<launchpad-id>/charms/oneiric/<charm-name>/trunk'18:52
shazznerm_3: I got 'No such source package kusabax.'18:55
shazznerI've done this all before I just can't remember argh18:56
m_3shazzner: hmmm... what lp url are you trying to push to?18:57
shazznerm_3: bzr push lp:~shazzner/charms/oneiric/kusabax/trunk18:58
m_3wow18:59
* m_3 scratching head18:59
shazznerhuh18:59
shazznermy steps:18:59
shazznerbzr init (inside kusaba dir)19:00
shazznerbzr add *19:00
shazznerbzr commit -m "blah"19:00
shazznerbzr push lp:~shazzner/charms/oneiric/kusabax/trunk19:00
m_3well that's strange... it just worked for me19:00
m_3bzr init19:00
m_3touch readme19:00
m_3bzr add readme19:00
m_3bzr commit -m'initial revision'19:01
m_3bzr push lp:~mark-mims/charms/oneiric/kusabax/trunk19:01
* m_3 totally confused19:01
m_3could there be some existing .bzr cruft in that directory?19:02
shazzneroh haha, would it matter if I'm on precise?19:02
m_3hmmm... no, I don't think so (I'm on precise too)19:03
shazznerhuh19:04
shazznerit must be though since this just worked: bzr push lp:~shazzner/charms/precise/kusabax/trunk19:04
m_3shazzner: sorry, limit of my lp know-how...19:04
shazznerm_3: np :) it's kind of confusing haha19:05
shazznerthanks for your help though19:05
m_3shazzner: sure19:05
m_3marcoceppi: ping (re wordpress/haproxy-patch)19:06
SpamapSninjix: here?19:26
ninjixSpamapS: yes19:27
_mup_juju/relation-id r496 committed by jim.baker@canonical.com19:27
_mup_relation_ident instead of relation_id; lazily compute relation_name from relation_ident19:27
SpamapSninjix: ok, I have your code now. Help me out, where are you stuck?19:27
SpamapSninjix:         instance_id = yield proxmox.acquire_system()19:28
SpamapSninjix: there?19:28
ninjixyes19:28
SpamapSninjix: ProxmoxClient.acquire_system() has @inlineCallbacks but no yields19:29
ninjixSpamapS: :)19:29
ninjixSpamapS: thanks19:30
* SpamapS really doesn't like the way twisted does this. :-P19:30
ninjixI've heard dev chatter about twisted but this is my first time working with it19:32
robbiewSpamapS: would you say their thinking was twisted?19:33
robbiewba-da-bump19:33
lifelessbaboomtish19:35
* SpamapS tries the fish19:37
jcastrom_3: don't worry about that hadoop thing, I had jamespage check it ouy19:42
ninjixahh... this makes sense now. you need the yields so the reactor can pick up where it left off19:48
m_3jcastro: cool thanks!19:48
SpamapSninjix: precisely!19:53
* ninjix considers dropping another twisted joke19:56
SpamapSninjix: don't, there may be children present ;)20:00
ninjixSpamapS: can just keep twisting this until it's dry20:01
_mup_juju/relation-id r497 committed by jim.baker@canonical.com20:20
_mup_Fixed remaining tests for review-suggested refactoring20:20
marcoceppim_3:  what's up?20:31
marcoceppiSpamapS: I don't see any lxc-start processes20:39
ninjixSpamapS: yahooo. just got a bootstrap to startup :)20:50
marcoceppiSpamapS: getting this error on bootstrap now: Failed to start job juju-marco-local-file-storage; no output detected20:56
_mup_juju/relation-hook-context r503 committed by jim.baker@canonical.com21:35
_mup_Merged upstream21:35
marcoceppiSpamapS: fixed the failed to start job21:49
marcoceppiStill says pending on the charm21:49
imbrandonEPIC , i was altready a customer and a huge fan but they got me for good now ,  http://newrelic.com/developers22:39
=== kapilt is now known as hazmat

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