[chef] Re: Problem with knife-esx plugin


Chronological Thread 
  • From: "John E. Vincent (lusis)" < >
  • To:
  • Subject: [chef] Re: Problem with knife-esx plugin
  • Date: Tue, 7 Aug 2012 20:45:58 -0400

For the life of me I can't understand why a knife plugin needs
celluloid.* but the reason it's failing is because celluloid only runs
under ruby 1.9 or jruby (at least as far as I know because 1.8 doesn't
have fibers).

* I can actually sort of understand it but Celluloid is a bit of overkill

On Tue, Aug 7, 2012 at 6:48 AM,  
< >
 wrote:
>
> I installed knife-esx  plugin using gem install knife-esx  command .
>
> From now every knife  worked earlier  command gives this output :
>
>
> # knife client  list
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid.rb:74:in
> `shutdown': uninitialized constant Module::Actor (NameError)
>         from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
>         from
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid.rb:73:in
> `shutdown'
>         from
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid.rb:101
>         from /usr/bin/knife:19
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require': no such file to load -- fiber (LoadError)
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `require'
>         from
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid/fiber.rb:3
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `require'
>         from
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid/core_ext.rb:1
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `require'
>         from
> /usr/lib64/ruby/gems/1.8/gems/celluloid-0.11.1/lib/celluloid.rb:369
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `require'
>         from
> /usr/lib64/ruby/gems/1.8/gems/knife-esx-0.3.2/lib/chef/knife/esx_vm_create.rb:21
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife/core/subcommand_loader.rb:37:in
> `load'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife/core/subcommand_loader.rb:37:in
> `load_commands'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife/core/subcommand_loader.rb:37:in
> `each'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife/core/subcommand_loader.rb:37:in
> `load_commands'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife.rb:114:in
> `load_commands'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/knife.rb:162:in `run'
>         from
> /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/lib/chef/application/knife.rb:123:in
> `run'
>         from /usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/knife:25
>         from /usr/bin/knife:19:in `load'
>         from /usr/bin/knife:19
>
> Please advise .
>
> I'm running 10.12.0 chef version .
>
>
> Thanks ,
>
> /Vlad .



Archive powered by MHonArc 2.6.16.

§