/srv/irclogs.ubuntu.com/2011/12/12/#juju.txt

_mup_Bug #903014 was filed: relation-broken runs in inappropriate context <juju:In Progress by fwereade> < https://launchpad.net/bugs/903014 >02:40
_mup_Bug #903016 was filed: relation-broken hooks will not always be fired <juju:In Progress by fwereade> < https://launchpad.net/bugs/903016 >02:43
_mup_Bug #903017 was filed: unit workflows stop/start inappropriately <juju:In Progress by fwereade> < https://launchpad.net/bugs/903017 >02:45
_mup_Bug #903018 was filed: charm upgrade is dangerous <juju:In Progress by fwereade> < https://launchpad.net/bugs/903018 >02:47
EvilBillI keep seeing that the juju client is in macports - yet it's not listed on the macports site, and a "port search juju" comes up empty. Am I missing something?04:04
EvilBillI found something on it… https://trac.macports.org/ticket/3023704:33
EvilBillNot directly installable though.04:35
SpamapSEvilBill: its pure python, so once you have libzookeeper, I believe you can just use setup.py to install it06:54
EvilBillSpamapS: Hm, I'll try that.06:55
EvilBillgrabbing libzookeeper from macports now06:55
SpamapSEvilBill: actually you'd also need txzookeeper too06:55
EvilBillI'll try that :)06:55
* SpamapS thinks at some point we need to have releases to coordinate these ports/targets06:55
EvilBillI agree.06:56
EvilBillthings need to coalesce a bit.06:56
EvilBilldocumentation too.06:56
EvilBillblah, txzookeeper isn't in macports, and libzookeeper failed to build.06:57
EvilBillWill look at this later, then06:57
SpamapSEvilBill: there's also virtualbox. :)06:59
EvilBillTrue :)06:59
* SpamapS has been native on his macs for over a year now. :)06:59
EvilBillI've got other linux machines around here too.06:59
SpamapSI still flip back to OS X to update the OS on my iphone tho. :-P06:59
EvilBillregular lab environment.06:59
EvilBillBut I use a Mac as my "desktop" environment to protect myself from myslef.07:00
EvilBillIf I am on a linux desktop, I tend to try out new stuff constantly07:00
EvilBillin search of the newest shiny07:00
EvilBilland eventually I break it.....07:00
EvilBilland then my main desktop environment is screwed up, and I spend time not working to FIX it.07:00
SpamapSyeah I used to have that running Debian sid on my workstation.. my laptop was always the more stable box. :-P07:02
SpamapSNow I have my smaller laptop (MacBookAir 11") on Ubuntu 11.10, and my dev laptop (MBP 15") is precise.. works pretty well.07:03
EvilBillYep.07:03
EvilBillNice.07:03
SpamapSthe Air, running Unity 2D, gets 5.5hrs battery life.. just barely less than it did in OS X (about 6hrs)07:03
EvilBillNICE.07:03
EvilBillI need to setup a ubuntu machine with a gui again.07:04
EvilBillI have a bunch of server-type stuff07:04
SpamapSmarcoceppi: btw, thanks for the updates, merged07:05
SpamapSEvilBill: I'm kind of addicted to apple's hardware. Having an apple store 1 block away from the house is really 90% of the problem. ;)07:05
EvilBillSpamapS: I'd be SO broke if that happened.07:06
SpamapSYeah like, when it came time to buy a new, smaller laptop.. I could have probably gotten a much better deal on a Lenovo .. but the air is *so* pretty.. and *so* thin.. and I *so* just got to walk out of the store with it. ;)07:07
EvilBillYep.07:12
EvilBillI have way too much apple gear too.07:12
EvilBillHell, I have a CUBE.07:12
niemeyerGood mornings!09:10
koolhead11hi all09:35
niemeyerkoolhead11: Hey there09:40
koolhead11niemeyer: hello.09:41
koolhead11i upgraded my juju from PPA09:41
koolhead11sudo add-apt-repository ppa:juju/pkgs && sudo apt-get update && sudo apt-get upgrade juju09:41
koolhead11but i can still not see the details error log09:41
koolhead11*detailed09:41
* koolhead11 is yet not able 2 deploy the simplest charm he wrote :(09:43
niemeyerkoolhead11: Sorry, I'm out of context.. why isn't it working?09:45
koolhead11niemeyer: https://code.launchpad.net/~koolhead17/charm/oneiric/boa/trunk09:46
koolhead11i am trying to execute it vila LXC09:46
niemeyerkoolhead11: You mean via the local provider?09:46
koolhead11niemeyer: yes09:46
koolhead11niemeyer: also http://paste.ubuntu.com/767706/09:47
koolhead11why is it searching 4 example inside oneiric :(09:47
niemeyerkoolhead11: Because that's the default Ubuntu series.. you've provided none, so it picked the default oe09:51
niemeyerone09:51
niemeyerkoolhead11: local:foo is the same as local:oneiric/foo when "oneiric" is the default09:52
koolhead11niemeyer: i have directory structure like this /home/atul/example/oneiric/charm09:52
koolhead11so when i say juju deploy --repository=example local:boa09:53
niemeyerkoolhead11: So it looks like you're passing the wrong path in the command line09:53
koolhead11it means /home/atul/example/oneiric/boa09:54
niemeyerkoolhead11: --repository=/home/atul/example is probably what you want09:54
koolhead11niemeyer: ok let me try that way09:54
koolhead11niemeyer: no luck . :( http://paste.ubuntu.com/767711/09:58
kickinz1_quit09:59
koolhead11kickinz1_: /quit will work :D09:59
niemeyerkoolhead11: Can you please paste "cat ~/example/oneiric/boa/metadata.yaml"?10:02
koolhead11sure10:02
koolhead11niemeyer: http://paste.ubuntu.com/767715/10:03
niemeyerfwereade: Morning10:03
fwereadeheya niemeyer10:03
fwereadeniemeyer, nice weekend?10:03
niemeyerfwereade: Sorry for being slow on the stop stuff.. I've been thinking about it, and would actually like to talk to you today at some point10:04
niemeyerfwereade: It was ok.. was traveling back home from SF10:04
fwereadeniemeyer, don't worry about it, it emerges that there's enough subtlety to the general restart problem that I've been quite occupied already ;)10:04
fwereadeniemeyer, sounds like a fun conference10:05
niemeyerfwereade: It was really nice10:05
fwereadeniemeyer, and ofc I'd be happy to talk about it whenever makes sense for you, but be warned I'm a bit slow/stupid today, I was up late massaging the restart-transitions branch into digestible chunks10:10
niemeyerfwereade: Ah, same thing here.. I woke up at 6AM, which is around noon in the timezone I was a couple of days ago, so my body has no idea about what's happening whatsoever.10:12
fwereadeniemeyer, heh :)10:13
niemeyerkoolhead11: That's quite weird..10:14
niemeyerkoolhead11: It looks fine10:14
koolhead11niemeyer: exactly :D10:14
niemeyerkoolhead11: What does "dpkg -l juju" say?10:14
koolhead111 sec10:14
koolhead11niemeyer: ii  juju           0.5+bzr427-1ju next generation service orchestration system10:15
koolhead11am using Oneiric as local LXC for my work10:16
koolhead11interesting thing is the same directory i have kept mysql charm and it runs without any error10:16
niemeyerkoolhead11: I think you're hitting a bug in the charm detection logic, but I can't quite spot where yet10:19
koolhead11niemeyer: would you suggest me to ask a question under launchpad section for the anser?10:20
koolhead11*answer10:20
koolhead11also was wondering do i need to install any pkg on barebone machine to get DEBIAN_FRONTEND=noninteractive working?10:21
niemeyerkoolhead11: No, that's just a hint for the packaging infrastructure to not ask any questions10:24
niemeyerkoolhead11: Can you please run "which juju", just in case?10:24
koolhead11niemeyer: /usr/bin/juju10:24
niemeyerOk10:25
niemeyerkoolhead11: I guess we'll have to debug it..10:25
niemeyerkoolhead11: Hmm10:26
niemeyerkoolhead11: I have a guess, actually10:26
koolhead11niemeyer: you want me to pastebin all steps and infos so it becomes easy to reproduce?10:26
koolhead11and on other side my  default mysql charm is working prefectly10:27
niemeyerkoolhead11: Can you please add this to your metadata.yaml:10:27
niemeyerrevision: 010:27
niemeyerkoolhead11: Right below "name:" (not that it makes a difference.. we just put it there usually)10:28
koolhead11niemeyer: ok. BTW i created a blank revision file inside that boa charm10:28
koolhead11am adding as u suggested10:28
koolhead11niemeyer: http://paste.ubuntu.com/767737/10:31
niemeyerkoolhead11: Cool, at least we know it's looking at it10:32
koolhead11niemeyer: am confused earlier it said sumthing else in error10:33
niemeyerkoolhead11: let's try this: please open a python prompt10:35
niemeyerkoolhead11: and type this:10:35
niemeyerfrom juju.charm.provider import get_charm_from_path10:35
koolhead11k10:36
niemeyerkoolhead11: Now run:10:36
koolhead11hmm10:36
niemeyerd = get_charm_from_path("/home/atul/example/oneiric/boa")10:37
niemeyerprint d10:37
koolhead11niemeyer: http://paste.ubuntu.com/767746/10:39
koolhead11i have a empty file with name revision created there as well10:39
niemeyerkoolhead11: Ok, we got it10:40
niemeyerkoolhead11: Can you please file a bug pointing out that this error is being eaten up silently?10:42
niemeyerkoolhead11: The revision file should have an int in it10:42
niemeyerkoolhead11: You can use 0 there10:42
koolhead11niemeyer: in the file simply write 0 ?10:43
niemeyerkoolhead11: Yep10:43
koolhead11niemeyer: and what will be the bug description i will file?10:44
koolhead11empty revision file results in this10:44
koolhead11niemeyer: your so damm right. i can execute the charm for Boa10:46
koolhead11:D10:46
niemeyerkoolhead11: Sweet10:47
koolhead11SpamapS: hazmat yay!! my simplest charm is working !! :D10:49
* fwereade cheers10:50
koolhead11fwereade: :D10:51
koolhead11niemeyer: i am not sure what i should write in bug description. Its just my foolishness of not mentioning anything in revision file i suppose :D10:52
niemeyerkoolhead11: No, it wasn't your fault at all11:02
niemeyerkoolhead11: It can't silently say that the charm isn't found when it's clear that there's a charm in that location11:02
niemeyerkoolhead11: As a hint, the summary may be "juju fails silently with empty revision file"11:03
koolhead11niemeyer: ok doing right away.11:03
niemeyerkoolhead11: Them copy both the pasted where you run the command and get a "no charm" error, and then python prompt dump11:03
niemeyers/and then/and the11:03
koolhead11k11:03
niemeyerkoolhead11: Thanks a lot11:04
koolhead11niemeyer: thanks 2 you as well :D11:04
_mup_Bug #903149 was filed: juju fails silently with empty revision file. <juju> <juju:New> < https://launchpad.net/bugs/903149 >11:17
TheMueOh, just found out how nicely Emacs integrates with Bazaar.11:32
H3llGhostHello11:33
TheMueniemeyer: Just comparing EC2 in Py and Go. What does var _ juju.Environ = (*environ)(nil) do? AFAIK I would say it create an unnamed nil reference to an environment. But why is that needed?12:06
niemeyerTheMue: http://golang.org/doc/go_faq.html#guarantee_satisfies_interface12:09
TheMueniemeyer: thx, ic. never checked it this way, only later when using an interface implementation.12:11
jrgiffordEvilBill: you have a CUBE?! whoa.12:15
* jrgifford </end-offtopic-stuff>12:15
TheMueniemeyer: Could you shortly describe the state of the Go port compared to the Py code? I'm currently comparing the EC2 providers (trying to understand the bootstraping).12:23
niemeyerTheMue: It's in its early infancy at the moment12:24
niemeyerTheMue: We're just catching up some momentum in the last couple of weeks12:24
TheMueniemeyer: How's the roadmap of the Go port? Do we first provide some supporting tools do we start from ground e.g. with initializing and bootstrap?12:25
niemeyerTheMue: Yeah, we have to get it to the point of initializing and bootstrapping12:26
niemeyerTheMue: After that it's a lot easier to fork off development12:26
TheMueniemeyer: Btw, tutorial worked fine immediately, as expected. ;)12:26
niemeyerTheMue: That said, there are already areas that may be explored in parallel12:27
TheMueniemeyer: OK12:27
TheMueniemeyer: I started with bootstrap just to keep the order of the steps I've done during the tutorial.12:28
niemeyerTheMue: Started in which sense?12:29
TheMueniemeyer: I'm trying to understand the bootstrap and how the first instance is setup. So I followed the Py code to the EC2MachineProvider. And here I also wanted to see, how far I can find similar in the Go port.12:30
niemeyerTheMue: Aha, cool12:31
niemeyerTheMue: The Go code is lacking at that point already12:31
TheMueniemeyer: Yep, I've seen12:31
niemeyerTheMue: rog actually has logic for that12:31
niemeyerTheMue: But we stepped back one of his branches, and now we're moving forward in slower increments with better testing12:32
TheMueniemeyer: The Py code is using generators very much. Nice.12:33
niemeyerTheMue: I don't find it so nice, but we're fixing that.. :)12:33
TheMueniemeyer: Hehe, it's not everyones logic.12:34
TheMueniemeyer: Btw, I would like some more verbose naming for public types, funcs etc. ReadEnvironmentsFile() instead of ReadEnvirons().12:36
niemeyerTheMue: It's not a generator really.. it's manual coroutine-like yielding12:36
TheMueniemeyer: Old Smalltalker school.12:36
niemeyerTheMue: Our convention is somewhere in the middle12:37
niemeyerTheMue: Long names do really help readability if you go overboard with them12:37
niemeyerTheMue: I can show you snippets with that convention being used where it ends up looking like reading a book12:38
TheMueniemeyer: I found them always helpful during long term maintenance of code. It depends on the visibility.12:38
TheMueniemeyer: Inside of funcs or even loops I often use simple one char vars too.12:39
niemeyerTheMue: Depends on a lot of things.. If we use Environs everywhere, calling it Environments doesn't help much, for instance12:40
niemeyerTheMue: I appreciate readable code, though.. so let's see if we can get to agreement as we go12:40
TheMueniemeyer: Don't think it will be a problem.12:41
_mup_txzookeeper/trunk r46 committed by kapil.foss@gmail.com13:19
_mup_[trivial] update pypi license metadata13:19
* koolhead11 finds db-relation-changed most tricky part of writing charm!! :P13:22
hazmatg'morning13:25
koolhead11hola hazmat13:26
* hazmat catches up13:26
hazmatkoolhead11, congrats on the charm13:27
_mup_Bug #903213 was filed: need supporting code to help upstartify services <juju:In Progress by fwereade> < https://launchpad.net/bugs/903213 >14:07
koolhead11hazmat: thanks!! :)14:10
fwereadehazmat, if you have the appetitie for it, I have a horrifying pipeline of reviews14:24
fwereadehazmat, um... think how much worse it would be if there were fewer than 9 branches ;)14:25
* fwereade hangs head in shame14:25
fwereadehazmat, it's basically the monster that grew from restart-transitions broken into 4; the upstartify-agents followup broken into 2; and then the other branches I'd already had dangling off those 214:26
fwereadehazmat, for convenience, they go in this order: http://paste.ubuntu.com/767923/14:27
hazmatfwereade, thanks, the roadmap is very helpful14:29
hazmatas are the small branches14:35
fwereadehazmat, I also ended up writing a short essay clarifying just what the hell I was doing in restart-transitions14:45
fwereadehazmat, http://paste.ubuntu.com/767947/14:45
fwereadehazmat, it's a general discussion of all 4 initial branches14:46
fwereadehazmat, or, what *became* the 4 initial branches14:46
niemeyerLunch time..15:00
jcastromarcoceppi: hi!15:02
jcastromainerror: wow, looks like nijaba was busy while I was away15:02
marcoceppijcastro: Morning!15:02
jcastroI meant marcoceppi15:02
marcoceppiYeah he was15:02
jcastrooh cool, freeciv.15:02
jcastrolooks like I have a bunch of blogging to do15:02
mchenetzHi everyone...15:02
mchenetzI was playing around with Juju this weekend and i had a few observations...15:03
jcastromarcoceppi: is roundcube ready?15:03
marcoceppijcastro: It's in the "charm store" nijaba has some improvements to it that I have yet to review. Primarily the peer relation thing15:03
* jcastro nods15:03
jcastroman, your awesomeness knows no bounds.15:04
jcastromchenetz: just ask!15:04
hazmatfwereade, That's awesome, minus the branch review that should get into the internal docs.15:04
mchenetzThe, "add-relation haproxy:reverseproxy wordpress:website" command does not actually work that with local provider. It creates server entries in haproxy that forward to local host instead of the server.15:04
mchenetzI am thinking there has to be better differentiators from when something is actually hosted remotely vs local15:06
mchenetzI am working on some charms for Security... IPS with Snort, Event correlations engines, etc...15:13
jcastrothat sounds great15:16
mchenetzThat is just the start. I am very excited about Juju. :-)15:17
jcastrohttps://juju.ubuntu.com/Charms15:17
mchenetzRight now i am working on getting my openstack servers running...15:17
jcastrothere's a link there to the spreadsheet, if you want to claim a charm and update it's progress15:17
jcastrohttps://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0AoW1nhI7IMt3dFRvSFdkZmNqQ0t3RjZ2QTR2Z19teWc&hl=en_US#gid=015:18
mchenetzOkay, i will do15:18
jcastrowe're doing that so people don't spend like a day doing something that someone else is working on, etc.15:18
jcastromarcoceppi: and limesurvey, done?15:18
mchenetzThat makes sense...15:19
marcoceppijcastro: mhumm15:19
jcastromarcoceppi: heh, it would be cool to get some other team in the project to run a survey15:20
marcoceppijcastro: What?15:20
mchenetzAdded snort to the spreadsheet15:20
jcastromarcoceppi: I'll find a team in ubuntu that needs to run a survey, and have them try the charm15:21
marcoceppiOhh, that would be awesome15:21
TheMuejcastro: Thx for the shared folder.15:22
koolhead11jcastro: owncloud2 is still not in our repo, in order to write its charm, can i use it from source/github?15:24
jcastrosure15:24
koolhead11jcastro: i have added my name against it there in the spreedsheet15:25
jcastroIMO having a config to use the latest stable upstream version should be a feature of every charm.15:25
* jcastro hopes SpamapS doesn't hear15:25
koolhead11jcastro: :P15:25
nijaba_afkjcastro: hard to do if there is no way to get she sha1 or md5 of the latest tarball.  Sourceforge does not help in that way....15:42
=== nijaba_afk is now known as nijaba
jcastroah bummer15:42
m_3morning15:42
jcastrom_3: welcome back!15:43
SpamapSjcastro: wait the spreadsheet should not be the canonical source of who is working on what. launchpad bugs should be. The spreadsheet is just an easier way to gather the new charm efforts.. or so I thought.15:43
m_3jcastro: you too15:43
jcastroSpamapS: you are correct.15:43
SpamapSjcastro: oh, and welcome back. :)15:44
jcastromchenetz: hey can you file a bug on each of the charms you want to work on?15:44
SpamapSjcastro: perhaps we need to change the process for the new-charm tag so that people can file a bug with that tag on it immediately, and then we'll review when they change the status from New to Confirmed...15:46
nijabaheya SpamapS15:46
jcastroSpamapS: I don't think we have enough people doing that to warrant a new tag15:48
jcastrobut yeah15:48
SpamapSjcastro: we should have an explosion of "I'm working on X" in the next couple of months.15:51
SpamapSjcastro: so I'd like to make sure if nothing else that we all agree on what people should do. I didn't even know the spreadsheet was public. ;)15:51
SpamapSFigured it was just shared with a few of us charmers or something.15:51
SpamapSnijaba: good morning. :)15:51
nijabagood morning marcoceppi15:53
marcoceppimorning nijaba15:53
jrgiffordmarcoceppi: hey, you're back!15:54
* marcoceppi curses IRCCloud15:54
jrgifforddon't suppose there are any decent alternativess for irc cloud yet?15:55
nijabaSpamapS: so, you think that sharing an sshkey via zk, then sending a private key via ssh is more secure than sharing the private via zk directly?15:55
nijabaSpamapS: I figured that if I can get access to the ssh key in zk, it is the same than getting access to the ssl private key, no?15:56
nijabaSpamapS: at leas this is the way I implemented it in roundcube charm (waiting for review/promulgation)15:57
jcastrojrgifford: I have a charm for alice IRC, but it's broken right now, waiting on upstream to stick it in cpan15:57
jrgiffordjcastro: awesome.15:59
SpamapSnijaba: I'm concerned about *storing* the private key in ZK, vs storing the public key there.16:11
SpamapSnijaba: at least if its just the public key, they can only MITM future connections, they can't decrypt past traffic.16:11
nijabaSpamapS: ah, so the pub key would be used to accept conection from a master to get the key.  smart...16:12
nijabaSpamapS: I'll change that then16:12
SpamapSnijaba: granted, the public ssh key could be used to login and steal the private key, so I may be overthinking it.16:14
hazmatmchenetz, re local vs. remote.. the idea is to minimize the differences, that particular problem is a bug in the wordpress charm.. there's an additional cli hook api for resolving the public/private addresses in a provider agnostic manner16:14
SpamapSnijaba: this is why, IMO, juju cannot be trusted for secure work until we have *tight* ACL's on the data.16:15
nijabaSpamapS: well, not to login, but to get logged in.  So one would have to insert a host as a juju "slave" and generate a peer-joined event to get the key.  not 100% secure, but harder than just grabbing it from zk16:16
SpamapSnijaba: quite trivial actually. All nodes have full access to ZK right now.16:18
* SpamapS wonders how that bug got bumped down in priority given the production focus for this cycle16:19
mchenetzhazmat: No problem... Just an observation.16:58
SpamapSmchenetz: could you report that as a bug, https://launchpad.net/charm/+source/wordpress/+filebug17:04
mchenetzSpamaps: no problem, I will report it17:17
SpamapSmchenetz: thanks!17:20
mchenetzSpamaps: you had asked me the other day about my observations about Local Provider vs Vagrant... Here you go..17:27
mchenetzVagrant: Able to easily deploy on multiple OSs17:27
mchenetzVagrant: Able to maintain state after reboots17:28
mchenetzVagrant: Base OS is accessible on creation17:28
* SpamapS puts an extra layer of asbestos on juju17:28
mchenetzLocal-provider: Easy to create on linux (Other OS's require work)17:29
mchenetzLocal-Provider: Base OS is not accesible until initial charm is installed (At least not to my knowledge)17:29
mchenetzLocal-Provider: Does not maintain state (on this version)17:29
negronjlSpamapS: approved lp:~clint-fewbar/charm-tools/add-tests17:31
SpamapSmchenetz: THANKS, great thoughts, quite helpful17:31
SpamapSnegronjl: w00t17:31
zirpunegronjl: did you post your slides from mongosv?17:32
negronjlzirpu: not yet but, I will. Trying to figure out the best way to do that ... any suggestions ?17:32
zirpuslideshare? it's pretty common now. i think it accepts pdfs.17:34
fwereadehazmat, jimbaker, bcsaller: standup?17:35
SpamapSmchenetz: So, to address some of the things..    multi-OS .. somebody just needs to write a provider that uses virtualbox and we'll that bit.. but agreed, we're targetting Ubuntu right now. :)17:36
SpamapSmchenetz: The base OS is meant to be very "standard" because charms do all the customization, so I'm not sure thats a problem in juju.17:36
SpamapSmchenetz: the ability to reboot is landing in a series of reviews right now actually17:37
mchenetzSpamaps: I am just think of what a development team would use... Most the devs i see work on a mac or pc and then will push stuff to the cloud.17:37
mchenetzSo they could be working on windows or osx... Having the Vitualbox image allows them to work in a similar environment..17:38
mchenetzThe one nice thing they did was expose the inited directory to the VM so that users can easily copy files into the OS directory and they can be seen on the VM.17:40
mchenetzI think that is a great feature for people that don't know that much about VMs and then really don't have to.17:40
SpamapSyeah containers are nice that way17:40
mchenetzAny quick tip on, "pty-allocation-request-failed-on-channel-0"17:41
jimbakerfwereade, works for me17:42
bcsalleryeah, I'm around too if there are things we have to cover17:44
m_3mchenetz: I've been able to recover from that by wiping my lxc cache17:46
* m_3 looking for the cache17:46
fwereadehazmat, jimbaker, bcsaller: I think I've invited you all17:46
mchenetzm_3: how do i go about doing that?17:47
m_3mchenetz: I'd start with a 'juju -elocal destroy-environment'17:47
mchenetzm_3: i just created the environment. :-(17:47
m_3mchenetz: then rm -Rf /var/cache/lxc/17:47
mchenetzm_3: okay i will try. Thanks...17:48
m_3mchenetz: might not be the same problem you're seeing, but that worked for me17:48
m_3mchenetz: I'd have a local env that gets corrupted after a couple of weeks of solid usage... clearing the lxc cache resets me to working local env17:49
m_3mchenetz: remember that the first 'juju deploy' after a cache wipe is going to take a _long_ time17:50
marcoceppiWhat's the policy for charm-contributors again? "Open" group, right?17:50
m_3marcoceppi: code of conduct signed17:50
mchenetzm_3: sounds good trying now17:50
marcoceppim_3: o/ and thanks17:50
zirpuis the 1st environment in ~/.juju/environments.yaml the default?17:51
marcoceppizirpu: No, if you have multiple environments and don't have a default: key set or use the -e flag juju will throw an error17:52
m_3zirpu: there's a 'default:' top-level entry in environments.yaml...  I see code that gripes if there're multiple envs w/o a default17:54
zirpuyou mean an environment var set?17:54
zirpulike: export JUJU_ENVIRONEMTN=foobar17:55
zirpu(minus typos)17:55
m_3zirpu: at the moment you have to explicitly set a default through the e17:56
m_3'default' key in environments.yaml or via the command line option '-e' on all commands17:57
EvilBillJrgifford: Yeah, I have a cube. Hotrodded with an Nvidia gfx card and 1.5GB RAM. Though I don't use it and it sits in the garage...17:57
m_3zirpu: a shell env variable such as JUJU_ENV was discussed on the list... dunno if it's going to be implemented though18:01
mchenetzSpamaps: Bug report submitted18:08
mchenetzBug id:90331218:08
mchenetzm_3: that worked... Thanks18:09
mchenetzAlthough, that corruption error could be a potential problem and/or bug for local provider18:09
m_3mchenetz: yes agree... filing the bug now so we at least have a place to capture the lxc cache reset18:16
mchenetzm_3: sounds good18:22
_mup_juju/ssh-known_hosts r437 committed by jim.baker@canonical.com18:25
_mup_Added support for ssh_keys in format_cloud_init18:25
_mup_Bug #903318 was filed: juju ssh fails on local provider: pty-allocation-request-failed-on-channel-0 <juju:New> < https://launchpad.net/bugs/903318 >18:34
m_3mchenetz: ^^ is the bug... please verify what you did to get it working again.18:39
mchenetzm_3: exactly... I would attempt to perform an SSH to a service/0 or whatever and i would get pty-allocation-request-failed-on-channel-018:40
m_3mchenetz: thanks18:41
mchenetzThe fix would be to do, juju detroy environment, and rm -Rf /var/cache/lxc/18:41
niemeyerWOohay.. lbox submit works18:52
* SpamapS confirms that bug and marks it High19:10
jcastromarcoceppi: do you have a snippet/function handy for the config switch to pulling an upstream version handy?19:22
marcoceppiThe phpMyAdmin implementation for doing a switch is crazy ugly. You can look at it for ideas, it's implemented in lib/common.sh19:22
marcoceppiIn a nut shell install_phpmyadmin is called during config-changed which, depending on the current installed version and the value in each hook, will call install_upstream or install_apt19:23
marcoceppiThen there are two environments in env/ which load the appropriate variables for each case :\19:24
marcoceppiAt one point it does a barrel roll, then viola!19:24
* SpamapS would have liked to see an immelman19:24
* marcoceppi does an Immelman turn19:25
jcastrothanks!19:25
marcoceppiNp, I'd like to make this a lot more cleaner but still trying to hash out the best way to do it19:27
marcoceppiand by a lot more cleaner, I mean a lot more clean19:27
jcastroSpamapS: I think I am getting this bug: https://bugs.launchpad.net/juju/+bug/89141919:36
_mup_Bug #891419: Juju fails test suite when building on precise <juju:Fix Released> < https://launchpad.net/bugs/891419 >19:36
jcastrowhen trying to bootstrap, my precise is up to date as of today19:36
jcastroSpamapS: nevermind.19:37
SpamapSjcastro: mind never'ed19:38
EvilBilljcastro!19:38
jcastrohiya bill!19:38
EvilBillhow's it going?19:38
jcastroabout to test the limesurvey charm so I can blog it19:39
EvilBillcool19:39
EvilBillbtw19:39
EvilBillstop saying that you have a macports client.19:39
EvilBillthere isn't one that usable that I can find19:39
EvilBillI just checked out the SVN version of macports, and its' not in there.19:39
jrgiffordEvilBill: speaking of mac clients, i haven't found anything either.19:40
EvilBillhey jrgifford19:40
jcastrolynxman: heya, mac client?19:40
EvilBillI see this:19:41
EvilBillhttps://trac.macports.org/ticket/3023719:41
EvilBillbut that isn't something can can be "port install'd"19:41
lynxmanjcastro: waiting on approval...19:46
lynxmanEvilBill: it can be port installed :)19:46
EvilBilllynxman: Great! How?19:46
lynxmanEvilBill: just download the Portfile from there and add a local repository on your machine19:46
EvilBillI tried that last night, it blew up on some zookeeper dependency.19:46
lynxmanEvilBill: because it depends on several portfiles, one of them being zookeeper19:47
EvilBillI'm putting ports on this new mac here at work, and I'll try it on this19:47
lynxmanEvilBill: there's 7 tickets open for this :)19:47
lynxmanEvilBill: so you'll need to fill all the dependencies, unfortunately19:47
EvilBillawesome, how can I get onboard to add my voice to the crew?19:47
lynxmanEvilBill: I've been talking with the #macports guys for a while, but it's a very very very slow process19:48
EvilBillGreat.19:48
EvilBillI see that the juju portfile you submitted has been there for two months.19:48
EvilBilland the version it refers to is 0.5+bzr39819:49
lynxmanEvilBill: if you want to get all portfiles, tickets 30221 30222 30223 30236 31570 3023719:49
lynxmanEvilBill: that's the one in Oneiric release19:49
jcastroI thought there was some new sexy replacement for macports all the kids are all excited about19:49
EvilBillok19:49
marcoceppiHow hard would it be to build it into a "native" mac osx application?19:49
hazmat jcastro there is.. homebrew19:50
EvilBillmarcoceppi: I have no idea. My guess is you'd need to package up all the dependencies… like zookeeper, twisted, yaml, etc, into one monolithic bundle.19:50
EvilBillyeah, homebrew is up and coming, but no idea how well that thing works.19:50
marcoceppiEvilBill: sounds like a pain :\19:50
EvilBillmarcoceppi: Yeah, I tend to agree.19:50
lynxmanmarcoceppi: quite difficult, specially following all the packaging guidelines and meeting all requirements19:50
lynxmanmarcoceppi: and I'm in no way a OSX packaging expert :)19:51
hazmathomebrew does /usr/local installs afaicr, while macport/fink use sandbox dirs off /opt i believe19:51
lynxmanhazmat: correct19:51
hazmathm..homebrew chilling with 400 outstanding pull requests, its the most active of the bunch that i know19:52
hazmatand it already has zookeeper and zookeeper python19:53
hazmathttps://github.com/mxcl/homebrew/blob/master/Library/Formula/zookeeper.rb19:53
hazmatthe rest of juju is basically pure python libs19:53
jcastrohttps://bugs.launchpad.net/charm/+bug/90336119:54
_mup_Bug #903361: Charm needed: Alice IRC <new-charm> <juju Charms Collection:New for jorge> < https://launchpad.net/bugs/903361 >19:54
jcastromy charm is finally ready!19:54
jcastro(for review)19:55
jcastrospent this whole time wrestling building the thing from source, ends up it was in the archive as of 11.10. :-/19:55
hazmathmm.. given that.. maybe the osx story just becomes use pip/easy_install to get juju19:56
hazmatpost homebrew install zookeeper19:56
jcastrook so who wants to put this in homebrew?19:59
jcastrowe need something for OSX people19:59
EvilBillin my experience, macports is still the thing people go to20:02
EvilBillour guys around here use it a lot20:02
EvilBillI say lean on the macports guys20:02
EvilBillif it's ready to go, it shouldn't be a big deal to get it in20:02
mchenetz1I feel homebrew is the new macport20:02
jrgiffordmaybe out west. around here, most of them are homebrew people.20:02
mchenetz1I use brew now20:02
mchenetz1Macports is old school20:03
hazmatEvilBill, https://trac.macports.org/ticket/3023720:03
hazmatthat's the juju portfile20:03
EvilBillhazmat: thanks20:03
hazmatit doesn't seem like we've addressed some of the original upstream comments20:03
hazmater. distributor20:03
mchenetz1Maybe its because I do a lot of rails development and brew seems big in the rails world20:04
lynxmanhazmat: they have been addressed, I had to open a new ticket20:15
lynxmanhazmat: the whole process is a bit of a pain though :/20:17
SpamapSmchenetz: would be nice if there was just one. :)20:20
SpamapSlynxman: is anybody even responding to these? they're all so old20:21
marcoceppiLooks like Pecl and Pear's queue for acceptance. Dead20:23
EvilBilllynxman: hey, you submitted byobu. Awesome.20:25
EvilBillok, here I go trying to build juju via macports.20:42
EvilBilland libzookeeper failed to build20:44
EvilBill*headdesk*20:44
mchenetz1Evullbill: tell me what you did after your done and I will try it too...20:44
EvilBillmchenetz1: I can't even get that far. Libzookeeper (a dependency, but one that macports knows about) blows up on build.20:49
mchenetz1I will try to figure it out when I get home...20:50
mchenetz1If I figure it out before you then I will tell you what I did...20:50
EvilBillThanks.20:51
EvilBillI'm going to get a sandwich before my next meeting.20:51
_mup_Bug #903392 was filed: Vagrant as a cross-platform local provider? <juju:Triaged> < https://launchpad.net/bugs/903392 >20:52
mchenetz1Vagrant as a local provider would be great... I think the two projects will work well together..20:54
m_3mchenetz1: might be lightweight ways to just wrap the current local provider20:56
m_3but either way... something there20:56
m_3lower that barrier to people getting to take juju out for a spin20:57
mchenetz1Sounds good... I am very interested in this piece of juju20:57
mchenetz1I think that is one of the biggest issues right noe20:57
mchenetz1Now20:58
EvilBilllooks like I picked the wrong week to quit sniffing glue...22:28
_mup_juju/ssh-known_hosts r438 committed by jim.baker@canonical.com22:37
_mup_Tests pass with dummy provider - a start22:37

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