Hi All I am using OpenNebula 3.0 with Vmware Esxi, When i am trying to register an image, getting following error
[oneadmin@frontend minicentos]$ onevmware register --disk-vmdk disk.vmdk --flat-disk ttylinux-flat.vmdk tty1.img /var/lib/one/lib/ruby/OpenNebula/ImageRepositoryVMware.rb:26: uninitialized constant ImageRepository (NameError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/one/bin/onevmware:36 After going into more details, i found that there will be some issue with define class in ImageRepositoryVMware.rb file. I tried to change the code as follows Previous ------> class ImageRepositoryVMware < ImageRepository After changed -----> class ImageRepositoryVMware But again i am getting following error [oneadmin@frontend minicentos]$ onevmware register --disk-vmdk disk.vmdk --flat-disk ttylinux-flat.vmdk tty1.img /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- client_utilities (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/one/bin/onevmware:38 I already installed all necessary gems with the help of install_gems script that has been provided with ver. 3.0. I am using following path ONE_LOCATION ----> /var/lib/one Image Repository --> /var/lib/one/Images Still need any more information let me know. Thanks in advance (Bharat )
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org