[00:17] <shazzner1> http://askubuntu.com/questions/88576/why-am-i-unable-to-connect-to-my-ec2-instance-with-juju
[00:30] <mchenetz> back, any one try my repo yet...
[02:17] <nijaba> SpamapS: what about now?
[02:28] <nijaba> Maybe someone else will have an idea.  My current test script for ch_peer_copy requires to be executed as root so that I can start a second sshd server.  Anyone knows how to run a sshd server without being root (not only starting, but able to do authentications)?  Or is it possible to have sudo in dh_auto_test?
[03:25] <shazzner_> ok
[03:26] <shazzner_> just a heads up, I fixed my connection problem by regenerating my environments.yaml file
[04:46] <shazzner_> does juju-log give everyone errors?
[16:01] <shazzner_> hello
[16:01] <shazzner_> anyone up? :)
[16:01] <SpamapS> nijaba: I think we're just on different time schedules. :)
[16:01] <SpamapS> shazzner_: I am, not sure how long I can stay though. :)
[16:01] <shazzner_> hey SpamapS
[16:02] <shazzner_> so I fixed my connection problem, and tested my gitolite script
[16:02] <shazzner_> however
[16:02] <shazzner_> dispite everything I can't see to use git from it
[16:03] <shazzner_> *seem
[16:03] <shazzner_> essentially you run a gitolite script and pass it your public key
[16:03] <SpamapS> shazzner_: does it work over ssh or http/https ?
[16:03] <shazzner_> hmm, now that you mention it I odn't think I've tried https
[16:03] <SpamapS> shazzner_: actually, do you have the charm somewhere I can take a look?
[16:03] <shazzner_> sure one sec
[16:04]  * SpamapS suggests bzr push lp:~your-username/charm/oneiric/gitolite/trunk ;)
[16:05] <shazzner_> ah let me try that, never used bzr before
[16:06] <shazzner_> here's it in a zip for starters: http://ubuntuone.com/2VWmIN7m7ZMgLVb8gvVqBN
[16:06] <shazzner_> now, if you look at the install script I commented out the public key copy
[16:07] <SpamapS> shazzner_: if you'd like to share the gitolite charm with other people you'll need to use bzr to propose it for the charm store.
[16:07] <SpamapS> shazzner_: https://juju.ubuntu.com/Charms
[16:07] <shazzner_> yep, I plan on it let me see if I can't push it out
[16:07] <SpamapS> shazzner_: reading your zip
[16:09] <SpamapS> shazzner_: so, your config.yaml is never actually used in the charm
[16:09] <SpamapS> shazzner_: you need a config-changed hook
[16:09] <shazzner_> right, it's only used for the install
[16:10] <SpamapS> which will be a problem because then you can't use 'juju set' to change the values
[16:10] <SpamapS> and in the version you sent me, everything is commented out
[16:10] <shazzner_> and I commented it out, but if you want to the full experience you would need to comment in all the lines
[16:10] <shazzner_> and add your name and pub key to the config
[16:11] <shazzner_> yeah, I need to add a config-change script
[16:11] <shazzner_> in case you want to create another instance with a differnt admin I suppose
[16:11] <SpamapS> shazzner_: what if you want to retire the key?
[16:12] <shazzner_> I think you can do that within gitolite, but yeah there are plenty of uses cases for changing the key
[16:13] <shazzner_> regardless, I still can't connect to it for some reason it might be an issue with gitolite and permissions maybe
[16:14] <shazzner_> like running gl-setup shazzner.pub, then trying to git clone shazzner@<serverip>:gitolite-admin
[16:14] <shazzner_> gives me a 'premission denied (pubkey)' everytime
[16:15] <shazzner_> even though my key is in the .ssh/authorizedkeys and gitolite adds its crazy key
[16:15] <SpamapS> shazzner_: is gl-setup meant to be run as the connecting user, not as root ?
[16:15] <SpamapS> shazzner_: I don't see where you even created a user
[16:15] <shazzner_> well, that's a question I'm not sure of and the gitolite documentation isn't exactly clear
[16:16] <SpamapS> looks like you need to create users
[16:16] <shazzner_> I've done this before, where adding a user with a differnt name works as long as the key is the same
[16:16] <SpamapS> but what user have you added?
[16:16] <shazzner_> *adding it to gitolite I mean
[16:17] <shazzner_> when you run gl-setup user.pub it adds it its git repository
[16:17] <shazzner_> and when you connect it checks that
[16:17] <SpamapS> when you're connecting, with git via ssh, you are using the username shazzner
[16:18] <SpamapS> when the charm runs, it runs as root
[16:18] <shazzner_> right
[16:18] <SpamapS> so when did you 'adduser shazzner' ?
[16:18] <SpamapS> and after that, you'd need to copy the gl-setup key to shazzner's user
[16:19] <shazzner_> ok
[16:19] <SpamapS> actually
[16:19] <SpamapS> ok reading the quick install
[16:19] <SpamapS> it specifically says to create a user called 'git'
[16:19] <SpamapS> and run gl-setup as that user
[16:20] <SpamapS> and gl-system-install
[16:20] <shazzner_> I think gl-setup runs the next script gl-system-install
[16:20] <SpamapS> shazzner_: http://sitaramc.github.com/gitolite/index.html#qi
[16:20] <SpamapS> shazzner_: that documentation is pretty clear
[16:21] <shazzner_> huh weird
[16:21] <SpamapS> http://sitaramc.github.com/gitolite/install.html
[16:21] <SpamapS> that one is pretty clear too
[16:21] <shazzner_> I'd had always skipped the git creation part
[16:21] <shazzner_> with no issues
[16:21] <SpamapS> even tells you the difference between a git clone of gitolite and using the debs
[16:21] <shazzner_> ok well let me work off that
[16:22] <SpamapS> shazzner_: automation often has to work differently than "the way you always did it" because you can't assume persmissions or users.
[16:22] <shazzner_> very true
[16:22] <SpamapS> shazzner_: its something we're trying to solve w/ juju by making the charms so simple
[16:23] <shazzner_> ok, let me work on this. Thanks for helping this idiot :)
[16:23] <SpamapS> shazzner_: from one idiot to another, its my pleasure. ;)
[16:23]  * SpamapS has just been an idiot longer, thats all.
[16:23] <SpamapS> Ok, time to go tire my 2 year old out for nap time
[16:23] <SpamapS> shazzner_: good luck!
[16:24] <shazzner_> thanks! :)
[17:05] <jelmer> hah, wrote my first charm. That was easy :)
[17:26] <koolhead17> jelmer: cool
[17:26] <koolhead17> :P
[18:19] <nijaba> SpamapS: yep...  specially when I am off :P  anyway, if you've got time to take a look at my questionning for https://code.launchpad.net/~nijaba/charm-tools/peer-scp/+merge/86136 I would appreciate your input. A bit locked at the moment
[18:35] <_mup_> Bug #906008 was filed: way to set default charm repository <juju:New> < https://launchpad.net/bugs/906008 >
[21:59] <nijaba> SpamapS: bug #906030 needs your help :)
[21:59] <_mup_> Bug #906030: [regression] unbound variable CH_DOWNLOAD_DIR <Juju Charm Tools:Fix Committed by clint-fewbar> < https://launchpad.net/bugs/906030 >