/srv/irclogs.ubuntu.com/2012/01/23/#juju.txt

=== elmo_ is now known as Guest53104
_mup_Bug #920312 was filed: open-tunnel leaves juju unable to connect to an environment if local IP changes <juju:New> < https://launchpad.net/bugs/920312 >07:09
SpamapSheh.. juju status | ccze -A07:49
SpamapSlooks quite nice actually07:49
* SpamapS opens a feature request to have ccze colorize ec2 instance ids.07:49
SpamapSoh hah.. 2007 was the last release07:50
shaonhey SpamapS08:01
shaonSpamapS: did you guys manage to try juju on euca?08:02
SpamapSshaon: the trouble is the leading path recommended/required on walrus08:08
SpamapSshaon: should be possible to bypass with a reverse proxy that hosts walrus on /08:09
shaonSpamapS: hmm08:09
SpamapSshaon: I'd be surprised if we were the only ones running into this.. seeing as Euca themselves had to patch s3cmd/boto to work this way08:10
shaonSpamapS: so what do you suggest in this case?08:15
SpamapSshaon: try setting up a mod_proxy server with ProxyPass / http://your.walrus.server/with/its/path:999908:18
SpamapSshaon: you could even run it on the same box, but with a different port08:18
shaonSpamapS: okay, will inform you the update08:19
shaonSpamapS: thanks :)08:19
SpamapSshaon: no, thank you for testing. :)08:23
niemeyerGood morning!12:57
mplhello13:14
_mup_Bug #920454 was filed: juju bootstrap hangs for local environment under precise on vmware <juju:New> < https://launchpad.net/bugs/920454 >14:04
=== Guest53104 is now known as elmo
niemeyerWhy is it so silent in here today? Everybody in their hacking hats? :)16:19
jimbakerniemeyer, i suppose so16:19
m_3it's a monday after a big conference16:20
nijabam_3: Hello. can you explain the client and server interface of mediawiki to an ignorant like me?16:40
m_3nijaba: hey man...  lemme take a look16:41
nijabam_3: hey, I thought it was your charm.16:41
nijabam_3: guess not16:41
m_3nijaba: I've worked on it since it was written... but most of my changes are in a separate branch waiting for colocation to land16:42
nijabak16:42
m_3(things like monitoring and a shared image-store to use when spreading to multiple wiki instances)16:42
nijabam_3: was it SpamapS originally?16:42
m_3heck dunno... lemme look at the history16:43
* nijaba looks too16:43
m_3I think kapil orig... then clint... then me16:43
m_3what're you wondering about?  I've worked with it a bunch16:43
nijabam_3: why the db has 2 interfaces, client and server16:44
m_3oh... db and slave?16:44
m_3lemme refresh to make sure I'm looking at the most recent version of the charm16:45
nijabam_3: thanks :)16:45
m_3the wiki is set up to use a replicated mysql setup... that's prob what's going on16:46
m_3nijaba: look in hooks/combine-dbservers16:49
nijabam_3: k16:49
nijabam_3: thanks, got it.  Cheers16:53
m_3I've got a working stack script for mediawiki using a replicated mysql setup... it's around here somewhere16:54
* m_3 digging16:55
m_3it might be named ensemble tho :)16:55
m_3so s/working/was-working/ :)16:55
m_3nijaba: http://paste.ubuntu.com/814448/16:57
nijabam_3: neat16:57
m_3looks _great_ in gource too btw16:58
SpamapSadam_g: btw, don't know if you noticed, but the precise PPA is finally up to date17:39
SpamapSI think its about time we updated the precise distro version actually17:39
SpamapSreminder to devs: feature freeze is Feb 16!17:39
adam_gSpamapS: ah, cool17:40
SpamapShazmat: thanks, btw, for the twisted fix!17:41
SpamapShttp://wtf.labix.org/447/ec2-wordpress.out.FAILED17:57
SpamapShow do we retry these?17:57
SpamapSjust looks like maybe connectivity was compromised17:57
hazmatSpamapS, looks like the instance just took a while to startup up, and the test fell out of its retry loop (120 times)17:59
hazmathttp://bazaar.launchpad.net/~juju/juju/ftests/view/head:/tests/ec2-wordpress/run.sh17:59
SpamapSYeah I know it works.. I've been using 447 for a while now its fine18:00
SpamapSJust wondering if we can tell wtf to try again or we have to wait for the next commit18:00
hazmatnot sure afaik its a wait for new change, its setup as  a cron trigger polling for new revs, alternatively perhaps niemeyer could run it again from the that machine18:02
* SpamapS longs for jenkins in all its monstrous glory18:02
koolhead17:(18:03
niemeyerSpamapS: Be my guest :)18:03
* SpamapS presses enter on his juju deploy of it into canonistack18:04
niemeyerMeanwhile, wtf.labix.org is running 447 again.18:06
SpamapScool ty!18:06
niemeyerSpamapS: np18:07
* SpamapS really just wants jenkins for the IRC bot and pretty graphs. ;)18:07
niemeyerSpamapS: It's marking 447 as FAILED, but if you click on the FAILED, you'll see it redirects back because it doesn't exist18:08
niemeyerSpamapS: By the time it ends, it should have ok/FAILED, and the output will be there again18:09
SpamapSsweet.. just wanted to make sure it passes before uploading that to Ubuntu18:09
SpamapSwhoa.. bug listings just got like.. rainbowized18:11
SpamapShttps://bugs.launchpad.net/ubuntu/+source/juju18:11
niemeyer:-)18:13
niemeyerSpamapS: You got a green18:39
SpamapSniemeyer: w00t18:40
SpamapSlocal build test passed too18:40
* SpamapS uploads18:40
SpamapSBuild needed 00:05:27, 16640k disc space18:40
SpamapSI love eatmydata ... :) takes 16 minutes on the buildds18:40
niemeyereatmydata?18:41
niemeyerSpamapS: Is that something that wraps a process to monitor it or something?18:41
SpamapSniemeyer: http://www.flamingspork.com/projects/libeatmydata/18:44
SpamapSlibeatmydata is a small LD_PRELOAD library designed to (transparently) disable fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe.18:44
niemeyerSpamapS: Ah, neat18:45
SpamapSGood for iterating over tests18:45
niemeyerSpamapS: That's awesome indeed, and the name is awesome too :)18:45
SpamapSniemeyer: most of what Stewart does is quite awesome actually18:45
niemeyerSpamapS: I guess that could be done with a ramfs int his case, tho18:45
niemeyerSpamapS: I can see that being unfeasible for larger values of "data", though :)18:46
SpamapSniemeyer: right, but eatmydata requires no privileges.18:46
niemeyerSpamapS: Good point18:46
SpamapSniemeyer: tmpfs/ramfs will always outperform it.. but eatmydata is a nice way to opportunistically take full advantage of memory18:46
* niemeyer mumbles something about plan918:46
SpamapSwhen you don't care for durability18:47
andrewsmedinaHas anyone had problems with openstack returns hostname that juju doest not can resolve?18:55
niemeyerjcastro: ping18:55
niemeyerandrewsmedina: Hmm.. sounds like a networking issue18:56
niemeyerandrewsmedina: Do you recognize the hostnames it can't resolve?18:56
andrewsmedinaniemeyer: I think that it's a nova-network problem18:57
niemeyerandrewsmedina: Gotcha18:57
SpamapSman.. ccze even makes bzr logs more readable. :)19:00
SpamapSThough I'm not sure why it highlights Clint, but not Byrum.. hm19:01
m_3andrewsmedina: yes, this is a common problem... I'm not sure of the best long-term solution19:11
m_3andrewsmedina: start on a box that can hit the openstack endpoint using euca-tools or equiv19:12
andrewsmedinam_3: eucatools work's fine here, but the vm's create with juju doesn't19:13
m_3andrewsmedina: then 'juju bootstrap' should come up19:13
m_3andrewsmedina: then you have to euca-allocate-address and associate that with the bootstrap instance19:13
andrewsmedinam_3: hmm19:13
m_3thereafter juju works fine19:13
m_3when you need to "expose" a service, you'll have to attach another public address19:14
andrewsmedinaI miss those things in the juju docs19:14
m_3(I'm working on an openstack installation that only gives me two public IPs... so I have to swap them around sometimes)19:14
m_3andrewsmedina: yeah, funny that :)19:14
m_3andrewsmedina: not sure if they're in there atm19:15
andrewsmedinam_3: I'm working in a PaaS project that use juju as engine19:16
m_3andrewsmedina: cool!19:17
m_3andrewsmedina: I'd love to discuss details of your setup sometime19:17
andrewsmedinam_3: cool! :D19:18
SpamapSandrewsmedina: The docs for working with OpenStack are a bit obtuse because the docs we have are mostly focused on using the EC2 API for.. EC2. :)19:32
andrewsmedinaSpamapS: I know19:33
SpamapSwe should definitely add notes for where openstack might differ19:33
SpamapSsame for eucalyptus too really19:33
andrewsmedinaSpamapS: If I can help19:33
andrewsmedinatell me19:33
m_3andrewsmedina: please, by all means keep track of what you're doing... even if it's rough notes it's valuable19:40
m_3andrewsmedina: there're _lots_ of different ways to run an openstack or eucalyptus setup...19:41
andrewsmedinam_3: I now19:41
andrewsmedinaOpenStack is very flexible19:42
m_3it's a good thing fundamentally.. but it makes it pretty tough to target19:43
andrewsmedinawe are wrote some charms too19:43
m_3whoohoo!19:48
SpamapSOne of the openstack core devs was at SCALE and wanted to work on an OSAPI provider19:51
niemeyerjcastro: ping19:58
SpamapSniemeyer: he may be swapping today, since we all worked the weekend at SCALE20:02
niemeyerSpamapS: Thanks, I imagined that could be the case.. was just hoping to catch him passing by to ask about the docs stuff20:04
SpamapSstill waiting on the IS ticket to build from lp:juju/docs ?20:05
niemeyerSpamapS: It's more about how the splitting is going20:16
* m_3 lunch20:16
niemeyerSpamapS: I want to push the charm store spec to the server20:16
niemeyerSpamapS: and it's not clear to me where things currently live20:17
SpamapSniemeyer: seems like you still have to commit it to lp:juju and then merge to lp:juju/docs until the specs are generated from the right place20:18
niemeyerThis is a bit weird.. it sounds like juju/docs not only offers no advantage, but is an additional burden only20:19
SpamapSI think the eventual goal is to have the possibility of another team owning it20:22
SpamapSso ~juju-docs can work on the documentation20:22
SpamapS(a hypothetical team I made up to support my hypothesis)20:23
SpamapSniemeyer: once the docs are generated from lp:juju/docs directly, the double-maintenance wouldn't be necessary20:23
niemeyerSpamapS: Yeah, I understand the end goal, it just sounds like we've made a detour that isn't necessary for it20:24
niemeyerSpamapS: We can just take the actual doc files, put in a new branch without the code, and maintain it there from now on20:25
SpamapSthats exactly what we did..20:27
SpamapSbut the step of generating the online displayed version has not completed20:27
niemeyerSpamapS: Ok, maybe I misunderstand then.. you seemed to indicate that docs were still being merged in lp:juju, and that this was merged onto lp:juju/docs afterwards?20:28
SpamapSWell they will need to be if you want them to be displayed on juju.ubuntu.com20:29
SpamapS(which is why they haven't been rm'd from lp:juju just yet)20:29
* SpamapS checks on status of well known RT ticket20:29
niemeyerSpamapS: Understood.. we can publish our own docs elsewhere meanwhile20:30
SpamapShmm.. not so well known.. I think hazmat opened a ticket but I can't seem to find reference to it20:33
SpamapShazmat: whats the ticket to re-direct juju.ubuntu.com/docs to build from lp:juju/docs ?20:33
hazmatSpamapS, https://portal.admin.canonical.com/4845620:34
hazmatSpamapS, i amended the original request for a cron job from october20:34
hazmatwhich was still open20:34
hazmati'm a little confused as to the delay20:34
SpamapSOH20:35
SpamapSso it is that one20:35
SpamapSI thought I was mistaken20:35
SpamapShazmat: since its your ticket, could you bump the vanguard to take a look?20:36
SpamapSits lamont.. he'll nail it20:36
* SpamapS goes to find food20:36
hazmatSpamapS, ok20:38
niemeyerhazmat: https://codereview.appspot.com/557004721:14
niemeyerhazmat: It's the same old formula store specification, but revised and cleaned up to reflect what we implemented and the whole renaming21:14
hazmatniemeyer, cool21:14
hazmatniemeyer, one thing that would be off interest is having a notion of multiple ppas per user21:16
hazmatright now we just have the single namespace/ppa per user21:16
niemeyerhazmat: Yeah, that's coming21:16
niemeyerhazmat: But that's a follow up21:16
niemeyerhazmat: There are several ways in which this spec/feature will have to be expanded21:16
niemeyerhazmat: But these only matter right now if they'd change what's there21:17
niemeyer(as in, being incompatible)21:17
niemeyerhazmat: And this adds .lbox to the repository, for better supporting lbox: https://codereview.appspot.com/557504621:19
hazmatnice21:20
niemeyerhazmat: So LGTM it there, and I'll lbox submit it :)21:22
hazmatniemeyer, i'll definitely have a look, but probably not till latter today or early tomorrow, i've got a few other reviews i'm trying to catch up on atm21:23
niemeyerhazmat: I meant the latter one21:23
niemeyerhazmat: It's a one liner21:23
hazmatniemeyer, LGTM ;-)21:23
hazmatniemeyer, the first one mostly looks the same on a casual review , so should be straightforward21:23
niemeyerhazmat: There, please21:24
niemeyerhazmat: Doesn't matter much for this case, but that's the workflow.. lbox submit picks up your presence in the discussion21:24
hazmatah21:25
niemeyerhazmat: See the message now: https://codereview.appspot.com/557504621:27
niemeyerhazmat: Same message goes onto the commit21:27
hazmatniemeyer, nice, lbox rocks21:31
hazmatrust and go have some similiar high levels22:00
=== franciscosouza is now known as fsouza
pindongahi, I'm trying to use juju with openstack... I get it to start bootstrapping, but it never finishes. All I get is : Environment still initializing. Will wait.22:48
pindongaany ideas on how to debug this?22:48
andrewsmedinapindonga: Have you tried to run in verbose mode?23:01
andrewsmedinapindonga: juju -v bootstrap23:01
_mup_juju/relation-already-exists-error r444 committed by jim.baker@canonical.com23:11
_mup_Better error message23:11
_mup_juju/relation-already-exists-error r445 committed by jim.baker@canonical.com23:12
_mup_Merged trunk23:12
_mup_juju/relation-already-exists-error r446 committed by jim.baker@canonical.com23:17
_mup_Fix add-relation test23:17
SpamapSpindonga: do you see your instances starting up?23:54

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