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

=== nath_will is now known as nathwill
EvilMogbtw I definately like the idea of a dedicated mpich2 charm, and then just setup an alternate charm for jtr04:24
=== zyga-afk is now known as zyga
=== TheRealMue is now known as TheMue
=== almaisan-away is now known as al-maisan
jmlam now getting this error on local deploy, bootstrap and destroy-environment:11:44
jmlUnable to create file storage for environment11:44
jml2012-06-20 12:43:47,632 ERROR Unable to create file storage for environment11:44
jmlhmm. IRC logs that google found indicate reboot might do the trick.11:45
kaalooUsually if you del /tmp/juju-local or run using sudo it will go through11:46
jmlYeah, I just deleted juju-local11:47
jmlI wonder why it has that error.11:47
* jml wishes he had a blocking deploy11:47
kaalooHa!  May the juju gods help us.  Seems to go back and forth depending on the version you're using.11:49
jmlWell, I don't think it's a good idea all the time11:50
jmlWhat's the deal with all of the blank lines in debug-log during hook.output?11:52
jmlalso, I'm guessing debug-log flags stderr output as ERROR. Is that right?11:53
imbrandonyea11:56
jmlis there any way to look at debug-log retrospectively? i.e. is it stored anywhere on disk?12:00
* jml deploys again, this time w/ tee12:00
imbrandonhazmat: ping ( when you get in this morning ) need a bit of help debuggin a build issue, should be trivial i hope12:19
imbrandonjml: yes it should be stored on disk, i think /var/lib/juju or something, i totaly forget, but i konw it is12:20
hazmatimbrandon, pong12:20
imbrandonheya12:21
imbrandoni did a docs push a hour or so ago and it should look like http://www.assets-online.com/docs/juju/index.html12:21
imbrandonbut no go :(12:21
imbrandonis there a build log or anything ?12:21
imbrandone.g i put the tree nav back, and added some responsive goodies like we talked about :)12:22
hazmatimbrandon, looks quite nice12:24
imbrandonty12:24
hazmatimbrandon, i don't have any insight into j.u.c/docs runs.. i did just update the one at jc.com/docs and it worked fine12:25
hazmatimbrandon, it might be a daily cron job12:25
imbrandonhrm kk, was 15 min before12:25
imbrandonno biggie tho i can just keep an eye out tomarrow worst case12:26
imbrandonthought there might be some logs etc , not a huge deal tho :)12:26
jmlimbrandon: thanks.12:27
imbrandonshould look good on tablet and phone too now, i only checked on my ipad tho12:27
imbrandonhazmat: btw i fully married the "traditional" canonical core css and bootstrap css with this push too, so like it would be easy to update jc.com to use the web-teams header but still get all the bootstrap/bootswatch goodies12:31
hazmatsweet12:31
jml'charm help' gives me '/usr/share/charm-tools/scripts/help: 11: /usr/share/charm-tools/scripts/help: /usr/share/charm-tools/scripts/: Permission denied'12:40
jmlVersion: 0.3+bzr148-2~precise112:41
imbrandonhrm how can i charm-upgrade to just a portion of the service ? e.g. a rolling upgrade12:41
imbrandonjml: thats an un helpful error but what it really means is help expects an argument12:43
imbrandoncharm help <some_command>12:43
jmloh. the irony.12:43
imbrandonheh12:43
jcastroimbrandon: ~charmers now has edit rights to the wiki12:45
imbrandonjcastro: ROCK!12:48
imbrandonsee my latest push ? all prettyfied12:48
imbrandonjcastro: http://www.assets-online.com/docs/juju/index.html12:48
imbrandonso whenever /docs builds next thats what it will look like12:49
jml INFO: Setting up initscripts (2.88dsf-13.10ubuntu11) ...12:50
jml ERROR: mount: block device /dev/shm is write-protected, mounting read-only12:50
jml mount: cannot mount block device /dev/shm read-only12:50
jmlAm getting that now when I try running dist-upgrade in my install hook (lxc environment)12:50
jmlshould I be filing bugs about all of these things?12:50
imbrandonlikely, sorry i cant be much help, not used the local provider much12:52
=== TheRealMue is now known as TheMue
imbrandonjcastro: no workie http://cl.ly/HVxl13:03
m_3imbrandon: docs merge this morning... I'm charmpilot today13:04
jcastroimbrandon: can you send a mail to rt@ubuntu.com with that screenshot?13:06
imbrandonjcastro: sure thing13:06
imbrandonm_3: E:parse13:06
jmlis there a standard thing that hooks do to silence debconf warnings about backends?13:21
=== benji is now known as Guest14462
jmlI have to bump revision every time I make a change to a charm, even while under development, right?13:33
=== benji___ is now known as benji
marsjml, upgrade-charm will bump the number in the revision file for you13:34
jmlmars: thanks.13:35
jml(although changing '1' to '2' is probably the least of the things I want automated :))13:36
marshehe13:36
jmldebconf :( upgrade questions :(13:38
m_3jml: maybe you mean DEBIAN_FRONTEND='noninteractive'?13:39
jmlwhere do I mean it?13:39
m_3jml: asking about how hooks silence debconf warning13:39
jmlso just export that at the start?13:40
m_3juju sets up the hook exec environment with that set already13:40
SpamapSjml: you can use deploy --upgrade13:41
m_3oh, now I think I understand your question... sorry.  you can do something like `apt-get update || true`13:41
m_3doesn't _silence_ them, but it doesn't barf on them either13:41
jmlSpamapS: thanks.13:42
jmlhttp://paste.ubuntu.com/1050895/ – that's where my install hook blocks at the moment.13:43
jmlSpamapS: should I destroy between deploy --upgrade?13:44
SpamapSjml: I encourage everyone to make the upgrade-charm hook call 'stop;install;start;config-changed' so it basically redeploys13:44
jmlSpamapS: oh right. there's a hook. :)13:45
jmlSpamapS: if you encourage everyone to do that, why doesn't the charm created by 'charm create' do that?13:46
SpamapSIts also not a bad idea to "refresh" all your relations by calling them all over again but that requires careful refactoring.13:46
m_3jml: so it looks like you might need to echo some config params to debconf-set-selections for that13:46
SpamapSjml: *GOOD IDEA*13:46
SpamapShonestly.. IMO juju core should do it13:46
jmlSpamapS: I abstain from that category of discussion :)13:46
m_3SpamapS: jitsu-core does though :)13:46
SpamapSshould just call upgrade-charm; ... all of that13:46
SpamapSm_3: huh? :)13:47
m_3juju-do will refire a relation right?13:47
jmlI'm working up my first serious charm. Will probably just have to grep my logs here for r'<jml>.*\?'13:47
SpamapSm_3: jitsu do was renamed 'jitsu run-as-hook', because no, it does not do that13:47
jmlfirst tip: wait until the US is awake13:48
jmlok, what's jitsu?13:48
SpamapSjml: juju-jitsu13:48
SpamapSjml: its in the PPA.. little helpers13:48
m_3SpamapS: ah, nevermind... that hasn't been merged in yet13:48
jmlSpamapS: I'll take a look.13:48
jmljitsu has no way of discovering subcommands?13:53
newz2000Hi, how do we know which we should used, db-relation-joined vs db-relation-changed?13:54
SpamapSjml: oops, regression.. that used to happen on bare 'jitsu'13:54
newz2000The tutorial (demoing drupal) uses db-relation-changed but we're not getting the user/pw/db details there, but they do seem to show in relation-joined13:54
m_3jml: hey, so `debconf-get-selections | grep console-setup` shows lots of options... perhaps you can echo one of these to debconf-set-selections for that package?  not sure the option from your pastebin, but start there13:55
james_wI find it surprising that console-setup is prompting13:56
m_3newz2000: joined is fired once, changed is continuously fired on both sides until no more relation-sets are called13:56
james_wI would have thought it would already be set up in the container13:56
m_3james_w: yes, me too13:56
newz2000m_3: if we're configuring our app to talk to the db, which is best?13:56
james_was in, I haven't seen it, but maybe jml is installing some obscure packages in the install hook13:57
jmlat this stage, I'm just dist-upgrading precise.13:57
jmltbh, am a little surprised that there's not a standard recipe for doing so.13:58
m_3newz2000: often best in changed13:58
m_3newz2000: make sure you `exit 0` if the other side (db) isn't up yet13:58
newz2000m_3: ok. We're having a prob where our script is firing one time and has no login credentials13:58
newz2000m_3: ok. We're still trying to wrap our heads around that part.13:58
james_wnewz2000, you don't always get all the credentials the first time it is called13:58
pindongaSpamapS, hi there again :) conceptual question about subordinate charms... would it make sense to write an apache-wsgi-app subordinate charm that you can configure with options (wsgi file, apache config, etc) (so that it can be reused by any "web appserver" charm without having to rewrite the apache config stuff?13:59
james_wpindonga, it would13:59
m_3newz2000: it's up to the particular interface, but the usual story is the db gets the other side's hostname, then creates databases and creds, then does a relation-set on that13:59
pindongaSpamapS, basically what I'm looking for is something similar to the chef recipes concept13:59
pindongaor james_w ^ :)13:59
m_3newz2000: so the first time the app gets a relation-get from the db is in changed13:59
newz2000james_w, m_3, interesting. We seem to only be running one time. Maybe that's because we're not doing exit 0 right13:59
jmlhttps://bugs.launchpad.net/charm-tools/+bug/1015575 filed also13:59
_mup_Bug #1015575: Error running 'charm help' without arguments <Juju Charm Tools:New> < https://launchpad.net/bugs/1015575 >13:59
m_3newz2000: gets a _non-empty_ relation-get :)13:59
james_wpindonga, I don't think there's all that much benefit to it if it is apache-specific though14:00
jmlgrr. 'nother meeting.14:00
newz2000m_3: ok. We don't understand it yet but we may be about there. Thanks, will pester you again in a bit14:00
m_3newz2000: not sure...  have to see the code14:00
m_3newz2000: sure14:00
james_wpindonga, but it's certainly a valid use of subordinates IMO14:01
pindongajames_w, well, the benefit would be write once read many14:02
pindonga:)14:02
pindongadon't see how you can do this in a webserver agnostic way14:02
SpamapSpindonga: wsgi is pretty webserver agnostic isn't it?14:02
m_3james_w: I've thought of this the other way around... the django app being subordinate to an apache-wsgi app... but it's probably the same diff14:03
james_wm_3, right, that's what I thought pindonga meant, but either way would work14:03
SpamapSanother reason it would still be useful if it is apache specific is that many of them can be written, and then as apache improves, the users see those improvements14:04
pindongajames_w, wsgi is, but you still need an apache-modwsgi one14:05
hazmatpindonga, i tend to think things like wsgi containers are best left to the charm not a subordinate.. the charm has to pick one to be functional anyways.14:05
pindongaso apache-modwsgi is probably the right combination for a subordinate14:05
pindongahazmat, the idea was to avoid repeating commonly performed stuff14:05
james_wpindonga, you could have a "wsgi" interface, which your app would provide, and then the apache charm could require that interface to serve your app via wsgi14:06
pindongaevery app server that you deploy using apache+modwsgi follows the same steps14:06
hazmatpindonga, anyways.. that's my op.. there's also a gunicorn subordinate14:06
pindongaexcept for the config itself14:06
m_3james_w: like that14:06
james_wor nginx could require the interface14:06
pindongajames_w, interesting14:06
hazmatpindonga, http://jujucharms.com/~patrick-hetu/precise/gunicorn14:06
SpamapShazmat: but without inheritance, we have no way to improve general apache+wsgi charms other than subordinate/primary relationships14:07
m_3similarly for a 'rack' interface14:07
pindongajames_w, so apache would be a subordinate charm to my app, in that case right?14:07
james_wpindonga, other way around14:07
pindongaas I need it to be deployed in the same container14:07
SpamapSI think we will eventually see charm inheritance, and thats how this will work14:07
pindongajames_w, if it's the other way, would I then juju deploy apache? (/me is at a loss)14:07
pindongaSpamapS,+114:08
SpamapSyou'll just write  'my-sexy-django-app' which extends: django-app which extends: apache-wsgi-app14:08
james_wthe basics would be "wsgi script, working dir, user, processes, threads"14:08
m_3can't wait for that14:08
SpamapSfunny juju might be the first language ti implement interfaces *before* inheritance14:08
james_wwhich is pretty webserver-agnostic, any any extras would require something else14:08
* SpamapS hits the rimshot button14:08
hazmatSpamapS, inheritance doesn't quite feel write either, ie. i don't want anything using apache mod wsgi, so perhaps subordinates give the choice..14:08
hazmats/right14:09
hazmatat least for my personal env deploys14:09
james_wpindonga, yeah, juju deploy apache, then juju deploy your app as a subordinate of apache, related using the wsgi interface14:09
SpamapShazmat: we need to *end* this idea that personal preference is a good idea in ops14:09
SpamapShazmat: there's a best way. Thats the way the charm works.14:10
SpamapSMeasure it14:10
m_3pindonga: it'd be `juju deploy --config=wsgi.yaml apache; juju deploy --config=myapp.yaml django; juju add-relation apache:wsgi django`14:10
SpamapSimplement it14:10
SpamapSand stop this nonsense that op A and op B can both be "right"14:10
hazmatSpamapS, and patch security ;-)14:10
hazmatie maintain it14:10
SpamapSI'm just saying.. the idea with the charm store is that we all can actually agree on the best way to do WSGI apps14:11
hazmatSpamapS, i agree, but unfortunately my best way is not the same as everyone elses ;-)14:11
=== zyga is now known as zyga-food
hazmatSpamapS, gunicorn + nginx14:11
hazmator gunicorn + varnish14:11
SpamapSright, the charm should just pick one14:12
SpamapSwhat matter is it how my wsgi app works.. somebody else who cares more about that figured it out. :)14:12
* SpamapS said pantomiming a hypothetical wsgi app developer14:12
m_3with a beret14:12
* SpamapS cues the bass and snare14:13
newz2000m_3: (or anyone) we could use some help with this /cc fugue8814:13
newz2000http://paste.ubuntu.com/1050957/14:13
* hazmat turns up the django 14:13
newz2000it's not successfully running syncdb, (line 45)14:14
newz2000and it's also not re-running14:14
james_wnewz2000, I'd check -n $password too14:14
m_3newz2000: so that's `db-relation-changed` right?14:14
newz2000m_3: yes14:14
newz2000and we did actually get it working so that it gets to line 4614:15
newz20004514:15
hazmatnewz2000, are you installing django via packages or virtualenv?14:15
newz2000and then it stops and doesn't retry14:15
Beretm_3, hey now, leave berets out of it!14:15
m_3perhaps around line 6 you should bail if14:15
hazmat:-)14:15
m_3haha14:15
newz2000hazmat: package14:15
m_3Beret: sorry :)14:15
Beret:)14:15
james_wnewz2000, do you know what it errors with?14:15
newz2000james_w: yes...14:15
james_wnewz2000, also, are you adding this to the existing graphite charm?14:15
m_3newz2000: perhaps around line 6 you should put an other-side's-not-up guard?... lemme finish reading14:16
newz2000psycopg2.OperationalError: could not connect to server: Connection refused14:16
newz2000        Is the server running on host "192.168.122.75" and accepting14:16
newz2000        TCP/IP connections on port 5432?14:16
fugue88m_3: What would we do in that guard?  Busy-wait?14:16
m_3newz2000: nevermind14:16
newz2000james_w: we're doing an exercise to learn charming (ISD team srpint)14:16
newz2000we made this charm yesterday, now adding db relationship to it14:16
newz2000(it works fine when using local sqlite)14:17
james_wI wouldn't have started with graphite :-)14:17
newz2000james_w: +114:17
james_wnewz2000, why are you writing the credentials to /local_settings.py too?14:17
newz2000debugging14:17
james_wok14:17
newz2000Interestingly, if we do juju ssh … then run syncdb without changing anything, it works fine.14:18
fugue88Under what circumstances, exactly, will juju retry a hook?  One part of the docs seems to indicate that if the hook exits non-0, it will be retried.  We don't see that.  Another part states that updating relation settings and exiting 0 will cause a retry.  We could do that, but we don't really have any settings we *need* to communicate to the other side of the relation.14:19
newz2000btw, fugue88 and I are pair programming this14:19
fugue88Also, the docs aren't clear about *what* will be retried.  Only the *other* side, or both sides?14:19
m_3fugue88: the relation hooks keep re-firing as long as either side keeps relation-set'ing14:20
fugue88m_3: If side A relation-set's, both A's hook and B's hook will be retried?14:20
m_3fugue88: any non-zero exit from a relation at any time will just error out the relation (I think)14:20
james_wfugue88, if they exit non-zero they won't be retried until a human intervenes14:21
fugue88Good to know about the non-0.14:21
james_wfugue88, if a relation-set is done then any relation-changed hooks will be fired for any relations that aren't in an error state14:21
fugue88Great!14:21
james_wfugue88, I don't believe anything just gets "retried"14:21
m_3fugue88: A relation-sets, then B fires and relation-gets... if B doesn't relation-set, then A will not be fired again14:21
fugue88Oh.14:21
fugue88Not great.14:21
james_wfugue88, as in, you exit 0 early if the data you need isn't there yet, on the assumption that the data will be set later14:22
newz2000is thre a convention for a relation-set to happen that indicates I'm not connecting, tell me when to try again?14:22
fugue88So, if the relation data is there, but the other side isn't actually ready, we'll need to busy-wait in the hook.14:22
james_wso if you relation-get user and it is "" then you exit 0 on the assumption that the other side hasn't done relation-set user yet14:22
james_wthen when it does that relation-changed will be called again14:22
james_wfugue88, the other side shouldn't set all the data until is is up14:23
m_3if the other side takes an hour.. and _then_ relation-sets... you'll get run again14:23
james_wor it should make sure to do a relation-set when it is up14:23
fugue88james_w: Okay, we might take have to take a look at the postgresql charm.14:23
fugue88Thanks!14:24
james_wbut there's nothing that will cope well if there is a network hiccup during relation-changed14:24
m_3this dance is different with different "interfaces"... pgsql creates the db and creds on the first join... then just hands it back14:24
m_3newz2000: one thing to look at is the pg_hba.conf on the pg side14:24
newz2000m_3: we have no prob connecting after it fails14:24
fugue88hba is fine in this case.14:24
fugue88Or, I should say...14:25
fugue88becomes fine.14:25
* SpamapS wishes he could focus fully on this discussion right now14:25
m_3ok cool... we've had problems setting that correctly in the past14:25
fugue88Maybe a delay where the pg charm sets the relation stuff before HUP'ing postgres has finished.14:25
fugue88We'll look.14:25
SpamapSfugue88: you can do relation-set's and relation-get's for other unrelated relationships, you don't have to busy wait14:26
SpamapSfugue88: so if you're in a relationship that gets a change, and you don't have some other relationship established yet that you need to send that data down or use it for something.. you can just defer14:27
SpamapSfugue88: right now that deferring is manual.. but its fairly straight forward how to do it. In the future I think we'll have a way to tell juju "defer this hook" and it will just retry it again14:27
m_3fugue88 newz2000: the pg charm is basic... please help improve it!  i.e., great project post-sprint would be to add in pg9 replication :)14:28
newz2000m_3: you're speaking our language14:28
newz2000we're testing now, if we get it working as we think it will then we'll look at that charm next14:28
* SpamapS goes afk bbiab14:28
SpamapSplease lets continue this discussion later though14:29
SpamapSkilling me to go right now!14:29
newz2000ok, we have it working14:29
newz2000we put an until syncdb sleep 1 in there14:29
newz2000and it works, so that implies the charm needs to be a bit smarter14:30
m_3hmmmm14:30
m_3newz2000: hey, so why do you exit 0 on syncdb fail?  that seems like a real error condition and should fail the relation14:31
newz2000m_3: that was a misunderstanding of the docs on our part. We thought exit 0 meant it would get tried again soon.14:31
m_3ah gotcha14:31
newz2000we think that could be a bit clear. :-)14:32
newz2000clearer14:32
m_3yup... merging docs today as a matter of fact14:32
newz2000m_3: what is the best way to get the postgres charm in order to propose a patch (if we're able to improve it)?14:33
m_3newz2000 fugue88: btw, please take meta notes about stuff like that... how we can improve the learning process.14:33
newz2000ok14:33
=== zyga-food is now known as zyga
m_3newz2000: just branch it to a personal branch... then propose for merging.  the source is lp:charms/postgresql and your personal branch should be in the format of lp:~<lp-id>/charms/precise/postgresql/<some-branch-name>14:35
newz2000m_3: cool14:35
m_3newz2000: you might check to see if we did anything special for syncdb timing in lp:~mark-mims/charms/oneiric/summit/trunk ( derived from lp:~michael.nelson/charms/oneiric/apache-django-wsgi/trunk ).  It might've just been that running other manage.py commands added the necessary delay accidentally14:46
newz2000m_3: ok14:46
newz2000we've found at least one potential optimization for this charm14:46
m_3newz2000: that's definitely a best practice... get it talking then iterate14:47
jcastrom_3: if you could find time to review this today I can totally remove that wiki page: https://code.launchpad.net/~jorge/juju/add-charm-store/+merge/11085414:48
m_3jcastro: sure thing... I'll bump that up to do it next14:49
m_3SpamapS: when you get a chance, let's talk about what to do with charms that could be both a primary or a sub... seems silly to fork if the only change is `subordinate: true`15:00
m_3or at least let's put it on the policy todo list15:02
=== zyga is now known as zyga-afk
* imbrandon returns15:18
imbrandonwow leave for an hour and yall start a party :)15:18
imbrandonhazmat: ~juju/juju/docs is not right it should be lp:juju/docs15:27
imbrandonwhere you keep moving merge proposals, but that branch is very old and owned by ~juju-hackers and not what is built from15:28
_mup_Bug #1015637 was filed: Allow one charm to be either a primary or a subordinate service <juju:New> < https://launchpad.net/bugs/1015637 >15:36
newz2000m_3: improvement to the postgresql charm: https://code.launchpad.net/~dsowen/charms/precise/postgresql/reload/+merge/11124715:40
newz2000works for us15:41
newz2000m_3: also, I think the reason you didn't experience our issue with the summit charm is because you're doing enough work in your hook to not notice the delay for postgresql to restart15:41
imbrandonmornin newz200015:42
newz2000howdy imbrandon15:42
=== al-maisan is now known as almaisan-away
hazmatimbrandon, those are the same15:43
hazmatimbrandon, the former is the actual target , the later an alias to it15:43
imbrandonhazmat: nah15:44
imbrandonhazmat: Diff against target:3147 lines (+2411/-174) 48 files modified15:44
imbrandonis the former15:44
imbrandonand actually its a 1 file change with 100ish loc15:44
imbrandonit might should be , but its not15:45
imbrandonbut if it should be then it needs to be owned by ~charm-contributors too not ~juju-hackers15:45
m_3newz2000: cool thanks!  processing the queue today, so I should get it into the store version15:51
imbrandonhazmat: @see https://code.launchpad.net/~jorge/juju/add-charm-store/+merge/11125015:52
_mup_Bug #1015644 was filed: Users told when deploy actually completes <juju:New> < https://launchpad.net/bugs/1015644 >15:52
_mup_Bug #1015645 was filed: juju set not firing config-changed when passed a yaml file <juju:New> < https://launchpad.net/bugs/1015645 >15:52
newz2000m_3: cool15:52
imbrandonDiff against target:156 lines (+140/-0) 2 files modified15:52
m_3can somebody verify Bug #1015645 when you get a chance pls?15:53
_mup_Bug #1015645: juju set not firing config-changed when passed a yaml file <juju:New> < https://launchpad.net/bugs/1015645 >15:53
m_3make sure I'm not going nuts15:53
surgemcgeeSure am getting this alot -->15:53
surgemcgeeoperation timeout 2012-06-20 11:53:01,900 ERROR operation timeout15:53
surgemcgeejuju debug-log15:53
_mup_Bug #1015649 was filed: "Unable to create file storage for environment" on 'juju bootstrap' in LXC environment <juju:New> < https://launchpad.net/bugs/1015649 >15:55
imbrandonhazmat or jcastro can you delete the first merge proposals ? i dont have access to15:56
m_3imbrandon: are these for docs?15:58
imbrandonm_3: yea i was fixing a merge proposal for jorge and going over the target with hazmat15:59
SpamapSm_3: back15:59
m_3imbrandon: i.e., please let me know if any MPs in the queue need to be ignored15:59
SpamapSm_3: whats an example of a charm that is primary or sub?15:59
m_3SpamapS: juju for one15:59
SpamapSerr?15:59
imbrandonSpamapS: mysql15:59
SpamapSimbrandon: that is a placement issue, not primary/sub16:00
m_3I use it all the time and've copied it out to juju and juju-standalone16:00
SpamapSm_3: can you be more clear?16:00
m_3SpamapS: juju is a lxc container installer16:00
m_3lp:charms/juju16:00
m_3sorry for the "who's on first" aspect of that :)16:00
m_3SpamapS: I test lxc by spinning up the 'juju' charm in ec216:01
m_3SpamapS:  but I also do classrooms by subbing juju to byobu-classroom16:01
m_3SpamapS: and charmtesting is migrating to be just some jenkins stuff with a juju sub for testing16:02
_mup_Bug #1015654 was filed: debug-log over-rates severity of stderr output <juju:New> < https://launchpad.net/bugs/1015654 >16:02
imbrandonm_3: what about juju on ubuntu16:02
m_3imbrandon: right16:02
m_3meta meta16:02
imbrandonheh , kinda funy to say but yea16:03
* m_3 is thinking of "Duuuude"... "Sweeeet"... but what does it say?16:03
imbrandonheh16:03
SpamapSm_3: right, so I think the answer here is "runtime subordination"16:03
SpamapSm_3: we need to add a simple  --subordinate to deploy16:03
_mup_Bug #1015655 was filed: Repeated blank lines during debug-log output <juju:New> < https://launchpad.net/bugs/1015655 >16:03
m_3SpamapS: actually to be more precise, juju isn't an lxc container installer... it's a juju client.. env is a config param16:03
m_3SpamapS: yeah, I'd _love_ that16:04
SpamapSm_3: we can of course fake that w/ jitsu, but this seems simple and straight forward and worth discussing w/ the juju core dev team.16:04
m_3SpamapS: yeah, that's why I filed it as a real bug... it's really worth it for users going forward16:05
imbrandonm_3: re-ignoring one , 11085416:05
imbrandoni just cant change the status , its superceeded16:05
SpamapSOf course.. the original --with and --in ideas would have handled this wonderfully. :-P16:05
m_3imbrandon: looking16:06
m_3SpamapS: true16:06
_mup_Bug #1015657 was filed: write-charm doesn't mention the need to bump version numbers when iterating charms <juju:New> < https://launchpad.net/bugs/1015657 >16:06
imbrandonbrb nephew showed up, but its superceeded by 11125016:07
imbrandonm_3: ^^16:07
m_3imbrandon: whoah... that's the one jorge was just asking me to fasttrack16:07
imbrandonyea it was targets wrong16:07
imbrandon111250 is correct16:07
imbrandonand the same merge16:07
imbrandonsee hows its 156loc , thats what it should be16:08
imbrandon:)16:08
imbrandonbrb16:08
jmloh hey, there's a bug announce bot.16:08
jmljust filed bugs based on my IRC backlog in case any of you wanted to keep track on what was causing me to stumble.16:08
* jml has to go now16:09
jmllooking forward to getting this darn thing deploying soon.16:09
m_3imbrandon: ok, I see that one16:09
m_3imbrandon: thanks16:09
=== fenris is now known as Guest34289
SpamapSdamn16:09
SpamapSso I missed all the good stuff?16:09
SpamapS:(16:09
m_3SpamapS: sounds like newz2000 and fugue88 got django working... and have some updates for pgsql!16:10
SpamapSgreat!16:11
* m_3 is hoping somebody who knows something about pgsql can be the maintainer at some point16:11
newz2000SpamapS: yes, we've got graphite, a Django app running16:11
SpamapSI'm working on writing up the charm store policy in a .rst document today16:11
newz2000pgsql obviously hasn't gotten the same level of love that mysql has16:11
SpamapSnewz2000: heh, are you saying mysql looks a little.. used? ;)16:11
newz2000well, it is on rev 121 vs 17 for pg. :-)16:12
m_3newz2000: yeah, I wrote it by default... never used pgsql except for playing around16:12
newz2000we're moving to use juju more and more in ISD and we deploy with pg whever possible.16:12
newz2000So I suspect it will mature16:12
m_3newz2000: I was always mysql (and sqlserver, but shhhhhh)16:12
SpamapSnewz2000: I imagine the most important addition you guys can make would be a pgsql-shared interface so django apps can share a db instead of having the db named after the service16:12
m_3and then replication :)16:13
m_3that's huge and missing16:13
newz2000ok, I'll keep that in mind.16:13
newz2000Tomorrow is SSO charm writing and it will use pg as well.16:14
m_3then externalizing performance tweaks into the charm config16:14
m_3(that might be an easy change to start with)16:14
SpamapSisn't there a new scale-out pgsql that was published recently?16:14
SpamapSm_3: indeed, it needs similar tuning capabilities to the mysql charm16:14
m_3SpamapS: afaik there were several solutions in pg pre-9 but now a standard one in 916:14
SpamapSI really wish add-unit on the mysql charm did something useful... like throw up galera replication automatically16:15
SpamapSm_3: No, something better than even that16:15
SpamapShazmat: whats the new pgsql cluster thing?16:15
hazmatSpamapS, postgres-xc16:19
hazmatSpamapS, its not ha though16:19
hazmatits linear scaling16:19
hazmatbut since its shared nothing, you need backups of each member of the cluster16:20
SpamapSPostgres-XC (eXtensible Cluster) is a multi-master write-scalable PostgreSQL cluster based on shared-nothing architecture16:20
SpamapSsounds HA to me16:20
hazmatSpamapS, shared nothing, no replication16:20
SpamapSso it doesn't do the HA..16:20
SpamapSbut it would be trivial to make it HA16:21
SpamapSits RAID0 ..16:21
SpamapSreplication is RAID116:21
SpamapSso.. we need a postgresql-raid10 :)16:21
imbrandonheh16:21
hazmatSpamapS, re pg we should focus on streaming replication options16:21
hazmatpostgres-xc is a different beast16:21
SpamapShazmat: I want both16:21
SpamapSWe should be able to do XC as a peer relation, and streaming replication as a provides/requires16:21
imbrandonjust use mysql and be done :)16:21
hazmatSpamapS, me too.. but since we have neither.. we should get pg doing something decent first.. since its actually used by many.16:22
SpamapSits used by nobody right now16:22
SpamapSin the context of juju :)16:22
SpamapS(unless people are adopting juju in secret)16:22
hazmatSpamapS, who uses that ? ;-)16:22
imbrandonheh actually there are, i see tweets about internal juju deployments all the time16:23
hazmatanyways.. i'd vote for spiffing up the pg charm with replication first.16:23
hazmatbut the do-ers have vetoes16:23
=== salgado is now known as salgado-lunch
* hazmat lunches16:33
=== Guest34289 is now known as ejat
imbrandonhazmat: so how should we fix the docs targets, looking at the review queue, they are all targeted wrong16:39
hazmatimbrandon, i'm not clear that their broken16:40
hazmatimbrandon, this one is correct.. https://code.launchpad.net/~jorge/juju/add-charm-store/+merge/11125016:41
hazmatbut i guess you fixed it16:41
hazmatimbrandon, so in general on those we should repropose16:41
imbrandonyea thats thje only one16:41
hazmatthat's what i've been doing in the past16:41
imbrandonok cool, just wasent sure16:41
imbrandoni can do that for those in the que now16:42
hazmatit takes too long to ask the original sometimes to do so, just note in the merge proposal.. the review queue still shows the correct origin person/branch16:42
hazmatimbrandon, if its in the review queue it should be correct..16:42
imbrandonyea16:42
imbrandonno16:42
hazmathmm..16:42
hazmatso this one https://code.launchpad.net/~jorge/juju/add-charm-store/+merge/11085416:42
imbrandonthere is alot un the queue wrong, infact the one you showed me that i fixed is the only right one16:42
imbrandonyea, see the huge diff16:43
hazmatimbrandon, but its correctly done16:43
hazmatimbrandon, its a branch of docs targeting docs16:43
imbrandon~juju/juju/docs isnt a failed branch and needs removed16:43
imbrandonit dont point anywhere16:44
hazmatoh..16:44
* hazmat gets it now16:44
hazmatimbrandon, right16:44
imbrandonyea :)16:44
hazmatthe lp:juju/docs doesn't point there anymore it goes to ~charm-contributors/juju/docs16:44
_mup_Bug #1015682 was filed: docs... 'make text' fails <juju:New> < https://launchpad.net/bugs/1015682 >16:44
imbrandonahh ok, that makes sense16:44
imbrandonok sooo ...16:45
imbrandonheh16:45
hazmatso we should correct ones that show up like that hopefully not too many.. they won't show  up in the review queue unless they target 'docs'.. i need to grab my takeout, bbiab16:46
imbrandonkk16:46
imbrandonm_3: make text works here16:47
imbrandontoctree is part of sphinx, do you have a really old version ?16:47
imbrandon1.1.3 i see , hrm16:48
imbrandonoh thast ~juju/juju/docs16:48
imbrandonm_3: wrong branch16:48
m_3imbrandon: huh16:50
m_3imbrandon: that bug was against trunk bzr10... before any merges16:50
imbrandonyea thats a really old bzr branch16:51
imbrandonwe're on like bzr3916:51
imbrandonor something16:51
imbrandon~charm-contributors/juju/docs16:51
imbrandonm_3: all these merge proposals are targeting the wrong bzr branch by mistake, they should target ~charm-contributors/juju/docs or lp:juju/docs , not ~juju/juju/docs16:53
m_3imbrandon: ah, ok... I was starting from the oldest MPs and going forward16:53
m_3imbrandon: thanks16:53
imbrandonyea no matter what the MP says do it against lp:juju/docs16:53
m_3gotcha16:53
imbrandonand it should be correct16:53
* imbrandon is trying to get it all streight :)16:54
SpamapSwe should fix all the warnings on the juju docs17:18
_mup_Bug #1015704 was filed: docs:  empty the drafts folder on production <juju:New> < https://launchpad.net/bugs/1015704 >17:18
SpamapS:make html in vim has quite a lot to say ;)17:18
imbrandonnever tried it in vim, but yea that was one of my goals SpamapS , over time :)17:22
=== koolhead17|afk is now known as koolhead17
imbrandon146ish of them or something17:22
SpamapSimbrandon: hey, the new theme.. it doesn't have any way to navigate sections17:23
SpamapSimbrandon: thats pretty vital, you adding it back in?17:23
imbrandoni thought of that, and am looking at it17:23
imbrandonwas actaully what i was doiing now17:24
=== salgado-lunch is now known as salgado
imbrandondident seem to be missing that much tho honestly, after looking it over more, but yea i'm testing diffrent ways now17:25
imbrandonSpamapS: you are talking about this http://www.assets-online.com/docs/juju/index.html17:25
imbrandonright ?17:26
SpamapSno17:26
SpamapSimbrandon: the thing thats being built right now in lp:juju/docs17:26
imbrandonoh then yea, i added the tree back in17:26
SpamapSunless thats been updated17:26
imbrandonits been updated17:26
SpamapSI haven't pulled in a day or two17:26
SpamapSwell then YAY17:26
imbrandoncheck that link, thats what it will look like next build17:26
SpamapSimbrandon: awesome!17:27
SpamapSimbrandon: wait, still no sections17:27
imbrandoni thought it was building every 15 minutes but somethign is broken or it isnt17:27
SpamapSthats the toc17:27
SpamapSI need the sections of the document17:28
imbrandonyea and thats what i was refering to as i was working with right now to add in somehow17:28
imbrandonbut reeally there is one or two toc items that really need it, and i'm wondering if they dont need broken up instread17:29
m_3SpamapS: fixing some warnings now17:29
imbrandonbut yea working on it now17:29
m_3imbrandon: if you're playing with layout you probably should be doing that on a separate feature branch and not trunk17:30
imbrandonSpamapS: see https://juju.ubuntu.com/docs/faq.html sections there17:30
SpamapSimbrandon: yeah, thats pretty awful. ;)17:30
SpamapSand agreed17:31
imbrandonm_3: layout is done, just a one char change to add sections but yea17:31
SpamapSplaying on trunk is a no-no17:31
m_3so what do we do right now... I'm halfway through a stack of merges17:32
m_3should I stop and let trunk settle?17:32
imbrandonno17:32
imbrandoni am no pushing anything17:32
m_3or keep going and let imbrandon deal with conflicts17:32
imbrandonyea go go, i'm off in my world17:32
m_3imbrandon: ok17:32
imbrandoni'll fix it if you step on my toes accidently17:32
imbrandon:)17:32
imbrandonbut yea its just one char change to add sections back in, but i'm working localy etc etc thus the assets-online domain to visualize17:33
imbrandonetc17:33
imbrandonso yea dont pay me no mind m_3 go go17:34
imbrandonSpamapS: btw uploading nginx+spdy to ppa here in a few17:37
imbrandonhave it all working17:37
koolhead17bkerensa_, around17:37
SpamapSimbrandon: nice, so then we can just add an 'nginx-website' interface that lets subs drop a file in /etc/nginx/sites-enabled, and away we go?17:38
imbrandonyup basicly17:38
SpamapSimbrandon: I love that. That should make scaling *php* quite easy. :)17:39
bkerensa_koolhead17: sup?17:39
=== bkerensa_ is now known as bkerensa
imbrandonSpamapS: how do you squash a commit in bzr ?18:14
SpamapSimbrandon: bzr uncommit18:15
SpamapSimbrandon: though that will make your branch diverge18:15
imbrandonerm18:15
imbrandonnot good18:15
imbrandoni just really want to append to the last commit18:16
SpamapSimbrandon: if you just want something like git revert, I believe you just do it like svn and reverse merge18:16
lifelessimbrandon: SpamapS: squash makes git branches fiverge too :)18:17
lifelessimbrandon: uncommit is the right thing, long as its a local branch vs e.g. trunk.18:17
SpamapSoh is squash something in git ??18:17
imbrandonyea18:17
SpamapSOk, never used it18:17
lifelessSpamapS: http://365git.tumblr.com/post/4364212086/git-merge-squash18:17
SpamapSstill fighting tooth and nail to not have to learn git until the rest of the world sucks me in. :-P18:17
imbrandonheh, hey now i'm _trying_ with bzr :)18:18
imbrandonlol18:18
imbrandonok so i want my working copy uncommited changes added to my last commit18:19
imbrandonuncommit is the right thing ?18:19
hazmatjust add a new commit18:19
imbrandonheh yea, sounds like it18:20
lifelessimbrandon: yes, uncommit will pop off the commit and not change your working copy at all.18:20
lifelessimbrandon: then you can commit again, and everything gets saved18:20
imbrandonk18:20
hazmatbzr doesn't want to support the whole rewrite commit history workflow..18:20
lifelesshazmat: well18:20
hazmatfor good reason..18:20
hazmatlifeless, i know.. it can.18:20
lifelesshazmat: thats not strictly true.18:20
hazmatbut that's not the intended usage model18:21
imbrandonyea ... with great power ... bah , adding commit18:21
imbrandon;)18:21
hazmatlifeless, are you saying it does want to support it.. or just noting that it can?18:21
lifelesshazmat: https://lists.ubuntu.com/archives/bazaar/2009q2/059263.html18:22
hazmatlifeless, incidentally do you know if the multi branch in single dir support in bzr work is basically on hold?18:23
lifelesshazmat: 3-mumble years ago I analysed the tasks users need to do with their VCS w.r.t. history management and came to the conclusion that editory editing is a core facility for a VCS18:23
lifelesshazmat: the team are currently holding the fort for maintenance across the LP portfolio, so yes. Patches would be loved - it works but needs some UI polish basically.18:24
lifelesshazmat: I would, if doing the analysis now, create and reference some personas, to make it more concrete.18:25
lifelessbut I think the conclusions owuld have been the same. I wish I'd pushed harder subsequent to that doc, now.18:25
hazmatlifeless, thanks for the link, digesting18:26
SpamapShttp://spamaps.org/files/charm-store-policy/policy.html18:31
SpamapSA rough draft, for your reading pleasure18:31
hazmatideally we expand the toc tree out on the current section18:32
hazmatand that goes under charms18:32
imbrandonhazmat: just poposed that merge18:32
imbrandonhttps://code.launchpad.net/~imbrandon/juju/docs/+merge/11128118:32
imbrandon:)18:32
hazmatimbrandon, nice!18:32
SpamapSimbrandon: hah, that charm-store.rst ... I just took all the 'musts' from that and put them in the policy.rst that I'm working on18:32
imbrandonheh18:33
imbrandonand infact m_3 just merged it, he's on it :)18:33
SpamapSYeah thats fine, I'll pull them out of it before I commit to trunk18:33
hazmatdoh.. here i was bothering to approve it ;-)18:33
* SpamapS grabs lunch18:34
imbrandon:)18:34
imbrandonSpamapS: thats still i good idea i think18:34
* imbrandon gets food as well18:35
* m_3 too18:35
jcastrom_3: I didn't even notice the drafts folder, heh18:39
lifelesshazmat: checking you got my reply; maybe I'm not signed in to freenode or something18:46
hazmatlifeless, just saw it now18:47
lifelesscool18:49
m_3bcsaller: yo18:57
bcsallerm_3: hey18:58
m_3bcsaller: hey, so in lp:juju/docs18:58
m_3there's a drafts/subordinate-internals.rst18:58
m_3that's referencing a relative path subordinate-services.rst18:59
m_3but the latter got moved to toplevel18:59
m_3can you please tell me what should go where?  and/or give me a branch?18:59
m_3happy to file a bug if you'd rather... just trying to clean docs up today19:00
bcsallerm_3: internals are just impl details, the other sub-serv is the user facing doc19:00
m_3should the draft/sub-internals be moved to internals/?19:00
bcsallerm_3: yeah, now that its in trunk it should19:00
m_3i.e., is any of that still WIP or is it all released?19:00
m_3ok cool19:00
m_3gracias!19:01
bcsaller:)19:01
robbiewjcastro: yo...dumb/out-of-touch question...where are we hosting the juju client rpms?  Is the plan still to leverage the OpenSUSE Build Service?19:05
jcastrohttps://github.com/jujutools/rpm-juju19:05
imbrandonrobbiew: github atm , on the same group as osx forumula , and yes19:05
imbrandon:)19:05
robbiewimbrandon: heh...thanks jcastro2.019:07
imbrandoni'm happy to shift things arround if a better spot is deemed , just figured i'd keep the "ports" togather19:07
robbiewimbrandon: nah..just curious19:07
robbiewI know the OBS can build for other distros, so just an "easy" way to support multiple RPM-based clients19:08
imbrandonyup, even builds right from git, someone sugested it like 5 min after i posted em19:08
imbrandoni was like erm , nice19:08
imbrandoninfact i should put the OSX and RPM docs in /docs today19:09
jcastrolooks like a nice thing for the next set of builds19:09
jcastrohmm I dig that new style you guys linked to too19:09
jcastroalso, I'm going to take a crack at that About page in the docs.19:09
imbrandon:)19:09
jcastroit's basically the most boring three paragraphs I've ever read in my life.19:10
imbrandonjcastro: see how i did the front page and you can jaz it up19:10
imbrandonwith plain html19:10
imbrandonfor pictograms and such19:11
m_3imbrandon: got some other additions to the toc in a sec19:11
imbrandonm_3: cool, i only had that one merge19:11
m_3relation stuff19:11
imbrandonfor now19:11
imbrandonso i'm back hands off for a few, was thinking about combineing the provider config pages and adding the OSX/RPM pages19:12
imbrandonbut i'll do them as merge req's19:12
jcastrohmm yeah19:12
jcastroa separate page for OSX and RPMs would be useful19:13
m_3we had some stuff in drafts that needed to go out toplevel19:13
imbrandonyea basicly the info i have on the github pages19:13
m_3then it needs just overall love19:13
imbrandon:)19:13
m_3jcastro: yeah, that's a good idea19:13
jcastroheya hazmat19:14
imbrandoni'll start a draft for it now, "ports" unless someone has a better name19:14
jcastrodo you have powers to kick off the doc generating cron on demand?19:14
jcastrolike say ... nowish?19:14
jcastrorobbiew: http://www.hanselman.com/blog/ManagingTheCloudFromTheCommandLine.aspx19:16
jcastrothere's a link to the cool node tools for azure btw.19:17
imbrandonyea their account mgmt on the cli is pretty sweet, i was thinking aobut how to add that to juju-jitsu19:17
robbiewjcastro: ack, thx19:17
imbrandonazure import account.json --> jitsu import environments.json :)19:18
imbrandonSpamapS: ^19:18
jcastrojI want that kind of syntax for AWS'es tools19:19
jcastronot "oh in order to make that easy you should grab smoser's scripts from git."19:19
m_3jcastro: give the doc gen a couple of minutes19:19
jcastrook19:20
jcastrom_3: man, everyone is excited about docs today19:20
jcastropeople must be bored19:20
imbrandonLOL19:20
imbrandonits my new sexy theme, well about to be new sexy theme when it builds :)19:21
* imbrandon ducks19:21
hazmatjcastro, no..19:25
hazmatjcastro, that's a prod machine run by is19:25
m_3jcastro: docs were just big on the review queue19:29
m_3jcastro: yeah, I don't see an obvious way to kick it off from lp19:29
jcastroit's no biggie I think19:29
m_3jcastro: well all the queued items are in... please pull and take a look locally when you get a chance.  it still needs love across the board as far as content and organization is concerned19:30
hazmatjcastro, for a preview its, there is a cron job i can/have poked at http://jujucharms.com/docs19:30
m_3hazmat: just updated like two minutes ago... poke again after a bit pls19:31
* m_3 back to charms19:31
jcastrooh cool19:31
hazmatm_3, just switched out to 10m pulls19:31
jcastrom_3: I'm hoping for elastic search to make it!19:32
jcastrothough the queue says 11 months19:32
jcastroI think it's measuring from the bug being filed19:32
jcastronot the branch being attached19:32
* jcastro goes to file a bug19:32
hazmatjcastro, not all of the bugs have branches attached..19:33
m_3jcastro: yeah, it's age of bug19:33
hazmatsome just drop it in the description or a comment19:33
jcastroright19:33
jcastrobut we don't care to review it unless there's a branch attached19:33
hazmatimbrandon, one more suggestion for the navtree, make it perm re screen pos, else you can click on it, and loose it if you subnavigate something19:34
jcastrolike if I filed a wishlist a year ago, and someone attaches a branch today, the age should be one day, not one year and one day.19:34
hazmatjcastro, there is a branch noted on the bug just not attached.. its fairly common19:34
imbrandonahh yea, i actually have that in the css and turned it off, wasent sure19:35
imbrandonhazmat: ^19:35
hazmatimbrandon, cool, i think its makes sense, that whole area isn't being used, and navtree follows focus makes sense i think19:35
imbrandonyea, it made some finky flicker tho, but i can fix that i'm sure, i'll toy with it tonight19:36
imbrandonfunky*19:36
hazmatthanks19:36
m_3jcastro: yeah, if there's a bug last modified time19:37
m_3jcastro: otherwise we can make up some sort of time since picked up into the queue19:38
m_3then that'd catch when it's removed from the queue b/c of status change19:38
m_3and the clock starts over when the status puts it _back_ in the queue...19:38
jcastrook I'll file that19:39
imbrandonsee we could easily make this the front page of juju.u.c tho :)19:41
imbrandonit really has all the info etc19:42
hazmatm_3, yeah.. last modified works a bit better19:44
hazmatm_3, the queue doesn't keep state19:44
hazmatalthough modified has its own problems19:45
m_3right19:47
m_3it's good enough19:47
imbrandonhazmat: ohh i see what you mean about the subnav19:52
imbrandonhrm, thats a bit more tricky19:52
SpamapSjimbaker: hey, how is jitsu watch supposed to work? I want to wait for agent-state: started ...19:53
imbrandonbecause it cant be fixed if you scroll, but needs to be fixed if you click19:53
SpamapSahh wait19:53
SpamapS--state19:53
imbrandonhazmat: hrm, actually bootstrap scrollspy.js would work i think19:55
jimbakerSpamapS, correct19:55
jimbakerwhich also will apply  --num-units19:55
jimbaker=1 if you're watching a service19:55
jimbakerif you're using the latest proposed branch19:56
m_3SpamapS: --help is pretty verbose19:58
m_3jitsu watch -h19:58
* m_3 is excited about the test possibilities that opens up19:58
SpamapSyeah20:00
m_3jimbaker: I'm curious to see what you did to make it play so nicely with shell signals20:00
SpamapSwe need to be able to wildcard the units20:00
m_3jimbaker: it responds so nicely to timeout20:00
m_3jimbaker: I wish we could do the same with some other juju commands (I mess up juju ssh all the time and try to ctrl-c it to no avail)20:01
imbrandonhahah me too20:01
SpamapSIsn't that just because the KeyboardInterrupt isn't being handled properly?20:02
SpamapSneed to shutdown the reactor or something20:02
m_3SpamapS: dunno... thought it was trapping something it shouldn't20:02
SpamapSimbrandon: is there a way to get sphinx to display arbitrary doc fields in the HTML?20:04
SpamapS:Version: 0.120:04
SpamapSI want to show that20:04
SpamapSactually I can just dup them into visible text20:05
imbrandonyea20:05
imbrandoni think i know what ya mean20:05
imbrandongimme example ,but yea, sphinx is like god, i seriously have fallen in love with it, its got some rough spots but yea20:06
imbrandonand the template syntax is like Twig :)20:06
imbrandonSpamapS: oh yea for a version20:07
imbrandonjust add it to the conf.py ( look in the html section ) as a option20:08
imbrandonthen use like {{ option_name }}20:08
imbrandonin the footer or something20:08
imbrandonyou can even do python etc with like .. code:: python20:09
imbrandonprint "blah"20:09
imbrandonetc20:09
SpamapSimbrandon: easier to just make it visible as text.. :-P20:11
imbrandon:)20:12
SpamapSactually hm, its available as {{ meta['...'] }}20:13
imbrandonsudo reboot20:14
imbrandonbah20:14
hazmatSpamapS, its the ssh subprocess that makes keyboardinteruppt a bit nasty afaicr20:15
SpamapShazmat: twisted should handle it in the reactor shutdown, shouldn't it?20:15
SpamapSor are we just subprocess'ing it directly?20:15
hazmatnot its twistedified20:16
imbrandonokie, i got way too early of a start today, taken a cue from mexico and going for a mid-day nap, back after bit yall20:17
jaustinpagedoes anyone know any good resources for trying to debug problems with juju deploying?21:07
jaustinpageim trying to figure out why the nova-compute charm is giving me trouble21:07
jaustinpager / juju deploying / juju charms deploying / g21:08
SpamapSjaustinpage: this channel is the best way to debug things. :)21:15
SpamapSjaustinpage: I mean, to find info how to debug. :)21:15
SpamapSjaustinpage: also askubuntu.com is good as we have a bot in here which alerts us to new questions. :)21:15
SpamapSjaustinpage: what seems to be the problem?21:16
=== salgado is now known as salgado-afk
SpamapSwow, argparse's subparser formatting is ridiculous21:34
SpamapSjml: FYI, fix for bug 1015574 in juju-jitsu trunk. Thanks for playing!21:42
_mup_Bug #1015574: No way of discovering subcommands <juju-jitsu:In Progress by clint-fewbar> < https://launchpad.net/bugs/1015574 >21:42
* SpamapS goes to the dentist21:42
jaustinpageSpamaps: figured out what i did wrong. Aparently the space in between the : "option" in yaml is important, i was leaving it out like this :"option:, and it was unhappy with me :-)22:11
jaustinpager/"option:/"option"/g22:11
SpamapSugh, argparse.. you steaming pile.. why can't you just do what I want?23:31
SpamapSsubparsers are basically a joke. Argh.23:32

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