- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Chef DK fails in "chef verify"
- Date: Wed, 28 Jan 2015 18:47:21 -0800
On Wednesday, January 28, 2015 at 2:16 PM, Villa, Juan wrote:
>
I am having this exact same issue in Mac OS X 10.10.1.
>
>
After installing ChefDK 0.3.6 onto a clean system I get the same error when
>
running “chef verify”.
>
>
Here’s my `chef gem list`:
>
>
Hi,
>
>
I installed Chef DK on a VM running Ubuntu 12.04 and got the following
>
error message when I ran "chef verify":
>
>
:~#
>
chef verify
>
Running verification for component 'berkshelf'
>
Running verification for component 'test-kitchen'
>
Running verification for component 'chef-client'
>
Running verification for component 'chef-dk'
>
Running verification for component 'chefspec'
>
Running verification for component 'rubocop'
>
Running verification for component 'fauxhai'
>
Running verification for component 'knife-spork'
>
Running verification for component 'kitchen-vagrant'
>
Running verification for component 'package installation'
>
..........
>
>
/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2104:in
>
`raise_if_conflicts': Unable to activate knife-container-0.2.4, because
>
json-1.8.2 conflicts with json (<= 1.8.1, >= 1.4.4) (Gem::ConflictError)
>
>
Hope you can help me out. Thanks!
Are these completely clean systems? It looks like you’re seeing a slightly
different version of a problem with a similar cause, which is having knife
plugins installed that have conflicting dependencies. Do you have any gems in
`~/.chefdk/gem/ruby/2.1.0/gems/` If so, you might try removing them if you
don’t need them, or updating them to a newer version if available. I checked
the build and we definitely didn’t see any errors like this in the test phase
before we published the packages.
Anyway, if `knife` and such work for you day-to-day, you don’t need to worry
about the verify errors, as `verify` is mostly intended for testing the
packages before we ship them.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.