[one-users] Error with define class in ImageRepositoryVMware.rb with ver 3.0 & ESXI 4.1

Bharat Bagai bagai_bharat at hotmail.com
Thu Oct 13 23:31:01 PDT 2011


Hi All

I am using OpenNebula 3.0 with Vmware Esxi, When i am trying to register an image, getting following error

[oneadmin at 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 at 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 )
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111014/1609ea2e/attachment-0002.htm>


More information about the Users mailing list