Hi Tino,<br><br>yes i downgraded the amazon ec2 but still issue remains same.. <br><br>/src/cloud//bin/econe-run-instances:100: warning: ambiguous first argument; put parentheses or even spaces<br>/src/cloud//bin/econe-run-instances:107: warning: ambiguous first argument; put parentheses or even spaces<br>
/src/cloud//bin/econe-run-instances:120: warning: ambiguous first argument; put parentheses or even spaces<br>/src/cloud//bin/econe-run-instances:127: warning: ambiguous first argument; put parentheses or even spaces<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems.rb:1113 - no such file to load -- rubygems/defaults/operating_system<br>
Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for Rational(1, 2):Rational<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/config_file.rb:34 - no such file to load -- Win32API<br>
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- curb<br>Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- net/http/post/multipart<br>
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- AWS<br>Exception `NoMethodError' at /var/lib/gems/1.8/gems/amazon-ec2-0.5.5/lib/AWS.rb:267 - undefined method `elements' for nil:NilClass<br>
econe-run-instances: undefined method `elements' for nil:NilClass<br><br>Any idea ??<br><br>thanks,<br>manjunath A<br><br><br><div class="gmail_quote">On Wed, May 5, 2010 at 9:20 PM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Manju,<br>
<br>
It could be the AWS gem version, the one you have installed is quite<br>
new, we have developed the EC2 interface against the 0.5.5 . Let's try<br>
a downgrade:<br>
<br>
$ gem uninstall amazon-ec2<br>
$ gem install amazon-ec2 --version "= 0.5.5"<br>
<div class="im"><br>
Regards,<br>
<br>
-Tino<br>
<br>
--<br>
Constantino Vázquez, Grid & Virtualization Technology<br>
Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Wed, May 5, 2010 at 9:19 AM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>> wrote:<br>
> Hi Tino,<br>
><br>
> Do you think i am missing some thing here ??<br>
><br>
> thanks,<br>
> manjunath A<br>
><br>
><br>
> On Fri, Apr 30, 2010 at 4:31 PM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Here is the output<br>
>><br>
>> /src/cloud//bin/econe-run-instances:100: warning: ambiguous first<br>
>> argument; put parentheses or even spaces<br>
>> /src/cloud//bin/econe-run-instances:107: warning: ambiguous first<br>
>> argument; put parentheses or even spaces<br>
>> /src/cloud//bin/econe-run-instances:120: warning: ambiguous first<br>
>> argument; put parentheses or even spaces<br>
>> /src/cloud//bin/econe-run-instances:127: warning: ambiguous first<br>
>> argument; put parentheses or even spaces<br>
>> Exception `LoadError' at /usr/lib/ruby/1.8/rubygems.rb:1113 - no such file<br>
>> to load -- rubygems/defaults/operating_system<br>
>> Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined<br>
>> method `gcd' for Rational(1, 2):Rational<br>
>> Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/config_file.rb:34 - no<br>
>> such file to load -- Win32API<br>
>> Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -<br>
>> no such file to load -- curb<br>
>> Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -<br>
>> no such file to load -- net/http/post/multipart<br>
>> Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 -<br>
>> no such file to load -- AWS<br>
>> /var/lib/gems/1.8/gems/amazon-ec2-0.9.12/lib/AWS/EC2/products.rb:11:<br>
>> warning: method redefined; discarding old confirm_product_instance<br>
>> Exception `NoMethodError' at<br>
>> /var/lib/gems/1.8/gems/amazon-ec2-0.9.12/lib/AWS.rb:298 - undefined method<br>
>> `elements' for nil:NilClass<br>
>> econe-run-instances: undefined method `elements' for nil:NilClass<br>
>><br>
>> thanks,<br>
>> manjunath A<br>
>><br>
>><br>
>><br>
>> On Fri, Apr 30, 2010 at 3:18 PM, Tino Vazquez <<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>> wrote:<br>
>>><br>
>>> Hi Manju,<br>
>>><br>
>>> Ok, is not finding the script. Let's try this:<br>
>>><br>
>>> > ruby -dw `which econe-run-instances` 7<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> -Tino<br>
>>><br>
>>> --<br>
>>> Constantino Vázquez, Grid & Virtualization Technology<br>
>>> Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
>>> DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
>>> Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
>>> OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Apr 30, 2010 at 11:32 AM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>> wrote:<br>
>>> > Hi Tino,<br>
>>> ><br>
>>> > Here is the output<br>
>>> ><br>
>>> > Exception `LoadError' at ruby:0 - No such file or directory --<br>
>>> > econe-run-instances<br>
>>> > ruby: No such file or directory -- econe-run-instances (LoadError)<br>
>>> ><br>
>>> > thanks,<br>
>>> > manjunath A<br>
>>> ><br>
>>> ><br>
>>> > On Fri, Apr 30, 2010 at 2:16 PM, Tino Vazquez <<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Hi Manju,<br>
>>> >><br>
>>> >> Can you send us the output of:<br>
>>> >><br>
>>> >> > ruby -dw econe-run-instances 7<br>
>>> >><br>
>>> >> Regards,<br>
>>> >><br>
>>> >> -Tino<br>
>>> >><br>
>>> >> --<br>
>>> >> Constantino Vázquez, Grid & Virtualization Technology<br>
>>> >> Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
>>> >> DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
>>> >> Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
>>> >> OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On Thu, Apr 29, 2010 at 8:32 AM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>> wrote:<br>
>>> >> > Hi Tino,<br>
>>> >> ><br>
>>> >> > okay, i tired with .img file, i was able to upload and register but<br>
>>> >> > cant<br>
>>> >> > run<br>
>>> >> > the instance<br>
>>> >> ><br>
>>> >> > i always get below message<br>
>>> >> ><br>
>>> >> > econe-run-instances: undefined method `elements' for nil:NilClass<br>
>>> >> ><br>
>>> >> >  if i do econe-describe-images, i am able to get the result..<br>
>>> >> ><br>
>>> >> > oneadmin  1<br>
>>> >> > /vmfs/voulmes/vmimages/1<br>
>>> >> > oneadmin  2<br>
>>> >> > /vmfs/voulmes/vmimages/2<br>
>>> >> > oneadmin  3<br>
>>> >> > /vmfs/voulmes/vmimages/3<br>
>>> >> > oneadmin  4<br>
>>> >> > /vmfs/voulmes/vmimages/4<br>
>>> >> > oneadmin  5<br>
>>> >> > /vmfs/voulmes/vmimages/5<br>
>>> >> > oneadmin  6<br>
>>> >> > /vmfs/voulmes/vmimages/6<br>
>>> >> > oneadmin  7<br>
>>> >> > /vmfs/voulmes/vmimages/kvm/7<br>
>>> >> ><br>
>>> >> > Any idea on this error..<br>
>>> >> ><br>
>>> >> > thanks,<br>
>>> >> > manjunath A<br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > On Wed, Apr 28, 2010 at 9:51 PM, Tino Vazquez <<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>><br>
>>> >> > wrote:<br>
>>> >> >><br>
>>> >> >> Hi Manju,<br>
>>> >> >><br>
>>> >> >> Unfortunetely, for vmware VMs you need more than one file,<br>
>>> >> >> basically<br>
>>> >> >> you need to upload a folder, and that, for the moment, is not<br>
>>> >> >> possible<br>
>>> >> >> with econe-upload. You can modify slightly the EC2QueryServer to<br>
>>> >> >> untar<br>
>>> >> >> a tar.gz on the server, and you will have the desired<br>
>>> >> >> functionality,<br>
>>> >> >> uploading the folder as a tar.gz file.<br>
>>> >> >><br>
>>> >> >> Regards,<br>
>>> >> >><br>
>>> >> >> -Tino<br>
>>> >> >> --<br>
>>> >> >> Constantino Vázquez, Grid & Virtualization Technology<br>
>>> >> >> Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
>>> >> >> DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
>>> >> >> Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
>>> >> >> OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> On Wed, Apr 21, 2010 at 9:27 AM, manju a <<a href="mailto:manju.kudu@gmail.com">manju.kudu@gmail.com</a>><br>
>>> >> >> wrote:<br>
>>> >> >> > Hi All,<br>
>>> >> >> ><br>
>>> >> >> > We are running Virtual machines on top of ESXI , when we do<br>
>>> >> >> > econe-upload,<br>
>>> >> >> > which file extension we need to give for uploading vmware based<br>
>>> >> >> > images,<br>
>>> >> >> > do<br>
>>> >> >> > we need give  ".vmx" ??<br>
>>> >> >> ><br>
>>> >> >> > i am able to upload ".vmx" (not sure whether its right or wrong)<br>
>>> >> >> ><br>
>>> >> >> > econe-describe-images<br>
>>> >> >> > oneadmin  1<br>
>>> >> >> > /vmfs/voulmes/vmimages/1<br>
>>> >> >> > oneadmin  2<br>
>>> >> >> > /vmfs/voulmes/vmimages/2<br>
>>> >> >> > oneadmin  3<br>
>>> >> >> > /vmfs/voulmes/vmimages/3<br>
>>> >> >> > oneadmin  4<br>
>>> >> >> > /vmfs/voulmes/vmimages/4<br>
>>> >> >> > oneadmin  5<br>
>>> >> >> > /vmfs/voulmes/vmimages/5<br>
>>> >> >> ><br>
>>> >> >> > when i do<br>
>>> >> >> ><br>
>>> >> >> > econe-run-instances 5<br>
>>> >> >> > econe-run-instances: undefined method `elements' for nil:NilClass<br>
>>> >> >> ><br>
>>> >> >> > i think i am missing some thing here.. please advise !!<br>
>>> >> >> ><br>
>>> >> >> > thanks,<br>
>>> >> >> > manjunath A<br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> > _______________________________________________<br>
>>> >> >> > Users mailing list<br>
>>> >> >> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>>> >> >> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>><br>
><br>
><br>
</div></div></blockquote></div><br>