Upgrade 4.12 to 4.14 Ruby

Hi all,
i’m upgrading from 4.12 to 4.14, Ive trouble with ruby:

Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: rubygem-thin
Errore: Pacchetto: opennebula-server-4.14.2-2.x86_64 (opennebula)
Richiede: liblog4cpp.so.4()(64bit)
Errore: Pacchetto: opennebula-server-4.14.2-2.x86_64 (opennebula)
Richiede: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Errore: Pacchetto: opennebula-server-4.14.2-2.x86_64 (opennebula)
Richiede: libmysqlclient.so.16()(64bit)
Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: rubygem-sqlite3-ruby
Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: rubygem-sinatra
Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: rubygem-sequel
Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: rubygem-uuidtools
Errore: Pacchetto: opennebula-ruby-4.14.2-2.x86_64 (opennebula)
Richiede: ruby-mysql

Where are rubygems package?
I’ve centos 7.2 64 bit.
Thanks.
Giancarlo

My gem list:
[root@manager one]# gem list
ruby 2.0.0p598 (2014-11-13) [x86_64-linux]

*** LOCAL GEMS ***

amazon-ec2 (0.9.17)
aws-sdk (2.2.7, 1.57.0, 1.33.0)
aws-sdk-core (2.2.7)
aws-sdk-resources (2.2.7)
aws-sdk-v1 (1.66.0, 1.57.0)
azure (0.6.4)
bigdecimal (1.2.0)
builder (3.2.2)
configparser (0.1.3)
curb (0.8.6)
daemons (1.1.9)
eventmachine (1.0.3)
faraday (0.9.0)
hashie (3.3.1)
inflection (1.0.0)
io-console (0.4.2)
jmespath (1.1.3)
json (1.8.1, 1.7.7)
macaddr (1.7.1)
mime-types (1.25.1)
mini_portile (0.6.0)
mini_portile2 (2.0.0)
multi_json (1.10.1)
multipart-post (2.0.0)
mysql (2.9.1)
net-ldap (0.8.0)
nokogiri (1.6.1)
ox (2.1.3)
parse-cron (0.1.4)
polyglot (0.3.5)
psych (2.0.0)
rack (1.5.2)
rack-protection (1.5.3)
rake (0.9.6)
rdoc (4.0.0)
ruby-mysql (2.9.13)
rubygems-update (2.5.1)
sequel (4.15.0)
sinatra (1.4.6, 1.4.5)
softlayer_api (3.0.0)
sqlite3 (1.3.11, 1.3.9)
sqlite3-ruby (1.3.3)
systemu (2.6.4)
thin (1.6.3)
tilt (1.4.1)
treetop (1.5.3)
trollop (2.0)
uuid (2.3.7)
uuidtools (2.1.5)
xml-simple (1.1.4)
zendesk_api (1.4.6)

Hi there!,
let’s start checking. Do you have the EPEL repository enabled? If not, use yum install epel-release and try again, I guess your rubygem-* packages may be there.

Hi Miguel,
thanks for the answer… but i’ve already installed epel.
It seems that opennebula “don’t see” the already installed package like [quote=“gdefilippis, post:1, topic:1621”]
sqlite3 (1.3.11, 1.3.9)sqlite3-ruby (1.3.3)
[/quote][quote=“gdefilippis, post:1, topic:1621”]
ruby-mysql (2.9.13)
[/quote][quote=“gdefilippis, post:1, topic:1621”]
sequel (4.15.0)sinatra (1.4.6, 1.4.5)
[/quote]

Hi,
I’m just trying to help you re-checking the usual steps, forgive me if some questions are obvious and you’ve already tried.

Are you using yum to update your installation, what commands are you using to update your OpenNebula installation that give you that error messages? Maybe you can run a yum -v repolist enabled to check the status and url of some repositories?

Hi, no problem…

This is the output of repolist:

**[root@manager ~]# yum -v repolist enabled
Caricamento del plugin "fastestmirror"
Config time: 0.038
Yum version: 3.4.3
Loading mirror speeds from cached hostfile

