[one-users] econe commands

Tino Vazquez tinova at fdi.ucm.es
Wed May 5 08:50:48 PDT 2010


Hi Manju,

It could be the AWS gem version, the one you have installed is quite
new, we have developed the EC2 interface against the 0.5.5 . Let's try
a downgrade:

$ gem uninstall amazon-ec2
$ gem install amazon-ec2 --version "= 0.5.5"

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



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



More information about the Users mailing list