Kallen
June 26, 2012, 11:01pm
1
hi. my systems are generally running 0.10.8 and 0.10.10. i’m trying
out 10.12.0 and am immediately experiencing this issue.
error is shown here:
gistfile1.txt
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: Loading Recipe aws via include_recipe
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: Found recipe default in cookbook aws
[Tue, 26 Jun 2012 22:47:18 +0000] INFO: Processing gem_package[right_aws] action install (aws::default line 20)
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] detected omnibus installation in /opt/chef/embedded/bin
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] searching for 'gem' binary in path: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/ec2/bin:/opt/iam/bin:/home/ec2/bin:/root/bin:/opt/chef/embedded/bin:/opt/chef/embedded/bin
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] using gem '/usr/bin/gem'
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] found installed gem right_aws version 2.1.0 matching right_aws (= 2.1.0)
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] is already installed - nothing to do
[Tue, 26 Jun 2012 22:47:19 +0000] ERROR: Running exception handlers
[Tue, 26 Jun 2012 22:47:19 +0000] FATAL: Saving node information to /var/cache/chef/failed-run-data.json
This file has been truncated. show original
right_aws is installed in “system” location:
/usr/lib/ruby/gems/1.8/gems/right_aws-2.1.0. but i guess chef 10.12.0
isn’t looking for it there…
is there some special way i need to handle gem install or runtime paths
using the chef fullstack installer as of 10.12.0?
thanks,
kallen
On Tuesday, June 26, 2012 at 4:01 PM, kallen@groknaut.net wrote:
hi. my systems are generally running 0.10.8 and 0.10.10. i'm trying
out 10.12.0 and am immediately experiencing this issue.
error is shown here:
chef 10.12.0 can't find right_aws gem · GitHub
right_aws is installed in "system" location:
/usr/lib/ruby/gems/1.8/gems/right_aws-2.1.0. but i guess chef 10.12.0
isn't looking for it there..
is there some special way i need to handle gem install or runtime paths
using the chef fullstack installer as of 10.12.0?
When using the full stack "omnibus" installer, use chef_gem
for gems you want installed to the embedded gem repo. It will automatically do the run_action hack and Gem.clear_paths stuff for you as well.
thanks,
kallen
--
Dan DeLeo