Id-Repo : epel/x86_64
Nome-Repo : Extra Packages for Enterprise Linux 7 - x86_64
Revisione-Repo: 1450599549
Repo-tags : binary-x86_64
Repo-updated : Sun Dec 20 10:42:38 2015
Repo-pkgs : 9026
Dim.-Repo : 7.1 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
Aggiornato :Sun Dec 20 10:42:38 2015
Repo-baseurl : http://mirror0.babylon.network/epel/7/x86_64/ (78 more)
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:42 2015)
Repo-filename: /etc/yum.repos.d/epel.repo

Id-Repo : extras/7/x86_64
Nome-Repo : CentOS-7 - Extras
Revisione-Repo: 1449796901
Repo-updated : Fri Dec 11 02:21:57 2015
Repo-pkgs : 190
Dim.-Repo : 547 M
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://mirror0.babylon.network/centos/7/extras/x86_64/ (9 more)
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:42 2015)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Id-Repo : glusterfs-epel/7/x86_64
Nome-Repo : GlusterFS is a clustered file-system capable of scaling to several petabytes.
Revisione-Repo: 1447093174
Repo-updated : Mon Nov 9 19:19:35 2015
Repo-pkgs : 14
Dim.-Repo : 14 M
Repo-baseurl : http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-7/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:42 2015)
Repo-filename: /etc/yum.repos.d/glusterfs.repo

Id-Repo : glusterfs-noarch-epel/7
Nome-Repo : GlusterFS is a clustered file-system capable of scaling to several petabytes.
Revisione-Repo: 1447093157
Repo-updated : Mon Nov 9 19:19:18 2015
Repo-pkgs : 2
Dim.-Repo : 56 k
Repo-baseurl : http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-7/noarch/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/glusterfs.repo

Id-Repo : mysql-connectors-community/x86_64
Nome-Repo : MySQL Connectors Community
Revisione-Repo: 1443201848
Repo-updated : Fri Sep 25 19:24:08 2015
Repo-pkgs : 17
Dim.-Repo : 12 M
Repo-baseurl : http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/mysql-community.repo

Id-Repo : mysql-tools-community/x86_64
Nome-Repo : MySQL Tools Community
Revisione-Repo: 1450164890
Repo-updated : Tue Dec 15 08:34:55 2015
Repo-pkgs : 29
Dim.-Repo : 614 M
Repo-baseurl : http://repo.mysql.com/yum/mysql-tools-community/el/7/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/mysql-community.repo

Id-Repo : mysql56-community/x86_64
Nome-Repo : MySQL 5.6 Community Server
Revisione-Repo: 1449501810
Repo-updated : Mon Dec 7 16:24:15 2015
Repo-pkgs : 199
Dim.-Repo : 4.2 G
Repo-baseurl : http://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/mysql-community.repo

Id-Repo : nginx/x86_64
Nome-Repo : nginx repo
Revisione-Repo: 1442824580
Repo-updated : Mon Sep 21 10:36:21 2015
Repo-pkgs : 11
Dim.-Repo : 3.2 M
Repo-baseurl : http://nginx.org/packages/centos/7/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/nginx.repo

Id-Repo : opennebula
Nome-Repo : opennebula
Revisione-Repo: 1448485370
Repo-updated : Wed Nov 25 22:02:52 2015
Repo-pkgs : 50
Dim.-Repo : 66 M
Repo-baseurl : http://downloads.opennebula.org/repo/4.14/CentOS/6/x86_64/
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/opennebula.repo

Id-Repo : updates/7/x86_64
Nome-Repo : CentOS-7 - Updates
Revisione-Repo: 1450295334
Repo-updated : Wed Dec 16 20:49:31 2015
Repo-pkgs : 369
Dim.-Repo : 1.2 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock
Repo-baseurl : http://mirror0.babylon.network/centos/7/updates/x86_64/ (9 more)
Repo-expire : 21600 secondi (ultimo: Mon Dec 21 09:29:43 2015)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
**

Hi, again.
While you are using CentOS 7, your repo baseurl for OpenNebula is:

Could you change that to: http://downloads.opennebula.org/repo/4.14/CentOS/7/x86_64/ and try again? Maybe that typo was the culprit of your packages couldn’t be found.

Use 7 in the url, the markdown added asterisksto my answer sorry :smiley:

Thanks! My mistake!!
I dont see it…

Now everythings run fine.

Cool!
Glad you got it, enjoy your new OpenNebula 4.14

My system is Centos6.4_64 opennebula 4.12.0 upgrade 4.14 error and you are the same