=== harlowja is now known as harlowja_away | ||
harmw | harlowja_away: :) | 11:04 |
---|---|---|
=== harlowja_away is now known as harlowja | ||
harlowja | let me see how much farther i can get today harmw , nearly there i think | 17:48 |
mbarr | I'm trying to find the code for the puppet module in cloud-init. part of it is just what variables are available for interpolation into the puppet.conf file.. can someone point me to it? | 17:56 |
mbarr | I've looked in the bzr repo, and don't see anything, but it clearly works... | 17:57 |
harlowja | mbarr http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/config/cc_puppet.py | 17:57 |
mbarr | and there's nothing about modules in the current docs site. | 17:57 |
harlowja | mainly line 51 and on | 17:57 |
mbarr | Hmm... i wouldn't have expected it inside config. | 17:57 |
harlowja | :) | 17:57 |
mbarr | that's why i didn't find it :) | 17:57 |
harlowja | back in the day i tried to name that differently | 17:57 |
harlowja | *name the folder differently | 17:58 |
harlowja | i failed, haha | 17:58 |
mbarr | ahh, there is only the %f & %i. got it. | 17:58 |
mbarr | What's interesting is that I'm trying to change the hostname of the system early enough to be picked up by puppet, and it gets cranky.. | 17:59 |
mbarr | Thus, the code is helpful. | 17:59 |
harlowja | hmmm | 18:00 |
mbarr | i suspect it's starting the puppet instance before the runcmd actually changes the hostname. | 18:01 |
harlowja | are u using the sethostname module? | 18:02 |
harlowja | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/config/cc_set_hostname.py | 18:02 |
mbarr | That was what i was *just* looking at. | 18:02 |
mbarr | It's not documented at present in the main docs. | 18:02 |
mbarr | so thus.. the code. it is helpful :) | 18:02 |
harlowja | ah | 18:02 |
harlowja | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/config/cloud.cfg#L40 | 18:02 |
harlowja | runcmd happens after pupper | 18:03 |
mbarr | I could switch it to bootcmd, and it'd be OK, it looks like. | 18:03 |
harlowja | ya, i suspect so | 18:03 |
mbarr | I was figuring i would just read code, and figure it out :) | 18:03 |
harlowja | although set_hostname module runs after bootcmd | 18:04 |
mbarr | or i could just use the set_hostname and it'd be fine too. | 18:04 |
harlowja | so it might get overwritten | 18:04 |
mbarr | preserve_hostname would prevent that, or i could just do the puppet command by hand. | 18:05 |
mbarr | however, it's annoying to have to edit the defaults file. | 18:05 |
mbarr | So i was looking to see how you dealt with it. | 18:05 |
harlowja | hmmm, i haven't use the puppet stuff personally :) | 18:08 |
mbarr | That's oK. | 18:08 |
mbarr | it's just using the autostart(). | 18:08 |
mbarr | I could not bother w/ the init script and just run it, and mostly, it'd be fine. | 18:09 |
harlowja | :) | 18:09 |
mbarr | i just really wanted to see how this thing worked, and seeing the order was actually key :) | 18:09 |
harlowja | def | 18:10 |
mbarr | I'm attempting to give more info to things like logs, so i need my hostnames to have some info as to role, but also still be unique, and auto scaleable... | 18:17 |
mbarr | oh what fun autoscaling is | 18:17 |
mbarr | I end up w/ hostnames like webserver-prod-us-east-1c-i-2828384.ec2....... | 18:21 |
mbarr | thank you, I'm glad to see that the project was included in RHEL 6.4. That'll make this a fairly standard option now. | 18:21 |
harlowja | def | 18:23 |
mbarr | Thanks again! wonderful job :) | 18:24 |
harlowja | np | 18:24 |
harlowja | ha | 18:24 |
harmw | harlowja: any luck? | 20:31 |
harlowja | ah, haven't had time yet | 20:31 |
harmw | ok | 20:36 |
harmw | harlowja: you work at yahoo, right? | 20:44 |
harlowja | correct | 20:44 |
harmw | you're behind the ads.yahoo.com malware? :p | 20:45 |
harlowja | lol | 20:46 |
harlowja | nope | 20:46 |
harmw | :) what is it you do, software developer? | 20:46 |
harlowja | yuppers, openstack software developer guy | 20:47 |
harmw | cool | 20:47 |
harmw | developer or also responsible for the yahoo cloud running smooth and gentle? | 20:47 |
harlowja | a little of all the things :-P | 20:48 |
harlowja | more developer, less smooth running person | 20:48 |
harlowja | i try to not get involved there | 20:48 |
harmw | haha | 20:48 |
harmw | and yahoo pays you to 'just work on openstack'? | 20:49 |
harlowja | pretty much | 20:51 |
harmw | thats pretty cool | 20:51 |
harmw | just you or a team of several? | 20:51 |
harlowja | openstack to big for 1 person ;) | 20:51 |
harlowja | so more than 1 | 20:51 |
harlowja | less than 50 | 20:51 |
harlowja | :-P | 20:51 |
harmw | thats quite a few :) | 20:52 |
harmw | and something similar to keep the yahoo cloud running? | 20:52 |
harmw | and please forgive me for beeing curious :) | 20:52 |
harlowja | np | 20:53 |
harlowja | well its almost the same team, we have to be pretty well connected with the people running it | 20:53 |
harmw | obviously | 20:53 |
harmw | how large is your deployment anyway? | 20:53 |
harlowja | ah | 20:53 |
harlowja | now u getting into the intereting questions :-P | 20:54 |
harmw | :> | 20:54 |
harlowja | ya, that one i can't easily say | 20:54 |
harlowja | but in the thousands | 20:54 |
harlowja | thats the estimate i can say | 20:54 |
harmw | instances? | 20:54 |
harmw | (vm's) | 20:54 |
harlowja | lets say both to that | 20:55 |
harlowja | lol | 20:55 |
harmw | ok | 20:55 |
harmw | compute nodes? | 20:55 |
harmw | and what kind of storage do you use? | 20:56 |
harmw | something iscsi-ish? or a ceph cluster? | 20:56 |
harlowja | hmmmm | 20:57 |
harlowja | lol | 20:57 |
harlowja | ya, not sure if i can answer that one :-P | 20:57 |
harlowja | *not yet at least* | 20:57 |
harmw | lol | 20:57 |
harmw | because you don't know or because it's a secret :p | 20:57 |
harlowja | well lets say its a WIP | 21:00 |
harlowja | lol | 21:00 |
harlowja | on something, lol | 21:00 |
harmw | lol, do tell :> | 21:00 |
harlowja | ha | 21:00 |
harlowja | someday when i can :-P | 21:00 |
harmw | haha, though by then it's probably on yahoo.com/cloud/solution/bla | 21:01 |
harlowja | link not work :-P | 21:02 |
harmw | :> | 21:02 |
harmw | btw, is the yahoo cloud private or public? | 21:02 |
harmw | since there's no easy reference on yahoo.com | 21:02 |
harlowja | private | 21:03 |
harlowja | http://www.openstack.org/summit/openstack-summit-hong-kong-2013/session-videos/presentation/yahoo-case-study :-P | 21:03 |
harlowja | with me | 21:03 |
harlowja | lol | 21:03 |
harmw | lol nice | 21:04 |
harmw | you're the bald guy from the still? :p | 21:04 |
harlowja | lol | 21:06 |
harlowja | 2 bald guys are in that video | 21:06 |
harlowja | but yes | 21:06 |
harmw | oh haha | 21:06 |
harlowja | :) | 21:10 |
harlowja | bb food | 21:12 |
harmw | :) nice talk | 21:12 |
harlowja | ha | 21:13 |
harlowja | thx | 21:13 |
harlowja | alright, harmw finally getting back to freebsd | 23:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!