UbuntuIRC / 2014 /02 /14 /#cloud-init.txt
niansa
Initial commit
4aa5fce
[02:07] <smoser> zooz, still around ?
[02:15] <smoser> zooz, i merged your changes, with some of mine though.
[02:15] <smoser> some general things about datasources:
[02:16] <smoser> a.) don't say you're "found" if you're not sure
[02:16] <smoser> b.) WARN is annoying, and should only be used for something that the user really should see.
[02:21] <smoser> utlemming, ping
=== harlowja_ is now known as harlowja_away
[05:15] <smoser> ok.
[05:15] <smoser> please , everyone test trunk
[05:15] <smoser> zooz for GCE
[05:16] <smoser> harlowja_away, for openstack
[05:16] <smoser> utlemming, for smartos
[07:12] <zooz> smoser, great. Thanks
=== shardy_afk is now known as shardy
[17:25] <harlowja_at_home> smoser: fyi, i'll be out till next thuresday (Skiinggg), don't think i let u know, but now am letting u know (just incase)
[17:28] <smoser> harlowja_away, have fun
=== shardy is now known as shardy_afk
[19:13] <smoser> harlowja_away, around ?
[19:13] <smoser> zooz, did you try on google compute?
[19:17] <zooz> smoser, yeah
[19:17] <zooz> it fails
[19:17] <smoser> boo
[19:17] <smoser> what'd i break?
[19:17] <smoser> i'm sorry for breaking it.
[19:17] <zooz> is_resolvable() fails
[19:17] <zooz> oh no, no worries
[19:17] <smoser> really?
[19:17] <smoser> you have an instance up now ?
[19:18] <zooz> yeah socket.getaddrinfo does take a hostname
[19:18] <smoser> you can 'ssh-import-id smoser' to let me in if you'd like.
[19:18] <zooz> you're giving it a URL instead of a hostname
[19:18] <zooz> sure, I can spin up a box on GCE for you
[19:18] <zooz> give me a sec
[19:19] <smoser> zooz, is_resolvable_url
[19:19] <smoser> is what it should have used.
[19:19] <smoser> can you test that really quick ?
[19:19] <zooz> sure
[19:19] <smoser> http://paste.ubuntu.com/6932936/
[19:21] <zooz> http://paste.ubuntu.com/6932940/
[19:21] <zooz> works now
[19:25] <smoser> zooz, you got that error ?
[19:25] <smoser> that shouldt be a warning.
[19:25] <smoser> hm..
[19:26] <zooz> user-data was not available
[19:26] <zooz> I just added user-data item and it does work now
[19:27] <zooz> so that warning is expected, unless it should use a different log level
[19:27] <smoser> yeah. thats what i meant.
[19:27] <smoser> generally i dont want WARN
[19:27] <smoser> as that goes to console
[19:27] <zooz> oh, OK, I was not aware of that
[19:27] <smoser> well, i did that one :)
[19:27] <zooz> it's easy to change it
[19:27] <smoser> but generally, WARN only things that really should be seen.
[19:28] <smoser> yeah, i'll fix that
[19:28] <smoser> http://paste.ubuntu.com/6932974/
[19:29] <smoser> thanks.
[19:29] <zooz> smoser, can you give me your ssh public key?
[19:29] <smoser> oh
[19:29] <smoser> ssh-import-id
[19:29] <smoser> (ubuntu ?
[19:29] <zooz> no, fedora
[19:29] <smoser> its also in debian
[19:29] <smoser> oh for petes sake.
[19:30] <zooz> :-)
[19:30] <smoser> https://launchpad.net/%7Esmoser/+sshkeys
[19:30] <zooz> I am not a big fan of ubuntu :-)
[19:30] <smoser> ssh-import-id basically takes a launchpad (or github) username and does what you'd expect.
[19:30] <zooz> ah that's pretty cool
[19:31] <smoser> yeah, its extremely conveneint.
[19:32] <zooz> ssh -l fedora 107.167.165.4
[19:32] <zooz> you'd have to scp the DataSourceGCE.py file over
[19:38] <zooz> smoser, I just added user-data item for you to test
[19:40] <smoser> zooz, actually, i'm good.
[19:40] <smoser> you can add or remove user-data ?
[19:40] <smoser> i guess they're just keys.
[19:40] <smoser> but you can add and remove them.
[19:40] <smoser> hm..
[19:40] <smoser> we shoudl think about that.
[19:40] <smoser> the other thing to think about, is doing base64 encoding in user-data
[19:40] <smoser> maybe useful, maybe not.
[19:41] <zooz> removed
[19:43] <smoser> zooz, ok. i'm done there. i just uploaded to ubuntu.
[19:43] <smoser> thanks.
[19:54] <zooz> cool thanks
=== shardy_afk is now known as shardy