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

shazzner1http://askubuntu.com/questions/88576/why-am-i-unable-to-connect-to-my-ec2-instance-with-juju00:17
mchenetzback, any one try my repo yet...00:30
nijabaSpamapS: what about now?02:17
nijabaMaybe 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?02:28
shazzner_ok03:25
shazzner_just a heads up, I fixed my connection problem by regenerating my environments.yaml file03:26
shazzner_does juju-log give everyone errors?04:46
shazzner_hello16:01
shazzner_anyone up? :)16:01
SpamapSnijaba: I think we're just on different time schedules. :)16:01
SpamapSshazzner_: I am, not sure how long I can stay though. :)16:01
shazzner_hey SpamapS16:01
shazzner_so I fixed my connection problem, and tested my gitolite script16:02
shazzner_however16:02
shazzner_dispite everything I can't see to use git from it16:02
shazzner_*seem16:03
shazzner_essentially you run a gitolite script and pass it your public key16:03
SpamapSshazzner_: does it work over ssh or http/https ?16:03
shazzner_hmm, now that you mention it I odn't think I've tried https16:03
SpamapSshazzner_: actually, do you have the charm somewhere I can take a look?16:03
shazzner_sure one sec16:03
* SpamapS suggests bzr push lp:~your-username/charm/oneiric/gitolite/trunk ;)16:04
shazzner_ah let me try that, never used bzr before16:05
shazzner_here's it in a zip for starters: http://ubuntuone.com/2VWmIN7m7ZMgLVb8gvVqBN16:06
shazzner_now, if you look at the install script I commented out the public key copy16:06
SpamapSshazzner_: 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
SpamapSshazzner_: https://juju.ubuntu.com/Charms16:07
shazzner_yep, I plan on it let me see if I can't push it out16:07
SpamapSshazzner_: reading your zip16:07
SpamapSshazzner_: so, your config.yaml is never actually used in the charm16:09
SpamapSshazzner_: you need a config-changed hook16:09
shazzner_right, it's only used for the install16:09
SpamapSwhich will be a problem because then you can't use 'juju set' to change the values16:10
SpamapSand in the version you sent me, everything is commented out16:10
shazzner_and I commented it out, but if you want to the full experience you would need to comment in all the lines16:10
shazzner_and add your name and pub key to the config16:10
shazzner_yeah, I need to add a config-change script16:11
shazzner_in case you want to create another instance with a differnt admin I suppose16:11
SpamapSshazzner_: what if you want to retire the key?16:11
shazzner_I think you can do that within gitolite, but yeah there are plenty of uses cases for changing the key16:12
shazzner_regardless, I still can't connect to it for some reason it might be an issue with gitolite and permissions maybe16:13
shazzner_like running gl-setup shazzner.pub, then trying to git clone shazzner@<serverip>:gitolite-admin16:14
shazzner_gives me a 'premission denied (pubkey)' everytime16:14
shazzner_even though my key is in the .ssh/authorizedkeys and gitolite adds its crazy key16:15
SpamapSshazzner_: is gl-setup meant to be run as the connecting user, not as root ?16:15
SpamapSshazzner_: I don't see where you even created a user16:15
shazzner_well, that's a question I'm not sure of and the gitolite documentation isn't exactly clear16:15
SpamapSlooks like you need to create users16:16
shazzner_I've done this before, where adding a user with a differnt name works as long as the key is the same16:16
SpamapSbut what user have you added?16:16
shazzner_*adding it to gitolite I mean16:16
shazzner_when you run gl-setup user.pub it adds it its git repository16:17
shazzner_and when you connect it checks that16:17
SpamapSwhen you're connecting, with git via ssh, you are using the username shazzner16:17
SpamapSwhen the charm runs, it runs as root16:18
shazzner_right16:18
SpamapSso when did you 'adduser shazzner' ?16:18
SpamapSand after that, you'd need to copy the gl-setup key to shazzner's user16:18
shazzner_ok16:19
SpamapSactually16:19
SpamapSok reading the quick install16:19
SpamapSit specifically says to create a user called 'git'16:19
SpamapSand run gl-setup as that user16:19
SpamapSand gl-system-install16:20
shazzner_I think gl-setup runs the next script gl-system-install16:20
SpamapSshazzner_: http://sitaramc.github.com/gitolite/index.html#qi16:20
SpamapSshazzner_: that documentation is pretty clear16:20
shazzner_huh weird16:21
SpamapShttp://sitaramc.github.com/gitolite/install.html16:21
SpamapSthat one is pretty clear too16:21
shazzner_I'd had always skipped the git creation part16:21
shazzner_with no issues16:21
SpamapSeven tells you the difference between a git clone of gitolite and using the debs16:21
shazzner_ok well let me work off that16:21
SpamapSshazzner_: 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 true16:22
SpamapSshazzner_: its something we're trying to solve w/ juju by making the charms so simple16:22
shazzner_ok, let me work on this. Thanks for helping this idiot :)16:23
SpamapSshazzner_: from one idiot to another, its my pleasure. ;)16:23
* SpamapS has just been an idiot longer, thats all.16:23
SpamapSOk, time to go tire my 2 year old out for nap time16:23
SpamapSshazzner_: good luck!16:23
shazzner_thanks! :)16:24
jelmerhah, wrote my first charm. That was easy :)17:05
koolhead17jelmer: cool17:26
koolhead17:P17:26
nijabaSpamapS: 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 moment18:19
_mup_Bug #906008 was filed: way to set default charm repository <juju:New> < https://launchpad.net/bugs/906008 >18:35
nijabaSpamapS: 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 >21:59

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