<    March 2010    >
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
00:50 yannlugrin joined
03:36 yannlugrin joined
09:27 brimil01 joined
09:33 jashmenn joined
11:10 tongueroo joined
11:26 tongueroo joined
11:31 auser joined
11:33 auser joined
11:40 badrone joined
12:00 maize joined
12:00 <maize> hello guys
12:01 <auser> holla
12:01 <maize> is someone here to help me please :-) ?
12:01 <auser> what's up
12:02 <maize> just wait a moment...i gonna try to start my cloud to send you the error...
12:02 <auser> heh, k
12:02 <maize> what i can still say...that it's something with a generation of a hash by a json class ;-)
12:03 <auser> er... which version of PP are you running
12:04 <maize> hm the newest one...
12:04 <auser> k...
12:04 <maize> auser-poolparty (1.3.17)
12:05 <maize> and why are there two different gems? auser-poolparty and poolparty?
12:05 <auser> we are on 1.6.1
12:05 <auser> auser-poolparty is so retro
12:05 <auser> :)
12:05 <maize> oh :P
12:05 <auser> 'cause github moved to gemcutter
12:06 <maize> so i gonna uninstall auser-poolparty and install the new one...let's what gonna happen then
12:06 <auser> cool
12:07 <maize> here the error from the old version, if you want :P
12:07 <maize> Location: http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/json/encoders/hash.rb:45:in `as_json': undefined method `[]' for #<JSON::Ext::Generator::State:0x102157248> (NoMethodError)
12:07 <auser> erp
12:07 <auser> thanks?
12:07 <auser> heh
12:07 <auser> haven't seen that one before
12:08 <maize> ok hm with the new one i get this error
12:08 <maize> `method_missing': undefined method `has_directory' for #<PoolParty::Cloud:0x102710d38> (NoMethodError)
12:08 <auser> what's your cloud look like?
12:09 <maize> ok wait it's really simple...
12:09 <maize> http://pastebin.com/Tgg8M8Fy
12:10 <maize> it's a mixture out of your simple examples
12:10 <auser> PP no longer supports chef integrated with resources. Chef does it so much better than PP, so rather than fight their DSL, you can use a chef recipe
12:11 <auser> PoolParty is infrastructure building, Chef is resource allocation
12:11 <auser> where did you see those examples? we have to pull them down
12:11 <maize> ok, thanks, so which config properties do i put into the clouds.rb?
12:11 <auser> it's...
12:11 <auser> sec.
12:11 <maize> hm somewhere in wiki of your git project...
12:12 <maize> i try to refind
12:12 <auser> k
12:12 <maize> http://wiki.github.com/auser/poolparty/getting-rails-in-the-pool
12:12 <auser> eek
12:12 <auser> thanks
12:12 <maize> do you have a good example for a rails project?
12:13 <auser> it's even simpler now
12:13 <auser> sec.
12:14 <maize> i don
12:14 <maize> ups...
12:14 <auser> k refresh that page
12:14 <maize> i don't get it yet how chef works...do i have to start a server?
12:15 <auser> no, I tend to use solo
12:16 <maize> ok i just have to run once "chef-solo" or?
12:16 <auser> yep, except you should put it in your user-data script
12:16 <maize> thanks for the update of your rails example ;-)
12:16 <auser> to run it
12:17 <auser> totally
12:17 <auser> or
12:17 <auser> poolparty will run it for you
12:17 <auser> cloud configure
12:18 <maize> ok cool thanks ;-)
12:19 <maize> hm if i use cloud configure, i get this error "`method_missing': undefined method `chef' for #<PoolParty::Cloud:0x10270f7d0> (NoMethodError)"
12:20 <auser> cloud show does that give you the same error?
12:20 <maize> yes
12:20 <auser> it's in the cloud, right?
12:20 <auser> I mean
12:20 <auser> hm, yeah
12:20 <auser> cloud --version
12:21 <maize> PoolParty core loadtime: 0.13534
12:21 <maize> PoolParty release: 1.6.1
12:21 <maize> i didn't start my cloud yet
12:21 <auser> I know
12:21 <maize> i'll try cloud start
12:21 <auser> no, it's not that
12:21 <maize> ya, for cloud start it's the same
12:22 <auser> maybe this isn't in the next release
12:22 <auser> lemme look at the source
12:22 <auser> sec.
12:22 <maize> should i give the whole error msg?
12:22 <auser> nope
12:23 <auser> try upgrading to 1.6.2
12:23 GitHub150 joined
12:23 <GitHub150> poolparty: master Ari Lerner * 661c77f (1 files in 1 dirs): Version bump to 1.6.2
12:23 <GitHub150> poolparty: master Ari Lerner * d0602e1 (1 files in 1 dirs): Updated gemspec
12:23 <GitHub150> poolparty: master commits fee4145...d0602e1 - http://bit.ly/acodC2
12:23 GitHub150 left
12:24 <maize> do have to use the git source?
12:24 <auser> no
12:24 <auser> just gem upgrade poolparty
12:24 <auser> or
12:24 <auser> gem install
12:24 <maize> ah now ;-)
12:24 <maize> first attemp was still 1.6.1
12:24 <auser> coo
12:25 <maize> now this error
12:25 <maize> ./clouds.rb:7: uninitialized constant FILE (NameError)
12:25 <maize> repo File.dirname(FILE)+"/chef_cloud/chef_repo"
12:25 <maize> ahh
12:25 <maize> sorry
12:25 <auser> __FILE__
12:26 <maize> hell yeah now it goes further ;-)
12:27 <maize> Waiting for node to launch............ OK
12:27 <maize> Waiting for the instances to be launched OK
12:27 <maize> Waiting for the instances to be accessible by ssh OK
12:27 <maize> Attaching EBS volumes
12:27 <maize> `build_tmp_dir': uninitialized constant PoolParty::ChefSolo::FileUtils (NameError)
12:27 <maize> i get an error after attaching ebs volume
12:29 <auser> erp
12:29 <auser> sec.
12:29 <auser> heh
12:29 <maize> ok ;-)
12:31 <auser> k
12:31 GitHub171 joined
12:31 <GitHub171> poolparty: master Ari Lerner * 24c0f38 (1 files in 1 dirs): Quick fix error with fileutils - http://bit.ly/96KOgP
12:31 GitHub171 left
12:31 <auser> update
12:33 <maize> ok...now i get this error: "`build_tmp_dir': ./chef_cloud/chef_repo chef repo directory does not exist (RuntimeError)"
12:33 <maize> do i have to create the dir /chef_cloud/chef_repo?
12:34 <maize> or what does this line do ? "repo File.dirname(__FILE__)+"/chef_cloud/chef_repo"" ?
12:34 <auser> no... that has to be a chef repos
12:34 <auser> like on opscode's wiki page
12:35 <maize> ok that's a point i don't really understand...is it a local repo on my chef server?
12:35 <auser> no, just on your local machine
12:38 <maize> hm so does poolparty create this dir for me or do i have to create it myself?
12:38 <maize> sorry i'm new in this area
12:38 <auser> no, no problem
12:38 <auser> no, poolparty will package it up and put it on your servers
12:38 <auser> but that's a chef repos containing chef recipes
12:39 <maize> ah ok now i understand...in this dir there are the recipes "passenger", "apache2", "rails" ?
12:39 <auser> yep
12:39 <auser> exactly
12:39 <maize> ah ok ;-)
12:43 <maize> i'm also new in ruby...does "File.dirname(__FILE__)" point to the clouds.rb?
12:43 <auser> no, that points to the directory that clouds.rb is in
12:46 <maize> ok, now i get this error:
12:46 <maize> `initialize': No such file or directory - /tmp/poolparty/poolparty/chef/etc/chef/roles/chef.json (Errno::ENOENT)
12:53 <maize> in my chef_repo are the three predefined recipes "apache2", "passenger" and "rails"
12:54 <auser> oh sorry
12:54 <auser> ech
12:54 <auser> um
12:54 <auser> that's weird, PP should create that
12:54 <auser> lemme see
12:55 <maize> i got the cookbooks from "git://github.com/opscode/cookbooks.git"
12:55 <auser> yeah, it's not chef
12:55 <auser> sec.
12:55 <maize> do poolparty fetch them for me itself ?
12:55 <maize> ah ok thanks
12:55 <auser> no
12:56 <auser> can you
12:56 <auser> ls that directory
12:56 <auser> ls /mtp/poolparty/poolparty/chef/etc/chef/roles
12:58 <maize> ok wait
12:58 <maize> where should mtp be?
13:01 <auser> mtp?
13:01 <auser> I mean't
13:01 <auser> tmp
13:01 <auser> haha
13:02 <auser> sorry, totally distracted
13:02 <maize> ah ok ;-)
13:02 <maize> there is no roles folder...
13:02 <maize> apache2 dna.json passenger rails solo.rb
13:03 <maize> only these files and folders under "/tmp/poolparty/poolparty/chef/etc/chef/"
13:04 <auser> is there a dna.json
13:04 <auser> k
13:04 <auser> yeah
13:05 <auser> try
13:05 <auser> rm -rf /tmp/poolparty/poolparty
13:05 <auser> then try again
13:05 <auser> be back this evening
13:05 <auser> sorry, gotta jet for a few
13:06 <maize> ok i'll try...thanks anyway ;-) you helped me a lot
13:06 <maize> ok i still get this error:
13:06 <maize> No such file or directory - /tmp/poolparty/poolparty/chef/etc/chef/roles/chef.json (Errno::ENOENT)
13:06 auser_ joined
15:04 jashmenn joined
15:07 tongueroo joined
15:52 tongueroo joined
16:20 jashmenn joined
17:28 tonguero_ joined
17:35 tongueroo joined
17:42 maize_ joined
19:15 auser joined
20:57 tongueroo joined
21:01 auser joined
21:02 jashmenn joined
21:18 harrycaul joined
21:18 <harrycaul> anyone here?
23:10 stimble joined