[one-users] EC2 Query Service Configuration ruby error
Javier Fontan
jfontan at fdi.ucm.es
Mon Aug 31 02:30:40 PDT 2009
Hello,
Seems that the required packages for the cloud interface are not
installed. You have the instructions to install them in "requirements
& Installation" section of this page
http://opennebula.org/doku.php?id=documentation:rel1.4:ec2qcg
Bye
On Sat, Aug 29, 2009 at 4:29 PM, <tozaz at free.fr> wrote:
> Hi,
>
> I've got setting up a opennebula private cloud with ubuntu 9.04 as both frontend
> and one node and kvm as virtualization. I can create, stop, restart, hold etc
> ...
>
> I tried to work with EC2 Query Service Configuration
> http://www.opennebula.org/doku.php?id=documentation:rel1.4:ec2qcg
>
> I am facing an issue when I tried to start econe-server and ec2 tools
>
> root at frontend01:/home/xavier# cat /var/log/one/econe.log
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no
> such file to load -- EC2 (LoadError)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /usr/lib/one/ruby/econe/eco.rb:19
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no
> such file to load -- EC2 (LoadError)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /usr/lib/one/ruby/econe/eco.rb:19
>
> root at frontend01:/home/xavier# econe-upload
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no
> such file to load -- EC2 (LoadError)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /usr/lib/one/ruby/econe/EC2QueryClient.rb:11
> from /usr/bin/econe-upload:56:in `require'
> from /usr/bin/econe-upload:56
>
> root at frontend01:/home/xavier# cat /usr/bin/econe-server
> #!/bin/bash
>
> eval `grep ^IMAGE_DIR= /etc/one/econe.conf `
> export TMPDIR=$IMAGE_DIR/tmp
> mkdir -p $TMPDIR
>
> nohup ruby /usr/lib/one/ruby/econe/eco.rb >> /var/log/one/econe.log &
>
> root at frontend01:/home/xavier# cat /etc/one/econe.conf
> # OpenNebula administrator user
> USER=oneadmin
> PASSWORD=mypassword
>
> # OpenNebula sever contact information
> ONE_XMLRPC=http://localhost:2633/RPC2
>
> # Host and port where econe server will run
> SERVER=localhost
> PORT=4567
>
> # Configuration for the image repository
> DATABASE=/srv/cloud/one/var/econe.db
> IMAGE_DIR=/root/images
>
> # VM types allowed and its template file (inside templates directory)
> VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
>
> I've installed all the requirements but still have ruby error.
>
> Hope you can help me one this issue.
>
> Regards,
> Xavier
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
More information about the Users
mailing list