I have tried the installation on a brand new VM without a previously installed version of OpenNebula and I still get the same error. Just in case I’m running Ruby version 1.8.7 from RVN.
I have also tried running install_gems without the ec2_hybrid and that works.
Now I have come to find out that when I downloaded the latest version of OpenNebula from Github, this version seems to be behind what has been released? Or probably the release name has not been updated? The UI says 4.14.1 instead of the 4.14.2 version and I’m wondering if a merge has occurred between your internal repo and that in Github. As of 12/1 17:00PST this is what I see:
[root@opennebula one]# git log
commit 71e17625cc7e5f53b5539bc1b0e4ae5cc92be83b
Author: Carlos Martín cmartin@opennebula.org
Date: Mon Nov 30 15:53:03 2015 +0100
Bug #4216: Support for text64 user inputs in provision tab
And here is the spit out from my command line when installing:
[root@opennebula install_gems]# gem install nokogiri --version “< 1.6.0”
Building native extensions. This could take a while…
Successfully installed nokogiri-1.5.11
Installing ri documentation for nokogiri-1.5.11
No definition for parse_memory
No definition for parse_file
No definition for parse_with
No definition for get_options
No definition for set_options
/usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for nokogiri after 5 seconds
1 gem installed
[root@opennebula install_gems]# gem install aws-sdk -v 1.50
ERROR: Error installing aws-sdk:
mini_portile2 requires Ruby version >= 1.9.2.
[root@opennebula install_gems]# ./install_gems
/usr/local/rvm/rubies/ruby-1.8.7-head/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55: command not found: lsb_release -a
lsb_release command not found. If you are using a RedHat based
distribution install redhat-lsb
Select your distribution or press enter to continue without
installing dependencies.
- CentOS/RedHat/Scientific
- Ubuntu/Debian
0
Distribution “redhat” detected.
About to install these dependencies:
- gcc
- rubygem-rake
- libxml2-devel
- libxslt-devel
- patch
- ruby-devel
- make
Press enter to continue…
yum install gcc rubygem-rake libxml2-devel libxslt-devel patch ruby-devel make
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 13 kB 00:00
- base: mirror.trouble-free.net
- epel: mirror.symnds.com
- extras: mirrors.lga7.us.voxel.net
- remi-safe: mirrors.netix.net
- updates: ftp.usf.edu
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.8 MB 00:00
extras | 3.4 kB 00:00
nodesource | 2.5 kB 00:00
one | 2.9 kB 00:00
remi-safe | 2.9 kB 00:00
updates | 3.4 kB 00:00
Package gcc-4.4.7-16.el6.x86_64 already installed and latest version
Package rubygem-rake-0.8.7-2.1.el6.noarch already installed and latest version
Package libxml2-devel-2.7.6-20.el6.x86_64 already installed and latest version
Package libxslt-devel-1.1.26-2.el6_3.1.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package ruby-devel-1.8.7.374-4.el6_6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Nothing to do
About to install the gems for these components:
- sunstone
- quota
- cloud
- auth_ldap
- vmware
- oneflow
- ec2_hybrid
- oca
- onedb
Press enter to continue…
gem install --no-ri --no-rdoc nokogiri --version “< 1.6.0”
Building native extensions. This could take a while…
Successfully installed nokogiri-1.5.11
1 gem installed
gem install --no-ri --no-rdoc zendesk_api --version “< 1.5”
Successfully installed zendesk_api-1.4.6
1 gem installed
gem install --no-ri --no-rdoc net-ldap --version “< 0.9”
Successfully installed net-ldap-0.8.0
1 gem installed
gem install --no-ri --no-rdoc treetop --version “>= 1.6.3”
Successfully installed treetop-1.6.3
1 gem installed
gem install --no-ri --no-rdoc aws-sdk --version “= 1.33”
ERROR: Error installing aws-sdk:
mini_portile2 requires Ruby version >= 1.9.2.
Error executing gem install --no-ri --no-rdoc aws-sdk --version “= 1.33”
[root@opennebula install_gems]#