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