New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fog >= 1.11.0 breaks run with elasticsearch::ebs #93

Closed
Pneumatus opened this Issue May 7, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@Pneumatus

Pneumatus commented May 7, 2013

Since the release of Fog 1.11.0 (and 1.11.1) the elasticsearch::ebs recipe causes the chef run to fail due to the latest version of fog installing a conflicting version of the json gem.

The run fails on a brand new machine with the error:

[2013-05-07T08:54:08+00:00] FATAL: Gem::LoadError: ruby_block[Create EBS volume on /dev/xvdf (size: 10GB)](elasticsearch::ebs line 16) had an error: Gem::LoadError: Unable to activate fog-1.11.1, because json-1.5.4 conflicts with json (~> 1.7)

Forcing the version of the fog gem down to 1.10.1 with the following resolves the issue as a band-aid, but there's probably a better way to do it.

chef_gem 'fog' do
  version '1.10.1'
  action :install
end

@karmi karmi closed this in 194bdf3 May 9, 2013

@karmi

This comment has been minimized.

Show comment
Hide comment
@karmi

karmi May 9, 2013

Member

Thanks!, added the version to the recipe. Verified it to be working in Vagrant and EC2.

Member

karmi commented May 9, 2013

Thanks!, added the version to the recipe. Verified it to be working in Vagrant and EC2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment