/srv/irclogs.ubuntu.com/2011/09/30/#juju.txt

niemeyerThe wordpress example seems _actually_ broken00:34
_mup_juju/trunk-merge r342 committed by kapil.thangavelu@canonical.com00:44
_mup_merge trunk00:44
_mup_juju/ftests r11 committed by gustavo@niemeyer.net00:44
_mup_Reduced wget retries.00:44
niemeyerOh dear..00:52
niemeyerBen didn't revert the changes in the example formulas00:52
niemeyer:-(00:52
hazmatniemeyer, i thought i saw the change go through00:53
niemeyerhazmat: He changed to using hostname..00:53
hazmatniemeyer, which is better than hardcoding to ec2 md server00:54
hazmatis hostname not routable?00:54
hazmatone c200:54
niemeyerhazmat: I don't know, but the ftests are not passing anymore.. I'll give this a shot00:55
_mup_Bug #862680 was filed: EC2 api call TerminateInstances returns the wrong response <juju:New> <OpenStack Compute (nova):New> < https://launchpad.net/bugs/862680 >01:33
niemeyerhazmat: Yep, works01:44
hazmatniemeyer, cool01:44
_mup_juju/trunk r372 committed by gustavo@niemeyer.net01:47
_mup_Revert example changes introduced with lxc-omega so that they01:47
_mup_work again on EC2.01:47
_mup_juju/unit-with-addresses r404 committed by kapil.thangavelu@canonical.com01:57
_mup_merge trunk and resolve conflict01:57
hazmatoh.. the store work is in02:01
hazmatawesome!!02:01
* hazmat does a dance02:01
hazmathmm02:02
hazmati keep getting incompatible protocol errors02:03
hazmatniemeyer, unit tests broke with 37202:03
hazmathmmm ssh keys not found02:04
hazmatfor local provider02:04
hazmatneeds to be mocked02:04
niemeyerhazmat: For the incompatible errors you'll need to use the trunk on juju-branch02:10
niemeyerhazmat: The version was bumped with the store changes02:11
hazmatic02:11
niemeyerHmmm.. butler seems to have jumped a revision02:14
niemeyerYeah, I broke it02:19
hazmatniemeyer, i don't see how exactly.. all your changes appear to be in formulas02:22
niemeyerhazmat: I broke butler itself, in the ftests02:22
niemeyerhazmat: It was jumping revisions02:22
hazmatniemeyer, ah02:22
niemeyerhazmat: Unrelated to the above issue02:23
hazmatniemeyer, so trunk examples are using the metadata sever?02:23
niemeyerhazmat: Yeah, I reverted it so tests could pass02:23
niemeyerhazmat: We have to find a way to make both happy02:23
niemeyerand also have to fix the unittests so they don't rely on install ssh keys02:23
niemeyerinstalled02:23
niemeyerI've put it to rerun the tests since 36902:24
niemeyerunittests will likely all be broken02:24
niemeyersince I removed the fake id keys02:25
niemeyerssh id_*sa keys02:25
niemeyerThe ec2-wordpress one should pass on 37202:25
hazmati'll add the unit-info cmd to resolve charm addressing.. but realistically that's not till tomorrow evening02:28
hazmatvery happy to see the repository work go in02:29
niemeyerhazmat: That's awesome, thanks a lot02:42
niemeyerhazmat: Yeah, quite exciting isn't it?02:42
niemeyerhazmat: Almost there!02:42
hazmatfeels very disconcerting to login into byobu02:47
hazmathmm.. odd serialization of the charm id  to escaped form in zk02:48
niemeyerhazmat: It's almost like a url encoding02:50
hazmatniemeyer, yeah.. but its not needed for the zk node name02:50
niemeyerhazmat: It is needed, due to slashes02:50
hazmatah02:50
niemeyerhazmat: Agreed about byobu.. Eric Hammond is also complaining publicly about it02:52
niemeyerAlright, past bed time here..02:57
niemeyerMy talk is first in the morning tomorrow02:58
niemeyerSee you all tomorrow!02:58
_mup_juju/trunk r373 committed by kapil.thangavelu@canonical.com03:17
_mup_merge unit-with-addresses [r=niemeyer][f=859308]03:17
_mup_Units detect and record their public/private addresses into the unit state,03:17
_mup_in a provider specific manner.03:17
_mup_juju/lxc-provider-rename-local r406 committed by kapil.thangavelu@canonical.com03:20
_mup_merge pipeline and resolve conflict03:20
_mup_juju/local-origin-passthrough r406 committed by kapil.thangavelu@canonical.com03:21
_mup_merge pipeline and resolve conflict03:21
_mup_juju/trunk r374 committed by kapil.thangavelu@canonical.com03:24
_mup_merge unit-with-addresses [r=niemeyer][f=859308]03:24
_mup_Command line tools use unit addresses (status, ssh, debug-hooks, etc).03:24
_mup_juju/trunk r375 committed by kapil.thangavelu@canonical.com03:43
_mup_merge lxc-provider-rename-local [r=niemeyer][f=860982]03:43
_mup_Rename lxc provider to local provider.03:43
_mup_juju/unit-relation-with-addr r407 committed by kapil.thangavelu@canonical.com03:57
_mup_unit relations are automatically created with the unit's private address03:57
_mup_juju/unit-relation-with-addr r408 committed by kapil.thangavelu@canonical.com04:06
_mup_merge trunk04:06
_mup_juju/local-origin-passthrough r409 committed by kapil.thangavelu@canonical.com04:50
_mup_update juju-create to use jujuorigin for bzr branches instead of a separate jujusource var04:50
_mup_juju/local-origin-passthrough r410 committed by kapil.thangavelu@canonical.com04:52
_mup_merge latest env-origin04:52
_mup_Bug #862987 was filed: Local provider should respect juju-origin <juju:In Progress by hazmat> < https://launchpad.net/bugs/862987 >04:56
_mup_juju/local-origin-passthrough r411 committed by kapil.thangavelu@canonical.com05:20
_mup_use default origin util func if none  specified05:20
roganyone know if Gustavo's around today?14:47
fwereaderog: I expect he'll be around at some stage, but he's theoretically not14:54
RoAkSoAxj/win 1714:56
RoAkSoAxaerrr14:56
rogfwereade: ah, ok. i thought he was back today from the conference14:57
fwereaderog: hm, I thought it was still on today, maybe he's travelling14:58
rogah, you're right, it's still on.15:00
rogdidn't think it was.15:00
xerxasHi all15:10
xerxasis this canonical juju's user channel ?15:12
xerxas$ juju deploy --repository=examples mysql15:14
xerxasCharm 'cs:natty/mysql' not found in repository https://store.juju.ubuntu.com/charm15:14
xerxas2011-09-30 15:13:49,717 ERROR Charm 'cs:natty/mysql' not found in repository https://store.juju.ubuntu.com/charm15:14
xerxasthis command is what's written when I follow the tutorial15:14
xerxasis the charms repository down , or isn't yet up ?15:14
_mup_Bug #863374 was filed: deploy documentation is out of date <juju:New> < https://launchpad.net/bugs/863374 >15:14
xerxasok15:14
xerxasthanks15:14
xerxasthe ticket doesn't mention where is the repository15:15
xerxas" Recent changes to repository structure and deploy args are not recorded in the documentation."15:15
xerxasthere's no more repo ?15:15
xerxasor none , for now ?15:15
robbiewfwereade: ^ ?15:19
fwereadexerxas, ha, sorry, I was just fixing the docs15:19
robbiew;)15:19
fwereadexerxas: $ juju deploy --repository=examples local:mysql15:19
fwereadexerxas: if you're not running oneiric, you may need to do:15:20
xerxas$ juju deploy --repository=examples local:mysql15:20
xerxas[Errno 2] No such file or directory: '/home/ubuntu/examples/natty'15:20
xerxas2011-09-30 15:20:18,818 ERROR [Errno 2] No such file or directory: '/home/ubuntu/examples/natty'15:20
fwereade> xerxas: $ juju deploy --repository=examples local:oneiric/mysql15:20
xerxasok , waiting ;)15:20
xerxas$ juju deploy --repository=examples local:oneiric/mysql15:21
xerxas[Errno 2] No such file or directory: '/home/ubuntu/examples/oneiric'15:21
xerxas2011-09-30 15:20:55,711 ERROR [Errno 2] No such file or directory: '/home/ubuntu/examples/oneiric'15:21
xerxasI'm I supposed to retrieve the repo locally ?15:21
fwereadeah: yu don't have the examples repository in your working dir?15:21
fwereadexerxas: I'm not sure where you got juju from, but there should be an "examples" directory *somewhere*, which should have a subdir called "oneiric"15:23
xerxas ok15:24
xerxasin usr/share/doc , i suppose15:24
xerxasI got it from the ppa as written in the doc15:25
xerxasanyway, thanks for helping ;)15:25
xerxasand , I think the charm repository doesn't have charms that fits my need anyway15:25
fwereadexerxas: hold on a mo, I'm just installing it myself in the hope I can track it down15:28
fwereadexerxas: the examples repository might not, but we have plenty of other charms :)15:28
fwereadexerxas: what are you looking for?15:28
robbiewxerxas:  https://code.launchpad.net/charm15:33
niemeyerHeyo15:39
fwereadeheya niemeyer15:39
niemeyerArgh.. really bad connectivity here :(15:42
niemeyerbcsaller: Heyo15:43
bcsallerniemeyer: hi15:43
rogniemeyer: hiya!15:44
niemeyerbcsaller: Had to revert the example changes yesterday so the ftests could be happy15:45
niemeyerbcsaller: The modified examples were not working in EC215:45
niemeyerrog: Yo!15:45
niemeyerrog: Sorry for not giving you much feedback this week man.. it's being well beyond active15:46
niemeyerrog: Promise to do a better job next week15:46
rogniemeyer: no probs. i do hope you might come around to my changes! :-)15:47
niemeyerrog: I like them from one side, but the problem of trashing information is a real one15:48
niemeyerrog: I don't want to have to rollback to the current version because we need details that are being dumped15:48
rogniemeyer: there's no information being dumped, honest.15:48
_mup_Bug #863400 was filed: examples repository is not installed from PPA <juju:New> < https://launchpad.net/bugs/863400 >15:48
rogniemeyer: the code will instantly panic if it happens... which i'll bet it won't.15:49
niemeyer_Erm..15:50
niemeyer_Bad connectivity indeed :(15:50
niemeyer_rog: The change isn't improving things enough to justify dropping information in the protocol15:51
rogniemeyer_: if the paths start actually meaning something, then it's easy to change the channel type to reflect that. the main thing is separating session status events from node status events.15:52
rogniemeyer_: currently the code checks on every protocol message that the path is what is expected. so we're guaranteed that no information is being dropped.15:53
xerxasfwereade:  I'not looking for something special16:04
xerxasI'm just testing juju16:04
xerxas;)16:04
=== hazmat` is now known as hazmat
fwereadexerxas: I've looked into it, and for some reason the examples repository (which should be installed to /usr/share/doc/juju) isn't there at the moment16:05
fwereadexerxas: it's being worked on16:05
xerxasok16:05
xerxasthanks for the information16:06
fwereadexerxas: if you want to test quickly, you can always "bzr branch lp:juju" and use the examples repo in there16:06
fwereadexerxas: otherwise, expect an update to the PPA soon16:06
xerxasok16:06
xerxasthanks so much16:07
fwereadexerxas: a pleasure :)16:07
hazmatfwereade, also when committing a breaking change on trunk, (version increment) its probably nice to manually trigger the ppa build16:07
fwereadehazmat: thank you, good to know; er, how do I do that?16:08
hazmathmm.. i guess it only happened because i was running trunk and deploying ppa16:08
* hazmat looks for the build link16:09
hazmatfwereade, https://code.launchpad.net/~juju/+recipe/juju from here (its linked off the trunk code view)16:10
hazmata stable ppa will help some as well16:11
fwereadehazmat: thanks :)16:12
hazmatfwereade, did you discuss with niemeyer a timeline for getting the remote end operational?16:16
hazmatfwereade, great work btw. its very exciting to see this stuff getting done16:16
fwereadehazmat: afraid not, all I know is that niemeyer's working on it when he can16:16
fwereadehazmat: thanks :)16:17
fwereadeoh, bother, gtg: nn everyone, happy weekends :)16:19
rogfwereade: have a good one!16:22
hazmatfwereade, cheers16:23
* hazmat relocates to a better table16:23
rogi'm off to enjoy the sunshine. see y'all monday.17:06
hazmathttp://arstechnica.com/business/news/2011/09/google-devops-and-disaster-porn.ars17:08
hazmatsurge conference writeup17:08
hazmatrog, have a good one17:08
_mup_juju/unit-info-cli r412 committed by kapil.thangavelu@canonical.com17:14
_mup_amp api for unit-get cli17:14
roghazmat: nice. XML for the lose.17:16
hazmatrog, its always the cascading failures that burn17:18
SpamapSTwo more tests broken when run inside clean chroot's17:29
SpamapSyou guys should really be running the test suite with HOME=`mktemp -d /tmp/foo.XXXXX`17:30
jimbakerSpamapS, sounds like a good idea17:30
SpamapShttp://paste.ubuntu.com/699960/17:30
SpamapSjimbaker: I'm kind of surprised WTF didn't pick that up17:30
SpamapSor maybe it has17:31
SpamapSI see fails since 36617:31
jimbakerSpamapS, yeah, i noticed too17:31
hazmatSpamapS, yeah... i've seen those on wtf but its been unstable (wtf)17:33
hazmatthat's worth a bug report17:34
hazmattrying to make the 'unit-get' cli happen so we can stop hard-coding address in formula17:34
hazmatjust found elmo at surge17:34
hazmatjimbaker, is juju-origin ready to merge?17:35
hazmati've two branches in dev that i'd like to see go in that our based on it17:39
hazmatSpamapS, so 361 is uploaded, do we get to push any new things in?17:39
hazmati'm a little confused on the schedule for uploads17:40
SpamapSyes17:40
SpamapSone more upload. :)17:40
SpamapShazmat: technically we can upload all the way up to release day.. but as of yesterday, with FinalFreeze, we are at the release team's pleasure.17:40
_mup_Bug #863499 was filed: local provider tests fail with an empty home directory <juju:New> < https://launchpad.net/bugs/863499 >17:47
jimbakerhazmat, juju-origin is waiting on approval. i believe it's ready, that's why it's in review17:52
jimbakerhazmat, and i did see your branch that's waiting on it, looks good in my review of it17:53
jimbakerhazmat, just about to head to lunch, but i'll complete the review right after that17:53
niemeyerjimbaker: The ec2-wordpress ftest is hanging after a defer error and never returning17:55
niemeyerjimbaker: Will paste the output on an error17:55
niemeyerErm on  a bug17:55
SpamapSJust pushed a fix up for bug 863499 .. would be awesome if that got a fast track for reviews so I can enable running the test suite on the daily build PPA17:55
_mup_Bug #863499: local provider tests fail with an empty home directory <juju:Fix Committed by clint-fewbar> < https://launchpad.net/bugs/863499 >17:55
niemeyerSpamapS: Will check it out right away17:56
SpamapScool thanks. :)17:56
SpamapSthat will help streamline the process as we move into the final upload to 11.1017:57
niemeyerjimbaker: https://bugs.launchpad.net/juju/+bug/86351017:57
_mup_Bug #863510: destory-environment errors and hangs forever <juju:New> < https://launchpad.net/bugs/863510 >17:57
_mup_Bug #863510 was filed: destory-environment errors and hangs forever <juju:New> < https://launchpad.net/bugs/863510 >17:57
niemeyerSpamapS: Hah, sweet.. I was going to ask bcsaller about this one17:57
niemeyerSpamapS: You rock17:57
SpamapSit will be using the same debian/ dir as Ubuntu. :)17:58
jimbaker niemeyer, thanks for this17:58
niemeyerjimbaker: No worries.. don't know exactly what is going on there, but this blocked the ftests since yesterday evening17:58
SpamapSWill also fix bug 86340017:58
_mup_Bug #863400: examples repository is not installed from PPA <juju:In Progress by clint-fewbar> < https://launchpad.net/bugs/863400 >17:58
niemeyerjimbaker: It's hanging due to the unhandled error for sure, but reason why it's erroring isn't clear17:59
jimbakerniemeyer, ok, i'll think about this over lunch (have some friends waiting on me here)18:00
jimbakerbiab18:00
niemeyerjimbaker: Thanks18:00
_mup_juju/unit-relation-with-addr r409 committed by kapil.thangavelu@canonical.com18:09
_mup_setup a unit address by default, so relations have some useful value there by default, fix up hook tests that where checking raw value to include address info18:09
_mup_juju/trunk r376 committed by gustavo@niemeyer.net18:11
_mup_Merge fix-failing-local-tests branch by Clint [r=niemeyer] [trivial]18:11
_mup_This fixes tests so that they don't depend on installed user ssh keys.18:11
_mup_Bug #863526 was filed: Juju agents do not handle reboots <juju:New> < https://launchpad.net/bugs/863526 >18:11
niemeyerJim Fulton on stage right now18:16
SpamapShazmat: I filed bug 863526 but now I'm wondering if it may be a duplicate18:16
_mup_Bug #863526: Juju agents do not handle reboots <production> <juju:New> < https://launchpad.net/bugs/863526 >18:16
niemeyerSpamapS: the "production" tag is a neat idea18:19
_mup_juju/unit-relation-with-addr r410 committed by kapil.thangavelu@canonical.com18:24
_mup_fix up additional test fallout from relations with unit addresses18:24
SpamapSniemeyer: thanks, I've been trying to be very discerning in adding it.. only things that we *cannot* live without for production. Nice to haves are different.18:24
SpamapSniemeyer: btw, is bug 712476 valid anymore with the new repo work?18:24
_mup_Bug #712476: Ensemble deploy should have a --force option for reuploading a formula <cli> <juju:New> < https://launchpad.net/bugs/712476 >18:24
hazmatniemeyer, nice18:24
hazmatniemeyer, i think my friend alan is out there as well, he wanted to come out and give tribute to dorneles18:25
hazmatSpamapS, do you think cross-az is required for prod?18:27
SpamapShazmat: no18:27
SpamapShazmat: two environments and config settings can work around that18:27
SpamapShazmat: I think its pretty important though!18:28
SpamapSfor whizbang awesomeness18:28
_mup_juju/unit-info-cli r414 committed by kapil.thangavelu@canonical.com18:31
_mup_merge pipeline and resolve conflict18:31
_mup_juju/unit-info-cli r415 committed by kapil.thangavelu@canonical.com18:48
_mup_add unit-get cli18:48
_mup_juju/unit-info-cli r416 committed by kapil.thangavelu@canonical.com18:52
_mup_update examples to use unit-info to get addresses18:52
_mup_juju/unit-info-cli r417 committed by kapil.thangavelu@canonical.com18:54
_mup_update the php example.. not sure what its around for18:54
hazmatbcsaller, have you tried running local provider recently?19:59
_mup_juju/local-origin-passthrough r413 committed by kapil.thangavelu@canonical.com20:23
_mup_fix some local provider problems20:23
m_3negronjl: hey Juan... can you pls change owner of lp:charm/mongodb to charmers?  trying to push name changes20:52
negronjlm_3: sure...give me a sec20:52
m_3negronjl: danke20:53
negronjlm_3: done20:57
negronjlm_3: let me know if it works20:57
m_3negronjl: worked... um... like a charm20:59
m_3bu-dumpdum21:00
bcsallerand that made him quit the channel? heh21:03
m_3tough room21:03
adam_ghmm. using  'juju deploy --repository=$REPO local:$charm', $REPO/oneiric/charm1 deploys find but $REPO/oneiric/charm2 doesnt. get a charm not found error on the second21:59
_mup_juju/local-origin-passthrough r414 committed by kapil.thangavelu@canonical.com22:09
_mup_unit container deploy pulls origin from environment22:09
hazmatadam_g, is it possible there's a metadata.yaml parse error on charm2?22:09
hazmatthat breaks the repo find algorithm as i recall22:10
adam_ghazmat: ah, it was some bad strings in config.yaml22:20
hazmatadam_g, yeah.. i went back and forth if that should break things or not22:20
hazmatadam_g, probably worthwhile for us to at least log a message22:21
hazmatif we're in verbose mode22:21
* hazmat loves wifi hurtling down the train tracks22:23
adam_ghazmat: i found "ScannerError: ScannerError()22:26
adam_g"22:26
adam_gin the tracing i was doing.. not sure if thats catchable or what22:27
* adam_g <- python n00b22:27
hazmatadam_g, we can definitely catch it and report it, its just not clear that the log would be useful per se against it22:28
hazmatadam_g, could you pastebin the config file22:29
hazmatalmost done fixing up the local provider, i'll have a look at that next22:29
adam_ghazmat: http://paste.ubuntu.com/700121/22:31
adam_gthe issue was the description of 'virt-type' wasn't quoted22:31
adam_gand the : was throwing off the parse22:32
adam_git'd certianly be useful to just point out that there was in error parsing config.yaml, or metadata.yaml22:32
hazmathi bcsaller22:42
bcsallerhazmat: hey, power was out for a while, just came back on22:42
hazmatbcsaller, noticing a few problems in the local provider, some from the rename, some with the origin stuff, just curious if you been able to run it recently22:43
hazmatnot quite sure where its going wrong doing the origin stuff, adding a new log for the customize script22:44
bcsallerhaven't tried it with the origin stuff22:44
hazmatyeah.. the origin stuff is new, but even before then i found some other problems in the omega merge, some broken path handling split between the container and the juju home location22:45
bcsallerhazmat: but niemeyer reverted the hostname stuff in the examples22:45
bcsallerto an ec2 only version22:45
bcsallerso his test pass22:45
hazmatbcsaller, i've got a unit-get cli22:45
hazmatimplemented22:45
hazmatwhich fixes charms to get addresses in cross-provider manner22:46
bcsallerif you didn't change the formula though that could be it22:46
bcsallerahh22:46
hazmatalso populates unit relation settings with private address by default22:46
hazmatso charms don't need to do that anymore22:46
hazmatgoing to try and spend next week on the upstartifying everything and handling disconnect/reconnects22:46
hazmatjust wanted to see the unit-get working with local provider, when i hit some of these issues22:47
bcsallerI'll test it soon22:51
hazmatbcsaller, does something delete the juju-create script in the container?22:58
bcsallerno, but currently I think its just written to tmp22:59
hazmatbcsaller, so the customize is only run on the master ?23:01
bcsallerhazmat: yeah, and then clone rewrite the hostname23:01
bcsallerdon't want to have to apt-get install all the stuff for each node23:02
hazmatdebugging this on a mobile hotspot is still a bit painful23:06
SpamapShazmat: is that because of the initial download?23:08
hazmatbcsaller, it looks like using a chroot to run juju-create still leaks a bunch of env variables which are problematic23:08
hazmatSpamapS, its setup with apt-cacher-ng, but i'm doing a bzr branch for origin23:08
hazmatalthough i switched that out to a lightweight checkout23:09
SpamapSthat always helps. :)23:09
SpamapStruthfully, we should be doing bzr export23:09
hazmatso its about as fast as it can be23:09
hazmatSpamapS, well its a dev thing anyways.. so having the option to link it back is useful still imo23:09
hazmati've definitely done some remote debug/tests/commits23:09
bcsallerhazmat: should we write an upstart job that deletes itself at the end?23:10
SpamapSI 'spose23:10
hazmatbcsaller, its fine.. i was just wondering cause i wanted to execute it.. but chroot in, wouldn't give me the same fs.. i ran into a pty allocation problem ssh'ing.. just curious if it was still there if i could manage to ge tin23:10
hazmatbcsaller, looks like the problem is no setuptools for the develop on a branch23:11
hazmatback in a moment, cafe caboose trip23:11
hazmatSpamapS, do you know how to get lots out of upstart?23:49
hazmats/logs23:49
SpamapShazmat: indeed I do23:54
SpamapS...23:54
SpamapShazmat: initctl log-priority debug works23:55
SpamapShazmat: you might just want 'initctl log-priority info'23:55
SpamapShazmat: debug is a bit ridiculous23:55
SpamapShazmat: if you want the programs' logs.. you have to redirect their stdout/stderr..23:55
hazmatSpamapS, thanks23:56

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