/srv/irclogs.ubuntu.com/2016/07/25/#cloud-init.txt

=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
harlowja_at_homesmoser, so git is ready??15:25
harlowja_at_homeand larsks is fixing up brpm15:25
harlowja_at_homeeven better :-P15:25
harlowja_at_homewhats git btw15:26
harlowja_at_homei only know bzr15:26
harlowja_at_homelol15:26
larsksharlowja_at_home: well, trying to.15:26
harlowja_at_homeand then redhat will use brpm15:26
harlowja_at_homeeven better15:26
harlowja_at_homehja15:26
harlowja_at_home*ha15:27
harlowja_at_homedamn think i lost my other open bzr pulls15:28
larsksYeah, note likely.  My official recommendation is "delete brpm and bddep and leave that to the packaging people", but smoser says these things are actually being used...15:28
harlowja_at_homesmoser, did those go away?15:28
harlowja_at_homelarsks, yes, i use them15:28
larsksYeah :)15:28
harlowja_at_homeleave that to the packaging people == i'm always stuck with some ancient version of cloudinit == not happy me15:29
smoseri use bddeb all the time.15:29
smoserlarsks, honest question, if you're developing an open source project, how would *you* install that thing on a system?15:29
smoseri suspect you'd use build a package15:29
smoser(and if you wouldn't, how would you deal with the already-installed package or dependencies...)15:30
larsksYeah.  But I would probably start with, say, the existing Fedora rpm, and then insert the new sources.15:30
larsksAnd I would maintain the spec file directly, rather than generating it.15:30
harlowja_at_homeah, the hand-curated spec file stuff15:30
larsksOne of the problems with the existing brpm script is that it is super fragile...15:30
harlowja_at_homeits worked :-P15:30
larsksIt will never work for me because it doesn't deal well if your rpm configuration redefines things like _rpmdir, _specdir, etc.15:31
smoserlarsks, but if you're workign on trunk, you commit to trunk, you wan tot type some command have have somtehing to install15:31
smoserthats my need.15:31
harlowja_at_homelarsks, well we can adjust that, just code ;)15:31
smoserif that can be done in some other way, then i'm not opposed to some other way.15:31
larsksFor most packages I work with, packaging is handled "downstream" (by the distribution) rather than by the application developer (which is nice, because it means an application developer doesn't have to keep up with packaging standards, shifting names, etc).15:32
larsksBut no worries, I will make brpm work :)15:32
larsksI will probably need a hand with bddeb, because it's been a long time since I worked on debian style packages.15:33
smoserlarsks, yeah, that is the common way "upstream doesnt care"15:35
smoserbut that just seems odd to me15:35
smoseri want to install something on a n operating system.  and then remove it cleanly.15:35
smoserthere are tools for that :)15:35
smoserlarsks, i'll help with bddeb.15:36
larsksYay!15:36
harlowja_at_homesmoser, sooo all the other open branches i had on the bzr codebase, i guess i gotta find those and reopen? recreate?15:36
harlowja_at_homedid they diseapper in the ether?15:37
harlowja_at_homeah, nm, i found them @ https://code.launchpad.net/cloud-init/+branches15:37
harlowja_at_homei guess we have to resubmit?15:37
smoserharlowja_at_home, yeah, i think thats best.15:52
harlowja_at_homek15:53
harlowja_at_homehttps://yahoo.tumblr.com/post/147941303269/verizon-to-acquire-yahoos-operating-business15:53
harlowja_at_homeand that's over with ^^15:53
harlowja_at_homesmoser, https://review.openstack.org/#/c/317739/ also relevant to us15:55
harlowja_at_homedon't think it changes much, but haven't reviewed in depth :-P15:56
larsksharlowja_at_home: I am getting a keyerror from the templater when trying to generate the spec file.  Does this make any sense to you? https://gist.github.com/larsks/2728dcf1cd0036e19472e0e1d802ed6915:58
harlowja_at_homelarsks, will get back to u on that, does seem sorta odd there15:59
harlowjaso smoser what should we do with https://github.com/openstack/cloud-init ??17:58
harlowjathat ones an odd duckling now, lol17:58
harlowjabut the master has (?) something useful?17:58
harlowjalots of windows stuff that i don't understand in that, lol17:59
smoserharlowja, its a 2.0 branch that is currently shelved18:00
larsksharlowja: the templating failure was because it was a cheetah template...but brpm explicitly ignores a venv python, so ended up using the basic rendered, which failed on those expansions.18:01
harlowjaah18:02
harlowjaya, wonder why it explicitly ignroes that18:02
harlowjawho wrote that crap18:02
harlowjalol18:02
harlowjaso smoser i'm gonna get openstack-infra to drop/delete https://github.com/openstack/cloud-init18:29
harlowjaok with u?18:29
harlowja*or try to get them to18:29
harlowjalol18:29
smoserlets put a copy into launchpad first. but yeah.18:29
harlowjak18:29
harlowjasmoser  do u have that ability, or do i also (to push branches?)18:30
smoseryou do, but i'll do it18:30
harlowjak18:30
smoserharlowja, ok. it is there at https://code.launchpad.net/~cloud-init-dev/cloud-init/+git/cloud-init-v218:34
harlowjacool18:35
wraithmI'm trying to make an EC2 AMI with a centralized authorized keys file (ie. in sshd_config: AuthorizedKeysFile /etc/ssh/authorized_keys/%u). I see in the cloud-init source-code, cloudinit/ssh_util.py, the function setup_user_keys asserts the parent folder to be mode 700. Those permissions don't work with this AuthorizedKeysFile value. Having /etc/ssh/authorized_keys be mode 755 is what works. Is there a way around this?20:11
larskswraithm: you can run arbitrary shell commands via cloud-init, e.g., using the 'runcmd' directive.  Maybe try that?20:43
larsksharlowja: when you have a moment, I've updated https://code.launchpad.net/~larsks/cloud-init/+git/cloud-init/+merge/300953 with a working brpm and I would appreciate your eyes on it.20:43
wraithmlike runcmd: [ 'chmod 755 <myauthkeysfolder>'] ?20:43
harlowjacool20:43
larskswraithm: something like that, yes.20:44
larsksharlowja: ...but I'm just about to take off for the day, so no rush :)20:44
harlowjacools20:44
wraithmThe ssh module should probably be split up into one module for generating host box keys and one for inserting user keys20:44
wraithmIt's really annoying that it does both at the same time20:44
wraithmI also had the idea of not running the ssh module, generating the ssh keys with a bootcmd or something (so that the keys still get printed to the console for my known_hosts). Do you think that would work?20:47
wraithmThe runcmd chmod worked :) Thanks!21:57

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