Problem with knife-esx plugin


#1

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:intimeout’
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:ingem_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:ingem_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:ingem_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:ingem_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:inload’
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:ineach’
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:inload_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:inrun’
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 .


#2

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, vlad.berezovski@gmail.com 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:intimeout’
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:ingem_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:ingem_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:ingem_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:ingem_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:inload’
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:ineach’
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:inload_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:inrun’
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 .