12:01
<maize>
is someone here to help me please :-) ?
12:02
<maize>
just wait a moment...i gonna try to start my cloud to send you the error...
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
<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>
'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:07
<maize>
here the error from the old version, if you want :P
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: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
<maize>
hm somewhere in wiki of your git project...
12:12
<maize>
i try to refind
12:12
<maize>
do you have a good example for a rails project?
12:13
<auser>
it's even simpler now
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: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
<auser>
it's in the cloud, right?
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
<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
<maize>
should i give the whole error msg?
12:23
<auser>
try upgrading to 1.6.2
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:24
<maize>
do have to use the git source?
12:24
<auser>
just gem upgrade poolparty
12:24
<auser>
gem install
12:24
<maize>
first attemp was still 1.6.1
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: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:31
<GitHub171>
poolparty: master Ari Lerner * 24c0f38 (1 files in 1 dirs): Quick fix error with fileutils -
http://bit.ly/96KOgP
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: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>
that's weird, PP should create that
12:55
<maize>
i got the cookbooks from "git://github.com/opscode/cookbooks.git"
12:55
<auser>
yeah, it's not chef
12:55
<maize>
do poolparty fetch them for me itself ?
12:55
<maize>
ah ok thanks
12:56
<auser>
ls that directory
12:56
<auser>
ls /mtp/poolparty/poolparty/chef/etc/chef/roles
12:58
<maize>
where should mtp be?
13:02
<auser>
sorry, totally distracted
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: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)
21:18
<harrycaul>
anyone here?