/srv/irclogs.ubuntu.com/2012/06/21/#juju.txt

jimbakerSpamapS, subparsers can be useful, but they usually need some programmatic help on the parse. one extreme example is what i did with jitsu watch00:24
jimbakerstill better than trying to write that parser from scratch however00:24
SpamapSperhaps00:25
SpamapSI think I've wrangled it almost00:25
SpamapSbut still can't suppress --help in subparsers00:25
jimbakerSpamapS, add_help=False doesn't help?00:29
jimbakerso to speak ;)00:29
surgemcgeeAny still around? Is the only way to get the charm revision number with a --> cat hooks/revision <-- ?01:23
=== jml is now known as jml_
=== jml_ is now known as jml
=== zyga-afk is now known as zyga
=== al-maisan is now known as almaisan-away
_mup_Bug #1016003 was filed: "juju debug-hooks -h" doesn't say what it does <juju:New> < https://launchpad.net/bugs/1016003 >11:44
_mup_txzookeeper/trunk r48 committed by kapil.foss@gmail.com12:15
_mup_correct unit tests minors [thanks to ben bangert for spotting]12:15
=== almaisan-away is now known as al-maisan
jmlI'm working on a charm that deploys code from a bzr branch. Currently, I'm fetching the branch into $PWD, which is /var/lib/juju/units/$UNIT_NAME/charm/. Is this sensible?12:22
jmlIs there a better practice?12:22
hazmatjml, its sensible, but you can pull it anywhere12:26
jmlwhat user is 'install' run as?12:26
hazmatjml all hooks run as root12:26
jmlhuh12:26
=== bac` is now known as bac
hazmatjcastro, ping12:43
jmlis everything in the charm directory copied up to the instance indiscriminately?13:01
jcastrohazmat: pong13:06
james_wjml, yes13:11
james_wjml, or at least you can add arbitrary stuff, I don't know that e.g. metadata.yaml is copied exactly13:11
marruslhey folks..  does juju on openstack require swift?13:14
james_wmarrusl, IIUC yes, but you can point it to S3 and it works fine13:15
james_was in, it needs object store, but it can use openstack for compute and s3 for object store13:16
marrusljames_w, aha, ok.  great, that makes sense.13:16
james_wbut I don't know how auth works there13:16
marruslI imagine it doesn't store much, but I wonder if that will be a security issue for some.  they might feel safer keeping it all inside.13:17
hazmatmarrusl, there's also a standalone s3 compatible impl nova13:27
hazmatif their not using swift they can just stand that up by itself on a nova api server13:28
marruslhazmat, oooh?  i.e. nova-objectstore?13:28
hazmatmarrusl, its just a dumb s3 impl in nova for compatibility &testing, no replication etc, just stores files in a dir.13:28
hazmatbut functional for juju's needs13:29
marruslhazmat, indeed.  we will check it out.  thanks!13:30
=== zyga is now known as zyga-food
SpamapSjml: re your question about whether its good practice to store in the charm dir or not.. I think its actually the best practice, because the charm dir gets completely deleted when the service is destroyed.14:20
jmlSpamapS: I can't make the connection14:22
jmlSpamapS: If you're installing a package, you don't care that it's in the system directories14:22
jmlSpamapS: so why is auto-deletion from the charm dir a win if you're installing/running from a branch?14:23
SpamapSjml: I mean, if you are, at runtime, storing flag files or downloaded data or something, the charm dir is a good place to do that.14:23
jmlSpamapS: ah rigght.14:23
jmlSpamapS: in this context, I'm am bzr branching at install time14:24
SpamapShm14:24
SpamapSfor that I might put it somewhere else in case I re-deploy onto the box14:24
SpamapSsince its basically an immutable cash14:24
SpamapScache14:24
jmlwell, it's just apt by another means, no?14:24
SpamapSright, and apt is going to cache your debs in /var/cache :)14:25
=== zyga-food is now known as zyga
hazmatSpamapS, i had to do an increment on txzookeeper latest is 0.9.6.. it looks like the build doesn't like that though14:42
SpamapShazmat: looks like you still are using the debian dir from trunk instead of distro15:06
SpamapShazmat: so you will need to dch -i in trunk, since the recipe uses debupstream15:07
=== stevanr_ is now known as stevanr
hazmatSpamapS, ack, will check it out post meeting15:21
marsQuestion for the room: I saw a note about augtool in the wordpress charm.  Has anyone tried it out?15:26
marshttp://augeas.net/tour.html15:27
=== al-maisan is now known as almaisan-away
=== stevanr_ is now known as stevanr
jimbakermars, re augtool, that's an old note on my part as a todo. but sure, it would be cool to try15:57
marsjimbaker, it has potential, a standard interface for config files is a nice idea.16:01
marsjimbaker, otherwise every charm writer will use their own way of hacking config files16:02
SpamapSmars: My feeling, after using augtool/augeas a few times, is that it is useful when you absolutely must only *edit* a complicated config file.16:02
SpamapSmars: its far simpler to use templating and just build the whole file.16:02
jmlis there an idiom for 'juju-log if I can but otherwise skip'?16:03
marsSpamapS, makes sense16:03
jml(my subtly hidden question is, why isn't that an option or even the default behaviour of juju-log?)16:03
SpamapSjml: || : ?16:03
imbrandonmornin16:03
marsjimbaker, SpamapS, thanks16:03
jmlSpamapS: ok.16:03
SpamapSjml: when are you failing to log?16:03
jmlSpamapS: when I'm running scripts manually on the instance to debug stuff16:04
jmlNo JUJU_AGENT_SOCKET/-s option found16:04
SpamapSjml: I find it better to use debug-hooks for that16:06
marsjml, fwiw, we saw that exact error on the first day of our sprint16:06
SpamapSjml: as then you're running it in the appropriate context16:06
jmlSpamapS: sorry, I figured debug-hooks wasn't ready for folk to use16:07
SpamapSno way, its a pretty awesome toy :)16:08
marsjml, we resolved it by making sure we used the correct procedure to run debug-hooks16:08
jmlas debug-hooks --help doesn't actually say what it is, and the documentation on the website says it can't be used for install16:08
SpamapSIt has proven hard to describe how to use debug-hooks.. I think we need screenshots in the documentation16:08
SpamapSjml: OH thats a bug in the docs.. that was fixed16:08
mars+1 for debug-hooks docs with screenshots.  The text description of the procedure we have written down is difficult to follow without a live byobu terminal in front of you.16:10
jmlmars: OK, I'll bite. What's the correct procedure? How did you make sure you used it?16:11
marsjml, just a sec, I'll pastebin it16:11
SpamapSI do think we need to add a --debug flag to deploy which deploys and immediately fires up debug-hooks so you don't miss the install hook, as that is possible if the machine is already running.16:12
marsjml, http://pastebin.ubuntu.com/1052882/16:12
jmlmars: ta16:13
japagehi16:14
jmlso I have these neat bash hack that pops up an inotify thingy when long running commands finished16:15
jmlI wish, I wish, I wish I could have a command that ran for as long as the deploy process took.16:16
jmlfwiw, notes I've made on today's work so far: http://paste.ubuntu.com/1052894/16:17
SpamapSjml: jitsu watch16:18
jmlSpamapS: oh that's right. I forgot to play with that.16:19
SpamapSjml: and when I release juju-jitsu 0.13 later today or tomorrow, it will actually have a --help :)16:19
SpamapShttp://paste.ubuntu.com/1052901/16:19
SpamapSjml: still needs a lot of work.. some of the commands don't have their own --help .. but its a nice step forward. :)16:20
jimbakerjml, jitsu watch could definitely be nice for starting your notification16:20
=== salgado is now known as salgado-lunch
jmlSpamapS: will 'jitsu watch mysql' also stop watching if the service has an error in its deployment?16:20
SpamapSjimbaker: btw we need to be able to wildcard unit ids16:20
jmlSpamapS: looks good :)16:21
jimbakerSpamapS, i think this really is covered by --num-units16:21
SpamapSjimbaker: how so?16:21
jmlI really need to figure out how I can make my bash hack more readily usable by others.16:21
SpamapSjimbaker: I want to deploy, then immediately wait for a state of started. But id is not guaranteed to be 0, because the service name may have been used before.16:21
jimbakerSpamapS, let me dig out the example16:21
japageSpamapS: do you know how juju is retrieving the node's public ip when using maas? I seem to be getting <nodeName>.localdomain . In MAAS, i am using a blank domain, because I didnt feel like setting up a real domain. <nodeName> resolves in my environment, <nodeName>.localdomain does not. I think this is causing my relations to not work.16:22
* jml is on libdep-service/2916:22
jimbakerSpamapS, you can do stuff like this, once the watch-ports branch is approved & merged:16:23
jimbakertimeout 600s ./sub-commands/watch \16:23
jimbaker  mysql --state=started -r "mysql wordpress" --setting=database \16:23
jimbaker  wordpress --state=started --open-port=8016:23
jimbakerso that's saying, wait until at least one unit of mysql (--num-units=1 is implied with the branch) is in the started state, and it has a database setting16:24
jimbakerlikewise also wait until at least one unit of wordpress is in the started state and it has an open port of 80/tcp16:24
jimbakerSpamapS, i think that works better than wildcards on service units, really care about services here16:25
SpamapSjapage: IIRC, its just 'hostname -f' .. but I could be wrong16:25
SpamapSjimbaker: ah ok thats good, I didn't realize I could use --state without a unit id16:26
jimbakerSpamapS, yeah, it's pretty nice in that way16:26
jimbakerSpamapS, you do need to specify --num-units until watch-ports branch lands however16:27
japageSpamaps: yep, that seems to be it... hmmm, i wish that didnt happen. Thanks for pointing me in the right direction16:27
jmlwhat am I doing wrong? http://paste.ubuntu.com/1052914/16:27
jmldocs say "$ jitsu watch mysql                                  # service is deployed"16:28
jimbakerSpamapS, here's another nice example, drawn from your unit test spec16:28
jimbakertimeout 600s jitsu watch \16:28
jimbaker    mysql --state=started -r "mediawiki:db mysql:db" --setting=database \16:28
jimbaker    memcached --state=started -r "mediawiki memcached" --setting=host \16:28
jimbaker    mediawiki --state=started --open-port=8016:28
jmlbut status says service is not deployed.16:28
jimbakerso it waits until the full stack is deployed and in a steady state, because the appropriate settings have been made and in particular mediawiki has reached the end of its -relation-changed hook and has opened a port; note in this case it ignores exposed or not16:29
_mup_Bug #1016138 was filed: The juju manpage should mention the JUJU_REPOSITORY environment variable <juju:New> < https://launchpad.net/bugs/1016138 >16:29
SpamapSjapage: I think there's an assumption in MaaS that you will have working DNS16:30
japageSpamapS: It provides you with the option of using blank for the dns, which is supposed to use the maas server's dhcp to provide the dns, however i could be wrong about that.16:32
imbrandonwell your problem is there is no proper domain setup, not that there isnt dns, localdomain is in the hostfile16:37
imbrandonnot dns16:37
imbrandonthus the node will report it but others will not reach it. break down and setup a domain if you need one :)16:38
japageimbrandon: yea16:38
imbrandonjapage: in otherwords its working as intended , you just need to setup a domain if your going to use one16:39
jmlstill having a bit of trouble with 'jitsu watch'16:40
jmlis 'jitsu watch <service>' supposed to wait until <service> is deployed? i.e. until at least until after 'install' completes successfully?16:40
japagejuju is working as intended, im just not sure why hostname -f is returning maas-1.localdomain16:41
m_3jimbaker: watch-ports is in trunk... I'll wait a day or so before another release unless anybody needs this now16:41
SpamapSjml: no, you need --state=started and --num-units=116:41
imbrandonjapage: because localdomain is set properly in the hostfile and there is no other domain setup for the box16:42
jmlSpamapS: thanks.16:42
SpamapSAnybody familiar with argparse want to help me fix 'jitsu sub-command --help' ? I want to override it to pass --help to the subcommand instead of intercepting and printing lame sub-command help16:42
imbrandonjapage: i was saying dns is working as intended16:42
SpamapS(only an issue in trunk.. 0.12 has no help for jitsu)16:43
jimbakerjml, when m_3 releases the next version of jitsu, you won't need to specify --num-units if using service unit specifications16:43
jimbakerunless you want to do --num-units=2 or whatever16:43
jimbakerm_3, thanks for that merge16:43
imbrandonSpamapS: what about juju its self, doesnt it do that ?16:43
jmljimbaker: 'if using service unit specifications'?16:43
jimbakerjml, correct16:43
jmljimbaker: sorry, what I meant was I don't understand that clause16:43
jimbakeri quickly realized it was an oversight16:43
jimbakerjml, not certain what you mean by which *clause*16:44
SpamapSimbrandon: juju's sub-commands are all just python modules16:44
jmljimbaker: what's a service unit specification?16:44
SpamapSimbrandon: so they all just add their sub-parser to the main parser16:44
imbrandonahh16:44
SpamapSimbrandon: but I need to essentially say "don't print --help for sub-commands"16:44
imbrandonoptparse :) heh16:44
SpamapSwhich I'm pretty convinced argparse just won't allow16:45
SpamapSperhaps16:45
jimbakerSpamapS, i can take a look at --help support16:45
jimbakerSpamapS, i assume you just want what we see with juju --help, right, a synopsis for each available subcommand based on the description16:46
m_3SpamapS: looks like there's a `parser = argparse.ArgumentParser(prog='PROG', add_help=False)`16:46
jimbakerfrom the subparser16:46
imbrandonjapage: you see what i'm gettin at ? it returns that ( rightfully ) because that is in its hostfile as it should be, that does not garentee its reaschable16:46
m_3then maybe explicitly add it to the subcommands16:46
SpamapSm_3: so unfortunately, all the sub-parsers will share --help with the main command.16:47
SpamapSm_3: as in, if you don't add_help .. you get no help.16:47
japagewhy would, for a maas with no domain set (blank, not local, which tells it to use mDNS), cloud-init write an /etc/hosts file with 127.0.1.1 <hostname>.localdomain <hostname> ; instead of 127.0.1.1 <hostname> <hostname>.localdomain ?16:47
SpamapSand once you add it to one command16:47
SpamapSyou can't add it to any other16:48
m_3it's like we need a help delegator16:48
japagenvmd, i just figured it out, /me stupid question previously...16:48
SpamapSm_3: yeah I think we just need to override the --help action with a function that is smarter than me :)16:48
imbrandonjapage: becase thats how dns is designed, you need to setup a proper domain if you want to use one16:48
SpamapSm_3: but one tricky part is, I want it to use the usual --help action if there's no sub-command specified16:48
m_3right... doesn't juju do this?16:49
jimbakerm_3, indeed, that's what it does. looking at jitsu, it's roughly doing something similar16:50
jimbakerbut clearly not quite there16:50
jcastroSpamapS: imbrandon: Which one of you "owns" the sexy column-on-the-side layout for the docs?16:51
imbrandonme16:51
jcastrohey can we get it reviewed and landed by say Monday PST?16:51
jcastroit's too sexy not to show off at Velocity16:51
imbrandonits supose to be landed now, but its not building16:51
imbrandonneed to get in touch with IS16:51
jcastrooh, heh16:51
SpamapSprobably on a lucid box or something :-P16:52
imbrandonas in the cron is broken or something16:52
SpamapSimbrandon: try in a lucid chroot, probably some missing sphinx feature16:52
imbrandonk16:52
imbrandonyea its using sphinx 0.6.3 OLD we;re all on 1.1.316:52
imbrandonheh16:52
imbrandonjcastro: but yea as soon as we figure that out, its landed16:53
* imbrandon goes to build a chroot16:53
SpamapSimbrandon: mk-sbuild ftw :)17:00
imbrandonheh17:00
SpamapSLast Generated on Jun 20, 2012. Created using Sphinx 0.6.4.17:00
imbrandonsudo debootstrap --variant=buildd --arch i386 lucid /mnt/lucid/17:00
imbrandon:)17:00
SpamapSimbrandon: schroot is your friend17:01
SpamapSone-off chroots are just a waste of time17:01
imbrandonlikely but i'll keep this one until they upgrade the docs17:01
imbrandonbox17:01
SpamapSProbably won't happen until 12.04.1 is released in August17:02
imbrandonyea, so we may run into this again17:02
imbrandonhopefully not, but you know17:02
imbrandonheh17:02
imbrandonbrb more mt dew while that builds17:03
japageimbrandon: i set up a real domain, called localdomain. (cheating ftw) :-)17:04
imbrandonlol17:05
SpamapSimbrandon: where does that branch live btw?17:05
SpamapSsince I have lucid as of 'schroot -c lucid-amd64 -u root' ;)17:06
imbrandonSpamapS: what one ? docs ? lp:juju/docs17:06
SpamapSimbrandon: oh so docs just isn't building at all right now?17:06
imbrandonright17:06
imbrandonlook its still old from before all our changes17:06
SpamapSException occurred:17:06
SpamapS  File "/usr/lib/pymodules/python2.6/sphinx/builders/html.py", line 653, in <lambda>17:06
SpamapS    ctx['toctree'] = lambda **kw: self._get_local_toctree(pagename, **kw)17:07
SpamapSTypeError: _get_local_toctree() got an unexpected keyword argument 'maxdepth'17:07
imbrandonnice17:07
imbrandonok one sec17:07
SpamapSheh, we really should make juju.ubuntu.com a charm17:07
imbrandon:)17:07
SpamapSlike.. seriously17:07
imbrandonhow its on lucid :)17:07
imbrandonunless we chroot it on the box, but yea that woudl be awesome , dogfood it17:08
SpamapSmouth.where().put(money)17:08
imbrandonok let me fix the maxdepth issue17:08
SpamapSimbrandon: it shouldn't be on lucid forever though. :)17:08
imbrandonone sec17:09
SpamapS./source/_templates/ubuntu1204/layout.html:{{ toctree(maxdepth=2) }}17:09
SpamapSso thats f'ing it up?17:09
imbrandonyea17:09
m_3imbrandon: redirect :)17:09
imbrandonSpamapS: just make toctree(maxdepth=2) == toctree17:09
imbrandon2 is the default anyhow17:09
japagehmmm, appears my kludgy dns was a red herring, still seem to be having mysql issues creating relations17:12
=== Leseb_ is now known as Leseb
imbrandonm_3: hehe :)17:17
m_3imbrandon: seriously... I do agree we should be dogfooding that one17:17
m_3just have the dang thing redirect to ec217:18
m_3SpamapS: fido17:18
imbrandonyea i think i;m gonna do that today17:18
imbrandonwe dont have a sphinx charm anyhow17:18
imbrandonthat i know of17:18
SpamapSYou know, the more I think about our need to cryptographically verify upstream software.. the more I think we should just require embedding anything not in the Ubuntu archive.17:21
SpamapSOr, an archive that is sufficiently highly available like that one.17:21
SpamapSwould simplify a lot of charms to just toss tarballs into them17:21
SpamapSand make them more robust17:21
imbrandon... the more i hear stuff like that the more i think about jcastro saying "you can do anything in a charm"17:21
imbrandonheh17:22
SpamapSYOU can do anything in a charm17:22
SpamapSBut I'm not going to inflict all the crazy brandon stuff on everyone. ;)17:22
imbrandonheh well i can do anything in a deb too for that matter :)17:22
SpamapSright!17:22
imbrandonlol17:22
jcastroSpamapS: right, so like right now the mod_spdy one is worthless because the google archive times out all the time17:22
jcastroand so on17:22
SpamapSdeb can do anything charms can do better.. debs can do anything charms can do...17:22
* SpamapS sings a little song17:23
SpamapSthere's an offline apt thing that would work for that too17:23
imbrandonSpamapS: http://s3.assets-online.com.s3.amazonaws.com/files/nginx/nginx-1.3.1.spdy.tar.gz17:23
imbrandon:)17:24
SpamapSmore and more I think charms might benefit from a build step too.. where you could just run a "rebuild" that downloads and unpacks and stuff.. so the install hook isn't doing so much work17:24
imbrandonpatched and ready, just not had the time to build it into a charm yet17:24
SpamapSimbrandon: yeah thats plenty available17:24
SpamapSeven from outside Amazon :)17:24
imbrandonright, none pre-patched tho, thats why i made that tarbal17:25
m_3SpamapS: yeah, install feels like a beast sometimes17:25
m_3I try to move as much out of it as possible17:25
m_3can do the "build" step in config-changed really17:25
m_3win 1717:25
jimbakerSpamapS, re jitsu --help on trunk, it's just not introspecting things properly. i can fix that17:26
SpamapSm_3: did you not see my objections to kees's sbuild merge in the bug?17:26
SpamapSm_3: actually I didn't make them in the bug, whoops17:26
SpamapSm_3: anyway, we can't be dropping config options17:26
SpamapSm_3: will likely break deployed services17:26
m_3SpamapS: whoops... sorry, no didn't see that17:26
SpamapSm_3: It wasn't well communicated17:26
imbrandonwell we can, we just need a way to get at the old ones17:27
imbrandonkeeping the old ones promostes crift17:27
imbrandoncruft17:27
SpamapSm_3: lets just leave this one be, but the policy doc I put out described this as a 'de-facto' rule.. where if something has been around for 30+ days, it can't be dropped17:27
m_3SpamapS: roger17:27
SpamapSimbrandon: cruft can be removed in the next series17:27
imbrandonugh that sounds bad17:27
SpamapSUntil juju gives us config-set .. cruft must remain17:28
imbrandonnext series 5+ years17:28
SpamapSimbrandon: no, 2 years17:28
SpamapStho we can fix it in quantal17:28
SpamapSjust that nobody will care ;)17:28
imbrandonserver where most of these target17:28
imbrandon517:28
SpamapSimbrandon: *2*17:28
SpamapSevery 2 years theres a new LTS17:28
imbrandonso you expect that everyone will upgrade ? we still have stuff in IS on lucid17:29
SpamapSI don't mind keeping the cruft around for the full LTS lifetime as long as we don't keep it forever in the current LTS17:29
SpamapSimbrandon: this isn't about everyone upgrading, its about easing development burden17:29
SpamapSexisting users won't care about the cruft17:29
SpamapSI would like to see juju grow a 'deprecated' tag for options17:30
SpamapSso deploy will yell loudly17:30
SpamapSand set will warn17:30
imbrandonyea thus i say we need a way to get at historical config options not promote cruft17:30
imbrandonwe are making policy based on bugs17:30
SpamapSyes we are17:30
SpamapSthats life17:30
SpamapSif we made policy on perfection, we'd have no policy :)17:30
imbrandonwelll thats like me adding to the metadata.yaml cuz i could17:31
SpamapSthe bug being.. ?17:31
imbrandononly approved items should be there17:31
SpamapSThats not a bug, thats a fact. :)17:31
SpamapSOne agreed upon by a pretty short discussion.17:32
imbrandonbut nothign enforces that , i am just saying instead of a short lived policy lets fix the bug17:32
SpamapSits on the TODO17:32
imbrandonok then no need for policy17:32
SpamapSYes there's a need for a policy so we can ease unwanted affect of the bug being fixed17:33
imbrandonand how is it on the todo i just sugested it ?17:33
SpamapSBasically the policy is saying "Don't do that, because its not going to work at some point"17:33
imbrandonno it will work at some point when the bug is fixed, it dont work NOW and coudl breaak things17:34
SpamapSThere's already a bug somewhere to start warning on unknown fields.17:34
imbrandonsee the diff17:34
imbrandonno no17:34
imbrandoni'm on the original thing, not metadata17:34
SpamapS<-> see that, we just talked right past eachother17:34
imbrandoni just used that for example17:34
* SpamapS capitulates17:34
imbrandonhehe17:34
imbrandonyea i think we;re on the same page just17:35
imbrandonwas on diff subjects17:35
imbrandonok /me goes back to docs17:35
imbrandonbtw did you change that, can you change that toctree and rebuild to make sure i'm rtight before i commit17:36
SpamapSimbrandon: push to some other branch and I can try it17:36
imbrandonk17:36
SpamapSI tried removing the maxdepth and got something else17:36
imbrandonoh17:36
imbrandonfun17:36
SpamapS  File "/usr/lib/pymodules/python2.6/docutils/nodes.py", line 92, in setup_child17:36
SpamapS    child.parent = self17:36
SpamapSAttributeError: 'NoneType' object has no attribute 'parent'17:36
SpamapSwhich looks way nastier17:37
imbrandonyrs17:37
SpamapSPerhaps we can request an upgrade to 12.04 :)17:37
imbrandonbah17:37
imbrandonplease17:37
imbrandonheh17:37
imbrandonbut will they do it before monday ? heh17:37
imbrandonjcastro: jujucharms.com/docs has the current build too btw in a pinch, but thats on hazmat's $$ sooooooo17:38
=== salgado-lunch is now known as salgado
hazmatSpamapS, yeah. i suspect its on lucid given how old the sphinx their attempting to use is17:43
SpamapSdefinitely lucid17:46
SpamapSsuch is life, unless we embed sphinx in the branch ;)17:46
jmlso, I've finally got my thing deploying from my charm17:46
jmlwhich is great17:46
SpamapSbut, that would be eeeevil right ;)17:46
jcastrohey so I have been thinking SpamapS17:46
SpamapSjcastro: dangerous that17:46
jcastrowhat does bundling the tarball in the charm accomplish17:47
jmlhttps://code.launchpad.net/~jml/libdep-service/juju/+merge/111396 has the MP. I would *really*, *really* appreciate a review from an experienced charmer17:47
jcastroI still have to trust you.17:47
jmlby which I mean you, SpamapS17:47
SpamapSjcastro: makes the deploy/add-unit more predictable17:47
jcastroI can't confirmed that you didn't check the sha either17:47
jcastrooh ok, so you mean purely for "it will work every time"17:47
SpamapSjcastro: presumably we will add some crypto verification to the charm store beyond what we have now (https for launchpad). Either way, we're trusting the charmer to provide a valid SHA.. so providing the actual file is the same thing17:48
SpamapSjml: I'll look right now, since you asked so nice17:48
* jcastro nods17:48
jmlSpamapS: thanks.17:48
SpamapSI *do* think we need to build a Packages.gz type of file for the charm store17:49
SpamapSwhich is signed17:49
jmlSpamapS: I have to leave in the next couple of minutes, so please put your comments on the MP.17:49
SpamapSand have the commits to the bzr branches signed too probably17:49
SpamapSjml: will do17:49
jmlSpamapS: thanks!17:49
surgemcgeeThe *config-changed* hook will trigger the first time the charm is deployed. Is this functional to anyone?17:56
imbrandonyes, thats where most of my install actions come in17:58
imbrandonver little is done in the install hook for me17:58
SpamapSsurgemcgee: aye, its guaranteed to run, unless install or start fails18:01
jmlincidentally, the juju tests take a while to run.18:02
jmlspeaking from personal experience, you want to get on that sucker now, or you'll become Launchpad.18:02
SpamapSjml: 7 minutes?18:06
SpamapSjml: for 98% coverage..18:07
SpamapSjml: also remember that the python code base is done growing. :)18:07
SpamapSjml: on an SSD they only take 4 minutes.18:07
jmlSpamapS: I just ran ./test on my machine w/ an SSD and it's still going18:07
jmlSpamapS: maybe I'm supposed to run the tests differently18:07
SpamapS./test18:07
SpamapSthats all I do18:07
jmlSpamapS: way more than 7m18:07
SpamapStakes at most 7 minutes18:08
SpamapSjml: bad java maybe?18:08
jmlSpamapS: possible18:08
SpamapSit taxes zookeeper quite a bit18:08
SpamapSjml: also try 'eatmydata ./test'18:08
jmlSpamapS: I just have whatever data is on the system18:08
SpamapSthat at least disables all the syncing that zookeeper wants to do18:08
jmlSpamapS: so, hang on....18:08
jmlif the python code base is "done growing" as you say18:08
jmlthen there's zero point in me contributing patches for the bugs I've filed.18:09
SpamapSjml: Its not done living, its just not going to get any more feature dev.18:09
SpamapSmaking it easier to use, clarifying stuff with online help, those will all help users while we transition to go18:09
jmland when that's done, we can do it all over again18:10
jml738 seconds for the test run.18:10
SpamapS(and also the go team will be expected to not regress any of the bugs that are fixed before we declare it "complete"18:10
jmlwell, I wish them all the best with tht.18:10
imbrandonSpamapS: can we just get IS to turn on -backports and -updates and such18:12
imbrandonroot@server-1339205906-az-1-region-a-geo-1:~/docs# cat /etc/issue.net18:12
imbrandonUbuntu 10.04.4 LTS18:12
imbrandonroot@server-1339205906-az-1-region-a-geo-1:~/docs# dpkg -l|grep sphinx18:12
imbrandonii  python-sphinx                   1.0.1-1~lucid1             tool for producing documentation for Python18:12
imbrandonroot@server-1339205906-az-1-region-a-geo-1:~/docs#18:12
imbrandonand it builds perfect with no changes18:13
SpamapSjml: review posted to the MP18:13
jmlSpamapS: thanks!18:14
imbrandonhow do we make that happen sooner than later ? heh18:14
SpamapSimbrandon: backports might be a good way to go18:14
SpamapSimbrandon: I'll open up an RT18:14
imbrandonok ty, mention that its broken now hehe18:15
SpamapSimbrandon: trying with lucid-backports enabled18:15
imbrandonbut yea i enabled -backports and -updates and it worked18:15
imbrandondeb http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse18:16
imbrandondeb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse18:16
imbrandondeb http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse18:16
imbrandondeb http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse18:16
SpamapSeasy pastemonkey18:16
imbrandonsuprised the bot dident kick me18:16
SpamapSI don't think we have that bot18:17
imbrandonahh ubottu normally in #ubuntu-* chans guess not #juju18:17
imbrandonanyhow yea, i bet they are much more likely to do that then update to 12.04 by monday18:18
imbrandonand it requires no docs work arounds that way18:19
imbrandonstill agree with the charm tho18:20
imbrandonman i wish there was 3 of me18:20
imbrandonjcastro: awe, not using my button :(18:27
jcastroI have to use the official blurry button18:28
imbrandonheh k18:28
jcastroburned by the design team18:28
imbrandonwonder how i can make mine "official"18:28
imbrandonjoey used it once or twice now on posts ( made a wordpress shortcode for him ) and they seemed to love it :)18:30
imbrandoninfact i should release that plugin for the wp shortcode18:31
SpamapSimbrandon: ok, IS ticket submitted18:38
SpamapSjcastro: whats significant about Monday ?18:38
imbrandonSpamapS: rockin ty18:38
jcastroSpamapS: velocity, not like during a talk or anything18:38
jcastrobut it would be nice to know when we mention stuff that it'll be pretty18:39
SpamapSjcastro: Indeed18:39
imbrandonnow if i could just edit the wiki18:39
imbrandonlol18:39
jcastrolol, let's not get crazy18:40
SpamapSThe IS guys said it should be no big deal to pull in the backport, but they might prefer to just upgrade to precise.18:40
imbrandonrt is on it, they emailed me back18:40
jcastrorock and rolll18:40
imbrandonjcastro: yes was more toung in cheek18:40
jcastroSpamapS: yeah, I would think they'd prefer to just go all 12.04.18:40
imbrandoneither way works for me18:40
jcastroSpamapS: backports, a sure way to know you're the only guy running that configuration on your production box. :)18:40
imbrandon:)18:40
SpamapShazmat: bug 984484 .. galapagos? really? Its not even In Progress.. and I'm releasing *tomorrow*18:41
_mup_Bug #984484: subordinate charms should be able to open ports <juju:Confirmed for bcsaller> < https://launchpad.net/bugs/984484 >18:41
jcastroSpamapS: also, where do I find the juju codename/release/date mapping?18:41
SpamapSjcastro: https://launchpad.net/juju18:41
* imbrandon starts preping to do new rpm and osx builds tomarrow18:41
SpamapSwe're 2 weeks late on galapgos18:41
jcastroah, got it18:42
m_3SpamapS: can you do notes on the juju release process pls :)18:42
SpamapSexpected: 2012-06-0618:42
m_3SpamapS: assume it's similar to jitsu?18:42
SpamapSm_3: Yeah I think that probably deserves something in internals18:42
SpamapSm_3: its not going to be as smooth as jitsu's ;)18:42
SpamapSsince we've never done a "release"18:42
m_3oh, gotcha18:43
imbrandoni think i'm going to reload my mini tonight, i need the extra space that OSX is using18:43
imbrandonheh18:43
jcastrowhat? no, you have to test the OSX releases!18:43
m_3imbrandon: especially if you're able to do the osx in a vm thing18:43
=== zyga is now known as zyga-afk
imbrandonjcastro: osx in a VM18:43
imbrandon:)18:44
hazmatSpamapS, is galapagos closed?18:44
imbrandonlunchtime bbiab18:45
m_3SpamapS: we have real (lp) milestones though... I'm curious to see how this differs18:47
* m_3 is interested in learning lp for real after the branch-distro fiasco :)18:49
hazmaton two weeks late18:52
m_3hazmat: he mentioned releasing it tomorrow... don't really know what closed means here tho18:54
imbrando1mmm i need enough money to buy an island, or at least 98% of one ...19:02
=== imbrando1 is now known as imbrandon
imbrandonthat has a solid internet connection too :(19:03
SpamapShazmat: Closed, not sure. I did say I wanted to release tomorrow. :)19:09
SpamapSm_3: branch-distro is about the weirdest part of launchpad I've seen.19:10
SpamapSm_3: nothing else does things like it does.19:10
jcastroSpamapS: sadness is watching you pilot not here.19:20
jcastroj/k19:20
SpamapSjcastro: I'm on deck next week. :)19:23
SpamapS7 items in the queue.. we're pretty healthy anyway :)19:24
imbrandonmmm this cant be good, whole bowl of instant pudding to myself :)19:44
SpamapSimbrandon: http://www.mtv.com/videos/misc/173418/240-dollars-worth-of-pudding.jhtml19:51
SpamapSawww yeah19:53
imbrandonSpamapS: zomg19:55
imbrandonthat is classic19:55
imbrandon"... now kids, the rumor says that the `M` in `MTV` used to stand for `Music`, *children all giggling* ..."20:01
robbiewjcastro: m_3: SpamapS: any one available for a charm school at the Texas Linux Fest Aug 3-4...in San Antonio?20:21
robbiewI'm not sure we need one, but just asking20:21
jcastroI can go if you want20:21
robbiewI just wonder how many folks there would be interested20:22
robbiewlast year had good following20:23
robbiewand I suspect we given rackspace is diamond...maybe more cloud folks this year20:23
robbiewgonna be f*cking hot20:23
robbiewlol20:23
jcastroheh20:23
imbrandonheh20:23
imbrandonthats one thing i dont miss about TX, 70's on my b-day , in mid december :)20:24
robbiewI actually don't mind 70s in december...it's the freezing rain and snow the week after that always messes with me20:24
robbiewand of course the hell on earth heat...peaking in August20:25
imbrandonhahahah yea, i lived in galviston so the gulf squelched that a lil20:25
m_3robbiew: lemme look20:26
imbrandoni do miss the beach parties tho, mmm nothing like watching the sun rise on east beach :)20:27
SpamapSrobbiew: could possibly make it20:28
SpamapSNeed to find my wife a nanny before serious travel commences, but we might have one by then.20:28
robbiewimbrandon: ugh...galveston, literally the armpit of the USA20:28
robbiewin every sense of the word....hot..humid...wet20:29
imbrandonhahahah , this was pre-katrina20:29
robbiew..and occasionally stinky20:29
imbrandon:)20:29
SpamapSrobbiew: don't forget the hairy part20:29
imbrandonLOL20:29
robbiewSpamapS: meh...I wouldn't spend a travel voucher with the wife for this one20:30
=== robbiew1 is now known as robbiew
m_3robbiew: yeah, I can go20:33
robbiewm_3: cool, well I'll let you know by next week if we end up doing one20:34
m_3robbiew: ok, thanks20:42
robbiewno...thank YOU ;)20:42
* m_3 will think of it as an extended sauna20:43
imbrandonheh20:44
imbrandonSpamapS / m_3 : you see the new MB with retna displays and paper thin ? WOW20:45
m_3imbrandon: yup... I'm still waiting for the little 11" air to fit into the family budget20:47
imbrandonyea, thats the next one i am getting , the 11inch20:47
m_3it was a tradeoff... house or computer?20:47
imbrandonheh, good call20:48
toothnot as upgradeable though. :-(21:19
toothsoldered on ram.21:19
toothand a proprietary flash disk thing.21:21
imbrandoni rarely if ever upgrade machines, i buy new ones. so no biggie21:21
SpamapSimbrandon: Yes I've seen them. No I don't really understand why I need to buy one. ;)22:11
SpamapSI am looking for a new machine..22:11
SpamapSbut I want to see if I can actually buy a non apple machine22:11
imbrandongood luck :)22:12
imbrandonheh j/k22:12
m_3imbrandon: please ignore comments on bug #100008822:12
_mup_Bug #1000088: charm needed: newrelic sysmond <Juju Charms Collection:Fix Committed by imbrandon> < https://launchpad.net/bugs/1000088 >22:12
imbrandonthis openbuildservice is  .... intresting22:12
imbrandonm_3: okies :)22:12
imbrandonm_3: hahahah should i ask ?22:13
bkerensajcastro: Up for membership today -> https://wiki.ubuntu.com/lynxman22:15
SpamapSwhat about negronjl?22:17
SpamapSsince the DMB decided to pass the buck22:18
bkerensa=/22:20
lynxmanSpamapS: I applied for the membership meeting 3 weeks ago, if you could give me a testimonial I'd be very grateful22:20
lynxmanSpamapS:  https://wiki.ubuntu.com/lynxman22:20
SpamapSlynxman: done22:25
lynxmanSpamapS: thanks22:26
lynxmanSpamapS: !! :)22:26
bkerensalynxman: is this go two for you?22:26
lynxmanbkerensa: yes, first one was for UCD and got declined22:26
bkerensaahh22:26
jcastrosame thing happened to juan22:29
jcastrowe need to get him to apply for normal membership22:29
jcastrom_3: did you apply for membership yet?22:29
SpamapSYeah seriously, its time22:36
SpamapSjcastro: I do like the idea, more and more, of us having a charm store council and being able to grant membership.22:37
jcastroI specifically didn't ask for that council to be able to grant membership22:37
jcastrobecause I didn't think it was necessarry22:37
SpamapSIts weird to have people who don't really understand how juju helps Ubuntu saying no to people like Juan though22:38
imbrandonfor those that contribute charms but not much else i can totaly see it, same thinking for the kubuntu council granting memberships etc22:38
imbrandonyea22:38
jcastroSpamapS: I think that's what we should fix though22:40
jcastronot working around it by making another member-granting council22:40
jcastro(IMO)22:40
bkerensajcastro: lynxman in #ubuntu-meeting for Ubuntu Membership :)22:40
* imbrandon goes to lurk22:41
bkerensahe is up now ;)22:41
* SpamapS can't watch22:41
bkerensaquiet debate is occuring22:41
lynxmanbkerensa: quite silent22:42
bkerensaikr22:42
bkerensamaybe they found a nice video on youtube22:42
jcastroimbrandon: heh, what the heck is mims doing to your newrelic charm bug22:43
imbrandonlol no idea :)22:43
imbrandonusing it for a guiney pig i think22:44
lynxmanwohooo!22:45
imbrandongrats22:45
negronjlSpamapS: what do I need to do to apply for membership22:47
lynxmanimbrandon: thanks :)22:47
SpamapSnegronjl: -> ask lynxman he just got it ;)22:48
negronjllynxman: you still around ?22:49
lynxmannegronjl: I am!22:49
negronjllynxman: what did you do to apply for memebership ?22:49
imbrandonnegronjl: put up a nice wiki page saying what all you do in/for ubuntu , ask for peeps to vouch for you, then attend a cc meeting :)22:49
lynxmannegronjl: let me tell you in #siteam22:50
jcastronegronjl: mira, we can reuse your application22:50
jcastroit'll be the exact same22:50
negronjljcastro:  that's what I was thinking of using22:51
jcastroit'll be the exact same22:51
negronjljcastro: I also have a wiki page ( wiki.ubuntu.com/JuanNegron )22:51
jcastrolooks like you applied to the wrong board.22:51
jcastroyeah22:51
negronjljcastro:  sure .. we'll go with that :/22:51
jcastronegronjl: 27 june is the next one, we'll be at velocity22:52
jcastrowe can just prep it together while we are there22:53
negronjljcastro: k22:53
negronjljcastro: thx22:53
jcastrodon't worry man, we're on it.22:53
jcastrolike white on rice22:53
imbrandonheh22:53
lynxmannegronjl: I'll root for you :)22:54
jcastroimbrandon: this newrelic charm is exciting22:55
imbrandonme 3 :) would have for lynxman as well had i known prior :)22:55
jcastroI think a bunch of people can find use for it22:55
negronjllynxman: thx man ... it looks like I'll need it :)22:55
imbrandonjcastro: there are 2 now, that one and the php one, and i was just thinking aobout doing the ruby one too since the app i've been working on is rails22:56
imbrandon:)22:56
jcastrohey22:56
imbrandonbut yea they rock22:56
jcastrodo they have any node.js graphing stuff?22:56
lynxmanimbrandon: aww thanks :)22:56
imbrandonyea , i can whiop up the node one in a few mintues22:56
imbrandonthey are all basicly the same , just a few minor changes22:57
imbrandonto each one for the runtime22:57
* imbrandon goes to grab the ruby and node ones22:57
* SpamapS would like to see just one good graphing solution.. tho ganglia and munin are at least "traditionally" good22:59
imbrandonjcastro: for node stuff tho you want some sexy meteor tho22:59
jcastrowe do22:59
imbrandonmeteor is frackin bad ass22:59
imbrandonhttp://meteor.com/screencast23:00
imbrandonwatch that, like 3 minutes23:00
jcastroyay, another platform!23:00
imbrandonit will change your life as a webdev23:00
imbrandonnah23:00
jcastroI need pretty graphs yo23:00
imbrandonits node23:00
imbrandonnot new23:00
imbrandonbut a new way to code, but its all nodejs , will run on any node server anywhere23:01
imbrandonno special sauce23:01
jcastrooh it certainly looks cool23:01
jcastroI just need an app, not a framework to write an app23:01
imbrandonthey have a few examples, like wordplay would be sweet23:02
jcastroyeah23:02
imbrandonto show off realtime node client<->server23:02
negronjljcastro: ping23:02
imbrandonjcastro: kinda nice too since it will be a sub to anything23:06
jcastroyuuup23:06
imbrandonHA! good thing i loged into newrelic, looks like OMG has been minus one webhead a day or so23:09
imbrandonbut since the setup is so sweet no notice :)23:09
imbrandonSpamapS / jcastro: check this out too http://uptime.omgubuntu.co.uk/58546723:10
imbrandonone minute imcrments23:11
jcastroheh23:11
jcastronice!23:11
SpamapSimbrandon: what is that?23:11
SpamapSah pingdom23:11
imbrandonpingdom23:11
imbrandonbut like i can tell for certain there has been no downtime in the last 7 days , not even for a minute23:11
imbrandon:)23:11
SpamapSimbrandon: indeed23:12
jcastrothat's pretty sexy23:12
imbrandon:)23:12
imbrandonthere is an API, wonder if i could rangle that into a reporting charm23:13
imbrandonget the endpoint from the relation and then setup the reporting for that endpoint23:13
imbrandonhrm23:13
imbrandonjcastro: erm i guess there isnt any node newrelic, only ruby php python and .net23:20
imbrandonand sysmon23:20
imbrandonthere is also a generic restapi so i wonder if there is a 3rd party one23:21
* imbrandon looks23:21
imbrandonHAHA rock, Joyent ( one of the big companies behind nodejs ) sugests use the php agent for monitorying and gives an example on how to use it from node23:30
imbrandon:)23:30
imbrandondamit i wish gimp was as good as photoshop23:33
SpamapSwow.. how messed up is my head that I think I want this https://github.com/alevchuk/vim-clutch23:37
imbrandonhahha23:39
imbrandonnice23:39
imbrandondo it!23:40

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