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

Tino Vazquez tinova at opennebula.org
Fri Oct 14 02:19:05 PDT 2011


Dear Bharat,

Looks like you are using the v2.2.0 of the VMware drivers. In the
v3.0.0 Beta1 version, compatible with ONE 3.0, there is no need to use
the "onevmware" command, but rather the "oneimage" command. Please
refer to [1] for further instructions.

Regards,

-Tino

[1] http://opennebula.org/documentation:rel3.0:evmwareg#Usage

--
Constantino Vázquez Blanco, MSc
OpenNebula Project Engineer
www.OpenNebula.org | @tinova79



On Fri, Oct 14, 2011 at 8:31 AM, Bharat Bagai <bagai_bharat at hotmail.com> wrote:
> 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 )
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list