<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi All<br><br>I am using OpenNebula 3.0 with Vmware Esxi, When i am trying to register an image, getting following error<br><br>[oneadmin@frontend minicentos]$ onevmware register --disk-vmdk disk.vmdk --flat-disk ttylinux-flat.vmdk tty1.img<br>/var/lib/one/lib/ruby/OpenNebula/ImageRepositoryVMware.rb:26: uninitialized constant ImageRepository (NameError)<br> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'<br> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br> from /var/lib/one/bin/onevmware:36<br><br>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<br><br>Previous ------> class ImageRepositoryVMware < ImageRepository<br>After changed -----> class ImageRepositoryVMware <br><br>But again i am getting following error<br><br>[oneadmin@frontend minicentos]$ onevmware register --disk-vmdk disk.vmdk --flat-disk ttylinux-flat.vmdk tty1.img<br>/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- client_utilities (LoadError)<br> from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br> from /var/lib/one/bin/onevmware:38<br><br>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<br><br>ONE_LOCATION ----> /var/lib/one<br>Image Repository --> /var/lib/one/Images<br><br>Still need any more information let me know. Thanks in advance<br><br>(Bharat )<br> </div></body>
</html>