nebula

[root@localhost yum.repos.d]# yum install opennebula-server opennebula-sunstone opennebula-gate opennebula-flow
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package opennebula-flow.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
--> Processing Dependency: opennebula-common = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
---> Package opennebula-gate.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-server.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula = 5.0.2 for package: opennebula-server-5.0.2-2.x86_64
---> Package opennebula-sunstone.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: numpy for package: opennebula-sunstone-5.0.2-2.x86_64
--> Running transaction check
---> Package numpy.x86_64 1:1.7.1-13.el7 will be installed
--> Processing Dependency: python-nose for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libtatlas.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libquadmath.so.0()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: liblapack.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
---> Package opennebula.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-common.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: rubygem-nokogiri for package: opennebula-ruby-5.0.2-2.x86_64
--> Running transaction check
---> Package atlas.x86_64 0:3.10.1-12.el7 will be installed
---> Package lapack.x86_64 0:3.4.2-8.el7 will be installed
--> Processing Dependency: libblas.so.3()(64bit) for package: lapack-3.4.2-8.el7.x86_64
---> Package libgfortran.x86_64 0:4.8.5-39.el7 will be installed
---> Package libquadmath.x86_64 0:4.8.5-39.el7 will be installed
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: rubygem-nokogiri for package: opennebula-ruby-5.0.2-2.x86_64
---> Package python-nose.noarch 0:1.3.7-1.el7 will be installed
--> Running transaction check
---> Package blas.x86_64 0:3.4.2-8.el7 will be installed
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: rubygem-nokogiri for package: opennebula-ruby-5.0.2-2.x86_64
--> Finished Dependency Resolution
Error: Package: opennebula-ruby-5.0.2-2.x86_64 (opennebula)
           Requires: rubygem-nokogiri
 You could try using --skip-broken to work around the problem
^C[root@localhost yum.repos.d]# gem install rubygem-nokogiri
ERROR:  Could not find a valid gem 'rubygem-nokogiri' (>= 0) in any repository
^CERROR:  Interrupted
[root@localhost yum.repos.d]# yum install http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/r/rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm                                                                                      | 351 kB  00:00:01   
Examining /var/tmp/yum-root-1Bnixr/rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm: rubygem-nokogiri-1.6.1-1.el7.1.x86_64
Marking /var/tmp/yum-root-1Bnixr/rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                          Arch                   Version                         Repository                                              Size
======================================================================================================================================================
Installing:
 rubygem-nokogiri                 x86_64                 1.6.1-1.el7.1                   /rubygem-nokogiri-1.6.1-1.el7.1.x86_64                 629 k

Transaction Summary
======================================================================================================================================================
Install  1 Package

Total size: 629 k
Installed size: 629 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                              1/1
  Verifying  : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                              1/1

Installed:
  rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1                                                                                                           

Complete!
[root@localhost yum.repos.d]# yum install opennebula-server opennebula-sunstone opennebula-gate opennebula-flow
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package opennebula-flow.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
--> Processing Dependency: opennebula-common = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
---> Package opennebula-gate.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-server.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula = 5.0.2 for package: opennebula-server-5.0.2-2.x86_64
---> Package opennebula-sunstone.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: numpy for package: opennebula-sunstone-5.0.2-2.x86_64
--> Running transaction check
---> Package numpy.x86_64 1:1.7.1-13.el7 will be installed
--> Processing Dependency: python-nose for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libtatlas.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libquadmath.so.0()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: liblapack.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
---> Package opennebula.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-common.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be installed
--> Running transaction check
---> Package atlas.x86_64 0:3.10.1-12.el7 will be installed
---> Package lapack.x86_64 0:3.4.2-8.el7 will be installed
--> Processing Dependency: libblas.so.3()(64bit) for package: lapack-3.4.2-8.el7.x86_64
---> Package libgfortran.x86_64 0:4.8.5-39.el7 will be installed
---> Package libquadmath.x86_64 0:4.8.5-39.el7 will be installed
---> Package python-nose.noarch 0:1.3.7-1.el7 will be installed
--> Running transaction check
---> Package blas.x86_64 0:3.4.2-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                   Arch                         Version                                Repository                        Size
======================================================================================================================================================
Installing:
 opennebula-flow                           x86_64                       5.0.2-2                                opennebula                        34 k
 opennebula-gate                           x86_64                       5.0.2-2                                opennebula                        14 k
 opennebula-server                         x86_64                       5.0.2-2                                opennebula                       1.4 M
 opennebula-sunstone                       x86_64                       5.0.2-2                                opennebula                       8.4 M
Installing for dependencies:
 atlas                                     x86_64                       3.10.1-12.el7                          base                             4.5 M
 blas                                      x86_64                       3.4.2-8.el7                            base                             399 k
 lapack                                    x86_64                       3.4.2-8.el7                            base                             5.4 M
 libgfortran                               x86_64                       4.8.5-39.el7                           base                             300 k
 libquadmath                               x86_64                       4.8.5-39.el7                           base                             190 k
 numpy                                     x86_64                       1:1.7.1-13.el7                         base                             2.8 M
 opennebula                                x86_64                       5.0.2-2                                opennebula                        82 k
 opennebula-common                         x86_64                       5.0.2-2                                opennebula                        14 k
 opennebula-ruby                           x86_64                       5.0.2-2                                opennebula                       229 k
 python-nose                               noarch                       1.3.7-1.el7                            base                             276 k

Transaction Summary
======================================================================================================================================================
Install  4 Packages (+10 Dependent packages)

Total download size: 24 M
Installed size: 97 M
Is this ok [y/d/N]: y
Downloading packages:
(1/14): libquadmath-4.8.5-39.el7.x86_64.rpm                                                                                    | 190 kB  00:00:00   
(2/14): libgfortran-4.8.5-39.el7.x86_64.rpm                                                                                    | 300 kB  00:00:00   
(3/14): blas-3.4.2-8.el7.x86_64.rpm                                                                                            | 399 kB  00:00:01   
(4/14): numpy-1.7.1-13.el7.x86_64.rpm                                                                                          | 2.8 MB  00:00:03   
(5/14): lapack-3.4.2-8.el7.x86_64.rpm                                                                                          | 5.4 MB  00:00:04   
(6/14): atlas-3.10.1-12.el7.x86_64.rpm                                                                                         | 4.5 MB  00:00:04   
(7/14): opennebula-common-5.0.2-2.x86_64.rpm                                                                                   |  14 kB  00:00:04   
(8/14): opennebula-5.0.2-2.x86_64.rpm                                                                                          |  82 kB  00:00:04   
(9/14): opennebula-flow-5.0.2-2.x86_64.rpm                                                                                     |  34 kB  00:00:01   
(10/14): opennebula-gate-5.0.2-2.x86_64.rpm                                                                                    |  14 kB  00:00:00   
(11/14): opennebula-ruby-5.0.2-2.x86_64.rpm                                                                                    | 229 kB  00:00:02   
(12/14): python-nose-1.3.7-1.el7.noarch.rpm                                                                                    | 276 kB  00:00:00   
(13/14): opennebula-server-5.0.2-2.x86_64.rpm                                                                                  | 1.4 MB  00:00:03   
(14/14): opennebula-sunstone-5.0.2-2.x86_64.rpm                                                                                | 8.4 MB  00:00:04   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 1.8 MB/s |  24 MB  00:00:13   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
chcon: can't apply partial context to unlabeled file ‘/var/lib/one’
  Installing : opennebula-common-5.0.2-2.x86_64                                                                                                  1/14
  Installing : opennebula-ruby-5.0.2-2.x86_64                                                                                                    2/14
Please remember to execute /usr/share/one/install_gems to install all the
required gems.
  Installing : libquadmath-4.8.5-39.el7.x86_64                                                                                                   3/14
  Installing : libgfortran-4.8.5-39.el7.x86_64                                                                                                   4/14
  Installing : atlas-3.10.1-12.el7.x86_64                                                                                                        5/14
  Installing : blas-3.4.2-8.el7.x86_64                                                                                                           6/14
  Installing : lapack-3.4.2-8.el7.x86_64                                                                                                         7/14
  Installing : opennebula-5.0.2-2.x86_64                                                                                                         8/14
  Installing : python-nose-1.3.7-1.el7.noarch                                                                                                    9/14
  Installing : 1:numpy-1.7.1-13.el7.x86_64                                                                                                      10/14
  Installing : opennebula-sunstone-5.0.2-2.x86_64                                                                                               11/14
error reading information on service opennebula-sunstone: No such file or directory
  Installing : opennebula-server-5.0.2-2.x86_64                                                                                                 12/14
error reading information on service opennebula: No such file or directory
Generating public/private rsa key pair.
Created directory '/var/lib/one/.ssh'.
Your identification has been saved in /var/lib/one/.ssh/id_rsa.
Your public key has been saved in /var/lib/one/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:EL57ZOsqbf50MA8iCUbwGpjyixyrXzPTVqVwfJVBYHI oneadmin@localhost.localdomain
The key's randomart image is:
+---[RSA 2048]----+
|...   . . Eo+o   |
|.+   . o + ..    |
|= +   + o o      |
|.= . . = +       |
|... o o S        |
|..o. o * *       |
|.o. =.+ + o      |
|.  ..=o+ .       |
|...  +ooo        |
+----[SHA256]-----+
  Installing : opennebula-gate-5.0.2-2.x86_64                                                                                                   13/14
  Installing : opennebula-flow-5.0.2-2.x86_64                                                                                                   14/14
  Verifying  : opennebula-ruby-5.0.2-2.x86_64                                                                                                    1/14
  Verifying  : opennebula-server-5.0.2-2.x86_64                                                                                                  2/14
  Verifying  : 1:numpy-1.7.1-13.el7.x86_64                                                                                                       3/14
  Verifying  : opennebula-5.0.2-2.x86_64                                                                                                         4/14
  Verifying  : opennebula-gate-5.0.2-2.x86_64                                                                                                    5/14
  Verifying  : libquadmath-4.8.5-39.el7.x86_64                                                                                                   6/14
  Verifying  : lapack-3.4.2-8.el7.x86_64                                                                                                         7/14
  Verifying  : libgfortran-4.8.5-39.el7.x86_64                                                                                                   8/14
  Verifying  : opennebula-sunstone-5.0.2-2.x86_64                                                                                                9/14
  Verifying  : opennebula-flow-5.0.2-2.x86_64                                                                                                   10/14
  Verifying  : atlas-3.10.1-12.el7.x86_64                                                                                                       11/14
  Verifying  : opennebula-common-5.0.2-2.x86_64                                                                                                 12/14
  Verifying  : blas-3.4.2-8.el7.x86_64                                                                                                          13/14
  Verifying  : python-nose-1.3.7-1.el7.noarch                                                                                                   14/14

Installed:
  opennebula-flow.x86_64 0:5.0.2-2   opennebula-gate.x86_64 0:5.0.2-2   opennebula-server.x86_64 0:5.0.2-2   opennebula-sunstone.x86_64 0:5.0.2-2 

Dependency Installed:
  atlas.x86_64 0:3.10.1-12.el7          blas.x86_64 0:3.4.2-8.el7            lapack.x86_64 0:3.4.2-8.el7     libgfortran.x86_64 0:4.8.5-39.el7   
  libquadmath.x86_64 0:4.8.5-39.el7     numpy.x86_64 1:1.7.1-13.el7          opennebula.x86_64 0:5.0.2-2     opennebula-common.x86_64 0:5.0.2-2   
  opennebula-ruby.x86_64 0:5.0.2-2      python-nose.noarch 0:1.3.7-1.el7   

Complete!
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 17:56:35 IST; 2s ago
  Process: 90800 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 90795 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 90800 (code=exited, status=1/FAILURE)

Oct 01 17:56:34 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 17:56:34 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 17:56:35 localhost.localdomain ruby[90800]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 17:56:35 localhost.localdomain ruby[90800]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 17:56:35 localhost.localdomain ruby[90800]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 17:56:35 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 17:56:35 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 17:56:35 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# yum install redis
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
No package redis available.
Error: Nothing to do
[root@localhost yum.repos.d]# yum install redis
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
No package redis available.
Error: Nothing to do
[root@localhost yum.repos.d]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                 Arch                              Version                            Repository                         Size
======================================================================================================================================================
Installing:
 epel-release                            noarch                            7-11                               extras                             15 k

Transaction Summary
======================================================================================================================================================
Install  1 Package

Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm                                                                                                   |  15 kB  00:00:01   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-11.noarch                                                                                                           1/1
  Verifying  : epel-release-7-11.noarch                                                                                                           1/1

Installed:
  epel-release.noarch 0:7-11                                                                                                                         

Complete!
[root@localhost yum.repos.d]# yum install redis
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                           | 5.7 kB  00:00:00   
 * base: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
epel                                                                                                                           | 5.4 kB  00:00:00   
(1/3): epel/x86_64/group_gz                                                                                                    |  88 kB  00:00:01   
(2/3): epel/x86_64/updateinfo                                                                                                  | 1.0 MB  00:00:04   
(3/3): epel/x86_64/primary_db                                                                                                  | 6.8 MB  00:00:08   
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package redis.x86_64 0:3.2.12-2.el7 will be installed
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-3.2.12-2.el7.x86_64
--> Running transaction check
---> Package jemalloc.x86_64 0:3.6.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                             Arch                              Version                                  Repository                       Size
======================================================================================================================================================
Installing:
 redis                               x86_64                            3.2.12-2.el7                             epel                            544 k
Installing for dependencies:
 jemalloc                            x86_64                            3.6.0-1.el7                              epel                            105 k

Transaction Summary
======================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 648 k
Installed size: 1.7 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/redis-3.2.12-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY0 B  --:--:-- ETA
Public key for redis-3.2.12-2.el7.x86_64.rpm is not installed
(1/2): redis-3.2.12-2.el7.x86_64.rpm                                                                                           | 544 kB  00:00:00   
(2/2): jemalloc-3.6.0-1.el7.x86_64.rpm                                                                                         | 105 kB  00:00:02   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 245 kB/s | 648 kB  00:00:02   
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-11.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : jemalloc-3.6.0-1.el7.x86_64                                                                                                        1/2
  Installing : redis-3.2.12-2.el7.x86_64                                                                                                          2/2
  Verifying  : redis-3.2.12-2.el7.x86_64                                                                                                          1/2
  Verifying  : jemalloc-3.6.0-1.el7.x86_64                                                                                                        2/2

Installed:
  redis.x86_64 0:3.2.12-2.el7                                                                                                                       

Dependency Installed:
  jemalloc.x86_64 0:3.6.0-1.el7                                                                                                                     

Complete!
[root@localhost yum.repos.d]# yum install redis-stat
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
No package redis-stat available.
Error: Nothing to do
[root@localhost yum.repos.d]# yum install centos-release-scl
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package centos-release-scl.noarch 0:2-3.el7.centos will be installed
--> Processing Dependency: centos-release-scl-rh for package: centos-release-scl-2-3.el7.centos.noarch
--> Running transaction check
---> Package centos-release-scl-rh.noarch 0:2-3.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                      Arch                          Version                               Repository                     Size
======================================================================================================================================================
Installing:
 centos-release-scl                           noarch                        2-3.el7.centos                        extras                         12 k
Installing for dependencies:
 centos-release-scl-rh                        noarch                        2-3.el7.centos                        extras                         12 k

Transaction Summary
======================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 24 k
Installed size: 39 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): centos-release-scl-rh-2-3.el7.centos.noarch.rpm                                                                         |  12 kB  00:00:00   
(2/2): centos-release-scl-2-3.el7.centos.noarch.rpm                                                                            |  12 kB  00:00:00   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                  35 kB/s |  24 kB  00:00:00   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : centos-release-scl-rh-2-3.el7.centos.noarch                                                                                        1/2
  Installing : centos-release-scl-2-3.el7.centos.noarch                                                                                           2/2
  Verifying  : centos-release-scl-2-3.el7.centos.noarch                                                                                           1/2
  Verifying  : centos-release-scl-rh-2-3.el7.centos.noarch                                                                                        2/2

Installed:
  centos-release-scl.noarch 0:2-3.el7.centos                                                                                                         

Dependency Installed:
  centos-release-scl-rh.noarch 0:2-3.el7.centos                                                                                                     

Complete!
[root@localhost yum.repos.d]# yum install rh-ruby23
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
centos-sclo-rh                                                                                                                 | 3.0 kB  00:00:00   
centos-sclo-sclo                                                                                                               | 2.9 kB  00:00:00   
(1/2): centos-sclo-sclo/x86_64/primary_db                                                                                      | 309 kB  00:00:00   
(2/2): centos-sclo-rh/x86_64/primary_db                                                                                        | 3.9 MB  00:00:02   
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby23.x86_64 0:2.2-7.el7 will be installed
--> Processing Dependency: rh-ruby23-runtime for package: rh-ruby23-2.2-7.el7.x86_64
--> Processing Dependency: rh-ruby23-ruby for package: rh-ruby23-2.2-7.el7.x86_64
--> Running transaction check
---> Package rh-ruby23-ruby.x86_64 0:2.3.8-70.el7 will be installed
--> Processing Dependency: rh-ruby23-ruby-libs(x86-64) = 2.3.8-70.el7 for package: rh-ruby23-ruby-2.3.8-70.el7.x86_64
--> Processing Dependency: rh-ruby23-rubygem(did_you_mean) >= 1.0.0 for package: rh-ruby23-ruby-2.3.8-70.el7.x86_64
--> Processing Dependency: rh-ruby23-rubygem(bigdecimal) >= 1.2.8 for package: rh-ruby23-ruby-2.3.8-70.el7.x86_64
--> Processing Dependency: rh-ruby23-ruby(rubygems) >= 2.5.2.3 for package: rh-ruby23-ruby-2.3.8-70.el7.x86_64
--> Processing Dependency: libruby.so.2.3()(64bit) for package: rh-ruby23-ruby-2.3.8-70.el7.x86_64
---> Package rh-ruby23-runtime.x86_64 0:2.2-7.el7 will be installed
--> Running transaction check
---> Package rh-ruby23-ruby-libs.x86_64 0:2.3.8-70.el7 will be installed
---> Package rh-ruby23-rubygem-bigdecimal.x86_64 0:1.2.8-70.el7 will be installed
---> Package rh-ruby23-rubygem-did_you_mean.x86_64 0:1.0.0-70.el7 will be installed
---> Package rh-ruby23-rubygems.noarch 0:2.5.2.3-70.el7 will be installed
--> Processing Dependency: rh-ruby23-rubygem(rdoc) >= 4.2.1 for package: rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
--> Processing Dependency: rh-ruby23-rubygem(psych) >= 2.1.0.1 for package: rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
--> Processing Dependency: rh-ruby23-rubygem(io-console) >= 0.4.5 for package: rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
--> Running transaction check
---> Package rh-ruby23-rubygem-io-console.x86_64 0:0.4.5-70.el7 will be installed
---> Package rh-ruby23-rubygem-psych.x86_64 0:2.1.0.1-70.el7 will be installed
---> Package rh-ruby23-rubygem-rdoc.noarch 0:4.2.1-70.el7 will be installed
--> Processing Dependency: rh-ruby23-ruby(irb) = 2.3.8 for package: rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch
--> Processing Dependency: rh-ruby23-rubygem(json) >= 1.8.3.1 for package: rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch
--> Running transaction check
---> Package rh-ruby23-ruby-irb.noarch 0:2.3.8-70.el7 will be installed
---> Package rh-ruby23-rubygem-json.x86_64 0:1.8.3.1-70.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                          Arch                     Version                             Repository                        Size
======================================================================================================================================================
Installing:
 rh-ruby23                                        x86_64                   2.2-7.el7                           centos-sclo-rh                   2.9 k
Installing for dependencies:
 rh-ruby23-ruby                                   x86_64                   2.3.8-70.el7                        centos-sclo-rh                    74 k
 rh-ruby23-ruby-irb                               noarch                   2.3.8-70.el7                        centos-sclo-rh                    93 k
 rh-ruby23-ruby-libs                              x86_64                   2.3.8-70.el7                        centos-sclo-rh                   2.9 M
 rh-ruby23-rubygem-bigdecimal                     x86_64                   1.2.8-70.el7                        centos-sclo-rh                    86 k
 rh-ruby23-rubygem-did_you_mean                   x86_64                   1.0.0-70.el7                        centos-sclo-rh                   219 k
 rh-ruby23-rubygem-io-console                     x86_64                   0.4.5-70.el7                        centos-sclo-rh                    56 k
 rh-ruby23-rubygem-json                           x86_64                   1.8.3.1-70.el7                      centos-sclo-rh                    81 k
 rh-ruby23-rubygem-psych                          x86_64                   2.1.0.1-70.el7                      centos-sclo-rh                    86 k
 rh-ruby23-rubygem-rdoc                           noarch                   4.2.1-70.el7                        centos-sclo-rh                   483 k
 rh-ruby23-rubygems                               noarch                   2.5.2.3-70.el7                      centos-sclo-rh                   285 k
 rh-ruby23-runtime                                x86_64                   2.2-7.el7                           centos-sclo-rh                    25 k

Transaction Summary
======================================================================================================================================================
Install  1 Package (+11 Dependent packages)

Total download size: 4.3 M
Installed size: 14 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/centos-sclo-rh/packages/rh-ruby23-2.2-7.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f2ee9d55: NOKEY-:-- ETA
Public key for rh-ruby23-2.2-7.el7.x86_64.rpm is not installed
(1/12): rh-ruby23-2.2-7.el7.x86_64.rpm                                                                                         | 2.9 kB  00:00:02   
(2/12): rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64.rpm                                                                 | 219 kB  00:00:00   
(3/12): rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64.rpm                                                                   |  86 kB  00:00:02   
(4/12): rh-ruby23-ruby-irb-2.3.8-70.el7.noarch.rpm                                                                             |  93 kB  00:00:03   
(5/12): rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64.rpm                                                                   |  56 kB  00:00:00   
(6/12): rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch.rpm                                                                         | 483 kB  00:00:00   
(7/12): rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64.rpm                                                                      |  86 kB  00:00:00   
(8/12): rh-ruby23-rubygems-2.5.2.3-70.el7.noarch.rpm                                                                           | 285 kB  00:00:00   
(9/12): rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64.rpm                                                                       |  81 kB  00:00:00   
(10/12): rh-ruby23-runtime-2.2-7.el7.x86_64.rpm                                                                                |  25 kB  00:00:00   
(11/12): rh-ruby23-ruby-2.3.8-70.el7.x86_64.rpm                                                                                |  74 kB  00:00:04   
(12/12): rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64.rpm                                                                           | 2.9 MB  00:00:10   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 395 kB/s | 4.3 MB  00:00:11   
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
Importing GPG key 0xF2EE9D55:
 Userid     : "CentOS SoftwareCollections SIG (https://wiki.centos.org/SpecialInterestGroup/SCLo) <security@centos.org>"
 Fingerprint: c4db d535 b1fb ba14 f8ba 64a8 4eb8 4e71 f2ee 9d55
 Package    : centos-release-scl-rh-2-3.el7.centos.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rh-ruby23-runtime-2.2-7.el7.x86_64                                                                                                1/12
  Installing : rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64                                                                                           2/12
  Installing : rh-ruby23-ruby-irb-2.3.8-70.el7.noarch                                                                                            3/12
  Installing : rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64                                                                                4/12
  Installing : rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64                                                                                      5/12
  Installing : rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64                                                                                  6/12
  Installing : rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64                                                                                     7/12
  Installing : rh-ruby23-rubygems-2.5.2.3-70.el7.noarch                                                                                          8/12
  Installing : rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64                                                                                  9/12
  Installing : rh-ruby23-ruby-2.3.8-70.el7.x86_64                                                                                               10/12
  Installing : rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch                                                                                       11/12
  Installing : rh-ruby23-2.2-7.el7.x86_64                                                                                                       12/12
  Verifying  : rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64                                                                                  1/12
  Verifying  : rh-ruby23-ruby-2.3.8-70.el7.x86_64                                                                                                2/12
  Verifying  : rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64                                                                                           3/12
  Verifying  : rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64                                                                                4/12
  Verifying  : rh-ruby23-2.2-7.el7.x86_64                                                                                                        5/12
  Verifying  : rh-ruby23-ruby-irb-2.3.8-70.el7.noarch                                                                                            6/12
  Verifying  : rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64                                                                                      7/12
  Verifying  : rh-ruby23-rubygems-2.5.2.3-70.el7.noarch                                                                                          8/12
  Verifying  : rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64                                                                                  9/12
  Verifying  : rh-ruby23-runtime-2.2-7.el7.x86_64                                                                                               10/12
  Verifying  : rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64                                                                                    11/12
  Verifying  : rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch                                                                                       12/12

Installed:
  rh-ruby23.x86_64 0:2.2-7.el7                                                                                                                       

Dependency Installed:
  rh-ruby23-ruby.x86_64 0:2.3.8-70.el7                                       rh-ruby23-ruby-irb.noarch 0:2.3.8-70.el7                               
  rh-ruby23-ruby-libs.x86_64 0:2.3.8-70.el7                                  rh-ruby23-rubygem-bigdecimal.x86_64 0:1.2.8-70.el7                     
  rh-ruby23-rubygem-did_you_mean.x86_64 0:1.0.0-70.el7                       rh-ruby23-rubygem-io-console.x86_64 0:0.4.5-70.el7                     
  rh-ruby23-rubygem-json.x86_64 0:1.8.3.1-70.el7                             rh-ruby23-rubygem-psych.x86_64 0:2.1.0.1-70.el7                       
  rh-ruby23-rubygem-rdoc.noarch 0:4.2.1-70.el7                               rh-ruby23-rubygems.noarch 0:2.5.2.3-70.el7                             
  rh-ruby23-runtime.x86_64 0:2.2-7.el7                                     

Complete!
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 17:56:35 IST; 7min ago
 Main PID: 90800 (code=exited, status=1/FAILURE)

Oct 01 17:56:34 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 17:56:34 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 17:56:35 localhost.localdomain ruby[90800]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 17:56:35 localhost.localdomain ruby[90800]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 17:56:35 localhost.localdomain ruby[90800]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 17:56:35 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 17:56:35 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 17:56:35 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:03:46 IST; 2s ago
  Process: 91486 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 91484 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 91486 (code=exited, status=1/FAILURE)

Oct 01 18:03:46 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:03:46 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:03:46 localhost.localdomain ruby[91486]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:03:46 localhost.localdomain ruby[91486]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:03:46 localhost.localdomain ruby[91486]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:03:46 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:03:46 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:03:46 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# yum install rh-ruby26
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: ftp.jaist.ac.jp
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby26.x86_64 0:2.6-1.el7 will be installed
--> Processing Dependency: rh-ruby26-runtime for package: rh-ruby26-2.6-1.el7.x86_64
--> Processing Dependency: rh-ruby26-ruby for package: rh-ruby26-2.6-1.el7.x86_64
--> Running transaction check
---> Package rh-ruby26-ruby.x86_64 0:2.6.2-118.el7 will be installed
--> Processing Dependency: rh-ruby26-ruby-libs(x86-64) = 2.6.2-118.el7 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(rdoc) >= 6.1.0 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(psych) >= 3.1.0 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(openssl) >= 2.1.2 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(json) >= 2.1.0 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(io-console) >= 0.4.7 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(did_you_mean) >= 1.3.0 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-rubygem(bigdecimal) >= 1.4.1 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: rh-ruby26-ruby(rubygems) >= 3.0.3 for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
--> Processing Dependency: libruby.so.2.6()(64bit) for package: rh-ruby26-ruby-2.6.2-118.el7.x86_64
---> Package rh-ruby26-runtime.x86_64 0:2.6-1.el7 will be installed
--> Running transaction check
---> Package rh-ruby26-ruby-libs.x86_64 0:2.6.2-118.el7 will be installed
---> Package rh-ruby26-rubygem-bigdecimal.x86_64 0:1.4.1-118.el7 will be installed
---> Package rh-ruby26-rubygem-did_you_mean.noarch 0:1.3.0-118.el7 will be installed
---> Package rh-ruby26-rubygem-io-console.x86_64 0:0.4.7-118.el7 will be installed
---> Package rh-ruby26-rubygem-json.x86_64 0:2.1.0-118.el7 will be installed
---> Package rh-ruby26-rubygem-openssl.x86_64 0:2.1.2-118.el7 will be installed
---> Package rh-ruby26-rubygem-psych.x86_64 0:3.1.0-118.el7 will be installed
---> Package rh-ruby26-rubygem-rdoc.noarch 0:6.1.0-118.el7 will be installed
--> Processing Dependency: rh-ruby26-rubygem(irb) = 1.0.0 for package: rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
---> Package rh-ruby26-rubygems.noarch 0:3.0.3-118.el7 will be installed
--> Running transaction check
---> Package rh-ruby26-rubygem-irb.noarch 0:1.0.0-118.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                           Arch                      Version                          Repository                         Size
======================================================================================================================================================
Installing:
 rh-ruby26                                         x86_64                    2.6-1.el7                        centos-sclo-rh                    2.5 k
Installing for dependencies:
 rh-ruby26-ruby                                    x86_64                    2.6.2-118.el7                    centos-sclo-rh                     78 k
 rh-ruby26-ruby-libs                               x86_64                    2.6.2-118.el7                    centos-sclo-rh                    2.9 M
 rh-ruby26-rubygem-bigdecimal                      x86_64                    1.4.1-118.el7                    centos-sclo-rh                     91 k
 rh-ruby26-rubygem-did_you_mean                    noarch                    1.3.0-118.el7                    centos-sclo-rh                     76 k
 rh-ruby26-rubygem-io-console                      x86_64                    0.4.7-118.el7                    centos-sclo-rh                     58 k
 rh-ruby26-rubygem-irb                             noarch                    1.0.0-118.el7                    centos-sclo-rh                     98 k
 rh-ruby26-rubygem-json                            x86_64                    2.1.0-118.el7                    centos-sclo-rh                     82 k
 rh-ruby26-rubygem-openssl                         x86_64                    2.1.2-118.el7                    centos-sclo-rh                    178 k
 rh-ruby26-rubygem-psych                           x86_64                    3.1.0-118.el7                    centos-sclo-rh                     87 k
 rh-ruby26-rubygem-rdoc                            noarch                    6.1.0-118.el7                    centos-sclo-rh                    481 k
 rh-ruby26-rubygems                                noarch                    3.0.3-118.el7                    centos-sclo-rh                    310 k
 rh-ruby26-runtime                                 x86_64                    2.6-1.el7                        centos-sclo-rh                     25 k

Transaction Summary
======================================================================================================================================================
Install  1 Package (+12 Dependent packages)

Total download size: 4.5 M
Installed size: 14 M
Is this ok [y/d/N]: y
Downloading packages:
(1/13): rh-ruby26-2.6-1.el7.x86_64.rpm                                                                                         | 2.5 kB  00:00:00   
(2/13): rh-ruby26-ruby-2.6.2-118.el7.x86_64.rpm                                                                                |  78 kB  00:00:00   
(3/13): rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch.rpm                                                                |  76 kB  00:00:00   
(4/13): rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64.rpm                                                                  |  91 kB  00:00:00   
(5/13): rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64.rpm                                                                  |  58 kB  00:00:00   
(6/13): rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch.rpm                                                                         |  98 kB  00:00:00   
(7/13): rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64.rpm                                                                        |  82 kB  00:00:00   
(8/13): rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64.rpm                                                                     | 178 kB  00:00:00   
(9/13): rh-ruby26-runtime-2.6-1.el7.x86_64.rpm                                                                                 |  25 kB  00:00:00   
(10/13): rh-ruby26-rubygems-3.0.3-118.el7.noarch.rpm                                                                           | 310 kB  00:00:00   
(11/13): rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch.rpm                                                                       | 481 kB  00:00:00   
(12/13): rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64.rpm                                                                          | 2.9 MB  00:00:02   
(13/13): rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64.rpm                                                                      |  87 kB  00:00:01   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 1.8 MB/s | 4.5 MB  00:00:02   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rh-ruby26-runtime-2.6-1.el7.x86_64                                                                                                1/13
  Installing : rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64                                                                                          2/13
  Installing : rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64                                                                                       3/13
  Installing : rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64                                                                                 4/13
  Installing : rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64                                                                                      5/13
  Installing : rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch                                                                               6/13
  Installing : rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch                                                                                       7/13
  Installing : rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch                                                                                        8/13
  Installing : rh-ruby26-ruby-2.6.2-118.el7.x86_64                                                                                               9/13
  Installing : rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64                                                                                   10/13
  Installing : rh-ruby26-rubygems-3.0.3-118.el7.noarch                                                                                          11/13
  Installing : rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64                                                                                12/13
  Installing : rh-ruby26-2.6-1.el7.x86_64                                                                                                       13/13
  Verifying  : rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64                                                                                 1/13
  Verifying  : rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64                                                                                       2/13
  Verifying  : rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64                                                                                 3/13
  Verifying  : rh-ruby26-runtime-2.6-1.el7.x86_64                                                                                                4/13
  Verifying  : rh-ruby26-ruby-2.6.2-118.el7.x86_64                                                                                               5/13
  Verifying  : rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch                                                                                       6/13
  Verifying  : rh-ruby26-2.6-1.el7.x86_64                                                                                                        7/13
  Verifying  : rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch                                                                                        8/13
  Verifying  : rh-ruby26-rubygems-3.0.3-118.el7.noarch                                                                                           9/13
  Verifying  : rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64                                                                                     10/13
  Verifying  : rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch                                                                              11/13
  Verifying  : rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64                                                                                   12/13
  Verifying  : rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64                                                                                         13/13

Installed:
  rh-ruby26.x86_64 0:2.6-1.el7                                                                                                                       

Dependency Installed:
  rh-ruby26-ruby.x86_64 0:2.6.2-118.el7                                    rh-ruby26-ruby-libs.x86_64 0:2.6.2-118.el7                               
  rh-ruby26-rubygem-bigdecimal.x86_64 0:1.4.1-118.el7                      rh-ruby26-rubygem-did_you_mean.noarch 0:1.3.0-118.el7                   
  rh-ruby26-rubygem-io-console.x86_64 0:0.4.7-118.el7                      rh-ruby26-rubygem-irb.noarch 0:1.0.0-118.el7                             
  rh-ruby26-rubygem-json.x86_64 0:2.1.0-118.el7                            rh-ruby26-rubygem-openssl.x86_64 0:2.1.2-118.el7                         
  rh-ruby26-rubygem-psych.x86_64 0:3.1.0-118.el7                           rh-ruby26-rubygem-rdoc.noarch 0:6.1.0-118.el7                           
  rh-ruby26-rubygems.noarch 0:3.0.3-118.el7                                rh-ruby26-runtime.x86_64 0:2.6-1.el7                                     

Complete!
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:03:46 IST; 1min 8s ago
  Process: 91486 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 91484 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 91486 (code=exited, status=1/FAILURE)

Oct 01 18:03:46 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:03:46 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:03:46 localhost.localdomain ruby[91486]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:03:46 localhost.localdomain ruby[91486]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:03:46 localhost.localdomain ruby[91486]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:03:46 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:03:46 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:03:46 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:04:59 IST; 2s ago
  Process: 91641 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 91640 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 91641 (code=exited, status=1/FAILURE)

Oct 01 18:04:59 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:04:59 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:04:59 localhost.localdomain ruby[91641]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:04:59 localhost.localdomain ruby[91641]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:04:59 localhost.localdomain ruby[91641]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:04:59 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:04:59 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:04:59 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# yum install opennebula-server opennebula-sunstone opennebula-gate opennebula-flow
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package opennebula-flow.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
---> Package opennebula-gate.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-server.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: opennebula = 5.0.2 for package: opennebula-server-5.0.2-2.x86_64
---> Package opennebula-sunstone.x86_64 0:5.0.2-2 will be installed
--> Running transaction check
---> Package opennebula.x86_64 0:5.0.2-2 will be installed
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be installed
--> Processing Dependency: rubygems for package: opennebula-ruby-5.0.2-2.x86_64
--> Processing Dependency: rubygem-nokogiri for package: opennebula-ruby-5.0.2-2.x86_64
--> Processing Dependency: rubygem-json for package: opennebula-ruby-5.0.2-2.x86_64
--> Processing Dependency: ruby for package: opennebula-ruby-5.0.2-2.x86_64
--> Running transaction check
---> Package ruby.x86_64 0:2.0.0.648-36.el7 will be installed
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.648-36.el7.x86_64
---> Package rubygem-json.x86_64 0:1.7.7-36.el7 will be installed
---> Package rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1 will be installed
---> Package rubygems.noarch 0:2.0.14.1-36.el7 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14.1-36.el7.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14.1-36.el7.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14.1-36.el7.noarch
--> Running transaction check
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-36.el7 will be installed
---> Package rubygem-io-console.x86_64 0:0.4.2-36.el7 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-36.el7 will be installed
---> Package rubygem-rdoc.noarch 0:4.0.0-36.el7 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.648 for package: rubygem-rdoc-4.0.0-36.el7.noarch
--> Running transaction check
---> Package ruby-irb.noarch 0:2.0.0.648-36.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                   Arch                         Version                                Repository                        Size
======================================================================================================================================================
Installing:
 opennebula-flow                           x86_64                       5.0.2-2                                opennebula                        34 k
 opennebula-gate                           x86_64                       5.0.2-2                                opennebula                        14 k
 opennebula-server                         x86_64                       5.0.2-2                                opennebula                       1.4 M
 opennebula-sunstone                       x86_64                       5.0.2-2                                opennebula                       8.4 M
Installing for dependencies:
 opennebula                                x86_64                       5.0.2-2                                opennebula                        82 k
 opennebula-ruby                           x86_64                       5.0.2-2                                opennebula                       229 k
 ruby                                      x86_64                       2.0.0.648-36.el7                       base                              73 k
 ruby-irb                                  noarch                       2.0.0.648-36.el7                       base                              94 k
 rubygem-bigdecimal                        x86_64                       1.2.0-36.el7                           base                              85 k
 rubygem-io-console                        x86_64                       0.4.2-36.el7                           base                              56 k
 rubygem-json                              x86_64                       1.7.7-36.el7                           base                              81 k
 rubygem-nokogiri                          x86_64                       1.6.1-1.el7.1                          epel                             351 k
 rubygem-psych                             x86_64                       2.0.0-36.el7                           base                              84 k
 rubygem-rdoc                              noarch                       4.0.0-36.el7                           base                             324 k
 rubygems                                  noarch                       2.0.14.1-36.el7                        base                             215 k

Transaction Summary
======================================================================================================================================================
Install  4 Packages (+11 Dependent packages)

Total download size: 12 M
Installed size: 53 M
Is this ok [y/d/N]: y
Downloading packages:
(1/15): opennebula-5.0.2-2.x86_64.rpm                                                                                          |  82 kB  00:00:00   
(2/15): opennebula-flow-5.0.2-2.x86_64.rpm                                                                                     |  34 kB  00:00:00   
(3/15): opennebula-gate-5.0.2-2.x86_64.rpm                                                                                     |  14 kB  00:00:00   
(4/15): opennebula-ruby-5.0.2-2.x86_64.rpm                                                                                     | 229 kB  00:00:00   
(5/15): ruby-irb-2.0.0.648-36.el7.noarch.rpm                                                                                   |  94 kB  00:00:00   
(6/15): rubygem-bigdecimal-1.2.0-36.el7.x86_64.rpm                                                                             |  85 kB  00:00:00   
(7/15): ruby-2.0.0.648-36.el7.x86_64.rpm                                                                                       |  73 kB  00:00:00   
(8/15): rubygem-io-console-0.4.2-36.el7.x86_64.rpm                                                                             |  56 kB  00:00:00   
(9/15): rubygem-json-1.7.7-36.el7.x86_64.rpm                                                                                   |  81 kB  00:00:00   
(10/15): rubygem-psych-2.0.0-36.el7.x86_64.rpm                                                                                 |  84 kB  00:00:00   
(11/15): opennebula-server-5.0.2-2.x86_64.rpm                                                                                  | 1.4 MB  00:00:01   
(12/15): rubygem-rdoc-4.0.0-36.el7.noarch.rpm                                                                                  | 324 kB  00:00:00   
(13/15): rubygems-2.0.14.1-36.el7.noarch.rpm                                                                                   | 215 kB  00:00:00   
(14/15): opennebula-sunstone-5.0.2-2.x86_64.rpm                                                                                | 8.4 MB  00:00:02   
(15/15): rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm                                                                             | 351 kB  00:00:03   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 2.1 MB/s |  12 MB  00:00:05   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rubygem-bigdecimal-1.2.0-36.el7.x86_64                                                                                            1/15
  Installing : rubygem-io-console-0.4.2-36.el7.x86_64                                                                                            2/15
  Installing : rubygem-json-1.7.7-36.el7.x86_64                                                                                                  3/15
  Installing : rubygem-psych-2.0.0-36.el7.x86_64                                                                                                 4/15
  Installing : ruby-irb-2.0.0.648-36.el7.noarch                                                                                                  5/15
  Installing : ruby-2.0.0.648-36.el7.x86_64                                                                                                      6/15
  Installing : rubygem-rdoc-4.0.0-36.el7.noarch                                                                                                  7/15
  Installing : rubygems-2.0.14.1-36.el7.noarch                                                                                                   8/15
  Installing : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                             9/15
  Installing : opennebula-ruby-5.0.2-2.x86_64                                                                                                   10/15
Please remember to execute /usr/share/one/install_gems to install all the
required gems.
  Installing : opennebula-5.0.2-2.x86_64                                                                                                        11/15
  Installing : opennebula-server-5.0.2-2.x86_64                                                                                                 12/15
error reading information on service opennebula: No such file or directory
  Installing : opennebula-gate-5.0.2-2.x86_64                                                                                                   13/15
  Installing : opennebula-sunstone-5.0.2-2.x86_64                                                                                               14/15
error reading information on service opennebula-sunstone: No such file or directory
  Installing : opennebula-flow-5.0.2-2.x86_64                                                                                                   15/15
  Verifying  : rubygems-2.0.14.1-36.el7.noarch                                                                                                   1/15
  Verifying  : opennebula-ruby-5.0.2-2.x86_64                                                                                                    2/15
  Verifying  : opennebula-server-5.0.2-2.x86_64                                                                                                  3/15
  Verifying  : opennebula-5.0.2-2.x86_64                                                                                                         4/15
  Verifying  : opennebula-gate-5.0.2-2.x86_64                                                                                                    5/15
  Verifying  : rubygem-bigdecimal-1.2.0-36.el7.x86_64                                                                                            6/15
  Verifying  : ruby-irb-2.0.0.648-36.el7.noarch                                                                                                  7/15
  Verifying  : rubygem-io-console-0.4.2-36.el7.x86_64                                                                                            8/15
  Verifying  : rubygem-json-1.7.7-36.el7.x86_64                                                                                                  9/15
  Verifying  : opennebula-sunstone-5.0.2-2.x86_64                                                                                               10/15
  Verifying  : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                            11/15
  Verifying  : opennebula-flow-5.0.2-2.x86_64                                                                                                   12/15
  Verifying  : rubygem-psych-2.0.0-36.el7.x86_64                                                                                                13/15
  Verifying  : ruby-2.0.0.648-36.el7.x86_64                                                                                                     14/15
  Verifying  : rubygem-rdoc-4.0.0-36.el7.noarch                                                                                                 15/15

Installed:
  opennebula-flow.x86_64 0:5.0.2-2   opennebula-gate.x86_64 0:5.0.2-2   opennebula-server.x86_64 0:5.0.2-2   opennebula-sunstone.x86_64 0:5.0.2-2 

Dependency Installed:
  opennebula.x86_64 0:5.0.2-2                  opennebula-ruby.x86_64 0:5.0.2-2                   ruby.x86_64 0:2.0.0.648-36.el7                   
  ruby-irb.noarch 0:2.0.0.648-36.el7           rubygem-bigdecimal.x86_64 0:1.2.0-36.el7           rubygem-io-console.x86_64 0:0.4.2-36.el7         
  rubygem-json.x86_64 0:1.7.7-36.el7           rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1            rubygem-psych.x86_64 0:2.0.0-36.el7             
  rubygem-rdoc.noarch 0:4.0.0-36.el7           rubygems.noarch 0:2.0.14.1-36.el7               

Complete!
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:04:59 IST; 7min ago
  Process: 91641 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 91640 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 91641 (code=exited, status=1/FAILURE)

Oct 01 18:04:59 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:04:59 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:04:59 localhost.localdomain ruby[91641]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:04:59 localhost.localdomain ruby[91641]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:04:59 localhost.localdomain ruby[91641]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:04:59 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:04:59 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:04:59 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:13:06 IST; 1s ago
  Process: 92434 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 92433 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 92434 (code=exited, status=1/FAILURE)

Oct 01 18:13:05 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:13:05 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:13:05 localhost.localdomain ruby[92434]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:13:05 localhost.localdomain ruby[92434]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:13:05 localhost.localdomain ruby[92434]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:13:06 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:13:06 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:13:06 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# yum install rh-ruby26-dev
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
No package rh-ruby26-dev available.
Error: Nothing to do
[root@localhost yum.repos.d]# rpm -qa | grep ruby
rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64
ruby-2.0.0.648-36.el7.x86_64
rubygem-json-1.7.7-36.el7.x86_64
rh-ruby26-ruby-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch
rubygem-nokogiri-1.6.1-1.el7.1.x86_64
rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
rubygem-io-console-0.4.2-36.el7.x86_64
opennebula-ruby-5.0.2-2.x86_64
rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64
rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64
rubygem-rdoc-4.0.0-36.el7.noarch
libselinux-ruby-2.5-14.1.el7.x86_64
rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64
rh-ruby26-2.6-1.el7.x86_64
rubygems-2.0.14.1-36.el7.noarch
ruby-devel-2.0.0.648-36.el7.x86_64
rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64
ruby-irb-2.0.0.648-36.el7.noarch
rh-ruby26-rubygems-3.0.3-118.el7.noarch
rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch
rh-ruby26-runtime-2.6-1.el7.x86_64
rubygem-psych-2.0.0-36.el7.x86_64
ruby-libs-2.0.0.648-36.el7.x86_64
ruby-augeas-0.4.1-3.el7.x86_64
rubygem-bigdecimal-1.2.0-36.el7.x86_64
rubygem-rake-0.9.6-36.el7.noarch
[root@localhost yum.repos.d]# yum install rh-ruby26-*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Package rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64 already installed and latest version
Package rh-ruby26-rubygems-3.0.3-118.el7.noarch already installed and latest version
Package rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64 already installed and latest version
Package rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64 already installed and latest version
Package rh-ruby26-2.6-1.el7.x86_64 already installed and latest version
Package rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64 already installed and latest version
Package rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch already installed and latest version
Package rh-ruby26-ruby-2.6.2-118.el7.x86_64 already installed and latest version
Package rh-ruby26-runtime-2.6-1.el7.x86_64 already installed and latest version
Package rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch already installed and latest version
Package rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch already installed and latest version
Package rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64 already installed and latest version
Package rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby26-build.x86_64 0:2.6-1.el7 will be installed
--> Processing Dependency: scl-utils-build for package: rh-ruby26-build-2.6-1.el7.x86_64
---> Package rh-ruby26-ruby-devel.x86_64 0:2.6.2-118.el7 will be installed
---> Package rh-ruby26-ruby-doc.noarch 0:2.6.2-118.el7 will be installed
---> Package rh-ruby26-rubygem-bson.x86_64 0:4.3.0-1.el7 will be installed
---> Package rh-ruby26-rubygem-bson-doc.noarch 0:4.3.0-1.el7 will be installed
---> Package rh-ruby26-rubygem-bundler.noarch 0:1.17.2-118.el7 will be installed
---> Package rh-ruby26-rubygem-bundler-doc.noarch 0:1.16.1-1.el7 will be installed
--> Processing Dependency: rh-ruby26-rubygem-bundler = 1.16.1-1.el7 for package: rh-ruby26-rubygem-bundler-doc-1.16.1-1.el7.noarch
---> Package rh-ruby26-rubygem-minitest.noarch 0:5.11.3-118.el7 will be installed
---> Package rh-ruby26-rubygem-mongo.noarch 0:2.6.2-1.el7 will be installed
---> Package rh-ruby26-rubygem-mongo-doc.noarch 0:2.6.2-1.el7 will be installed
---> Package rh-ruby26-rubygem-mysql2.x86_64 0:0.5.2-1.el7 will be installed
---> Package rh-ruby26-rubygem-mysql2-doc.noarch 0:0.5.2-1.el7 will be installed
---> Package rh-ruby26-rubygem-net-telnet.noarch 0:0.2.0-118.el7 will be installed
---> Package rh-ruby26-rubygem-pg.x86_64 0:1.1.4-1.el7 will be installed
---> Package rh-ruby26-rubygem-pg-doc.noarch 0:1.1.4-1.el7 will be installed
---> Package rh-ruby26-rubygem-power_assert.noarch 0:1.1.3-118.el7 will be installed
---> Package rh-ruby26-rubygem-rake.noarch 0:12.3.2-118.el7 will be installed
---> Package rh-ruby26-rubygem-test-unit.noarch 0:3.2.9-118.el7 will be installed
---> Package rh-ruby26-rubygem-xmlrpc.noarch 0:0.3.0-118.el7 will be installed
---> Package rh-ruby26-rubygems-devel.noarch 0:3.0.3-118.el7 will be installed
---> Package rh-ruby26-scldevel.x86_64 0:2.6-1.el7 will be installed
--> Running transaction check
---> Package rh-ruby26-rubygem-bundler-doc.noarch 0:1.16.1-1.el7 will be installed
--> Processing Dependency: rh-ruby26-rubygem-bundler = 1.16.1-1.el7 for package: rh-ruby26-rubygem-bundler-doc-1.16.1-1.el7.noarch
---> Package scl-utils-build.x86_64 0:20130529-19.el7 will be installed
--> Processing Dependency: redhat-rpm-config for package: scl-utils-build-20130529-19.el7.x86_64
--> Running transaction check
---> Package redhat-rpm-config.noarch 0:9.1.0-88.el7.centos will be installed
--> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch
--> Processing Dependency: python-srpm-macros for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch
--> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch
---> Package rh-ruby26-rubygem-bundler-doc.noarch 0:1.16.1-1.el7 will be installed
--> Processing Dependency: rh-ruby26-rubygem-bundler = 1.16.1-1.el7 for package: rh-ruby26-rubygem-bundler-doc-1.16.1-1.el7.noarch
--> Running transaction check
---> Package dwz.x86_64 0:0.11-3.el7 will be installed
---> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed
---> Package python-srpm-macros.noarch 0:3-32.el7 will be installed
---> Package rh-ruby26-rubygem-bundler-doc.noarch 0:1.16.1-1.el7 will be installed
--> Processing Dependency: rh-ruby26-rubygem-bundler = 1.16.1-1.el7 for package: rh-ruby26-rubygem-bundler-doc-1.16.1-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: rh-ruby26-rubygem-bundler-doc-1.16.1-1.el7.noarch (centos-sclo-rh)
           Requires: rh-ruby26-rubygem-bundler = 1.16.1-1.el7
           Available: rh-ruby26-rubygem-bundler-1.16.1-1.el7.noarch (centos-sclo-rh)
               rh-ruby26-rubygem-bundler = 1.16.1-1.el7
           Installing: rh-ruby26-rubygem-bundler-1.17.2-118.el7.noarch (centos-sclo-rh)
               rh-ruby26-rubygem-bundler = 1.17.2-118.el7
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
1:mariadb-libs-5.5.64-1.el7.x86_64 is a duplicate with 1:mariadb-libs-5.5.56-2.el7.x86_64
[root@localhost yum.repos.d]#  yum install rh-ruby26-ruby-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby26-ruby-devel.x86_64 0:2.6.2-118.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                   Arch                        Version                              Repository                           Size
======================================================================================================================================================
Installing:
 rh-ruby26-ruby-devel                      x86_64                      2.6.2-118.el7                        centos-sclo-rh                      231 k

Transaction Summary
======================================================================================================================================================
Install  1 Package

Total download size: 231 k
Installed size: 1.1 M
Is this ok [y/d/N]: y
Downloading packages:
rh-ruby26-ruby-devel-2.6.2-118.el7.x86_64.rpm                                                                                  | 231 kB  00:00:00   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rh-ruby26-ruby-devel-2.6.2-118.el7.x86_64                                                                                          1/1
  Verifying  : rh-ruby26-ruby-devel-2.6.2-118.el7.x86_64                                                                                          1/1

Installed:
  rh-ruby26-ruby-devel.x86_64 0:2.6.2-118.el7                                                                                                       

Complete!
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:13:06 IST; 24min ago
  Process: 92434 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 92433 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 92434 (code=exited, status=1/FAILURE)

Oct 01 18:13:05 localhost.localdomain systemd[1]: Starting OpenNebula Web UI Server...
Oct 01 18:13:05 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 18:13:05 localhost.localdomain ruby[92434]: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such...dError)
Oct 01 18:13:05 localhost.localdomain ruby[92434]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:13:05 localhost.localdomain ruby[92434]: from /usr/lib/one/sunstone/sunstone-server.rb:88:in `<main>'
Oct 01 18:13:06 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:13:06 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:13:06 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:37:22 IST; 1s ago
  Process: 93647 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 93646 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 93647 (code=exited, status=255)

Oct 01 18:37:22 localhost.localdomain ruby[93647]: :vnc_request_password=>false,
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :lang=>"en_US",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :table_order=>"desc",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:37:22 localhost.localdomain ruby[93647]: --------------------------------------
Oct 01 18:37:22 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:37:22 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:37:22 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# history | grep firewall
   67  firewall-cmd --permanent --add-port=161/udp
   68  firewall-cmd --reload
   75  service firewalld stop
   76  chkconfig firewalld off
   88  firewall-cmd --permanent --add-port=161/tcp
   89  firewall-cmd --reload
   91  service firewalld status
  131  firewall-cmd
  132  firewall-cmd  --lists
  133  firewall-cmd  --help
  134  firewall-cmd  --port-lists
  135  firewall-cmd  --port--lists
  136  firewall-cmd  --port--list
  137  firewall-cmd  --port-list
  138  firewall-cmd  --open-ports
  139   firewall-cmd --list-ports
  140  service firewalld start
  141   firewall-cmd --list-ports
  144  service firewalld stop
  151  firewall-cmd --permanent --add-port=10051/tcp
  152  service firewalld start
  153  firewall-cmd --permanent --add-port=10051/tcp
  154  firewall-cmd --permanent --add-port=10051/udp
  155  firewall-cmd --permanent --add-port=10050/udp
  156  firewall-cmd --permanent --add-port=10050/tcp
  157  firewall-cmd --permanent --add-port=80/tcp
  158  firewall-cmd --permanent --add-port=443/tcp
  159  firewall-cmd --permanent --add-port=443/udp
  160  firewall-cmd --permanent --add-port=80/udp
  161  firewall-cmd --reload
  224  service firewalld status
  225  service firewalld stop
  279  firewall-cmd --add-port=8140/tcp --permanent
  280  firewall-cmd --reload
  572  history | grep firewall
[root@localhost yum.repos.d]#  yum install rh-ruby22-ruby-devel^C
[root@localhost yum.repos.d]# firewall-cmd --permanent --add-port=2474/tcp
success
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:37:22 IST; 1min 12s ago
  Process: 93647 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 93646 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 93647 (code=exited, status=255)

Oct 01 18:37:22 localhost.localdomain ruby[93647]: :vnc_request_password=>false,
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :lang=>"en_US",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :table_order=>"desc",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:37:22 localhost.localdomain ruby[93647]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:37:22 localhost.localdomain ruby[93647]: --------------------------------------
Oct 01 18:37:22 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:37:22 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:37:22 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:38:41 IST; 1s ago
  Process: 93845 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 93844 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 93845 (code=exited, status=255)

Oct 01 18:38:41 localhost.localdomain ruby[93845]: :memcache_namespace=>"opennebula.sunstone",
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :env=>"prod",
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :debug_level=>3,
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :auth=>"opennebula",
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :core_auth=>"cipher",
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :remote_version=>"http://downloads.opennebula.org/latest",
Oct 01 18:38:41 localhost.localdomain ruby[93845]: :vnc_proxy_port=>29876,
Oct 01 18:38:41 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:38:41 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:38:41 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# firewall-cmd --permanent --add-port=29876/tcp
success
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]# service opennebula-sunstone start
Redirecting to /bin/systemctl start opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:39:07 IST; 2s ago
  Process: 93993 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 93992 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 93993 (code=exited, status=255)

Oct 01 18:39:07 localhost.localdomain ruby[93993]: :vnc_request_password=>false,
Oct 01 18:39:07 localhost.localdomain ruby[93993]: :lang=>"en_US",
Oct 01 18:39:07 localhost.localdomain ruby[93993]: :table_order=>"desc",
Oct 01 18:39:07 localhost.localdomain ruby[93993]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:39:07 localhost.localdomain ruby[93993]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:39:07 localhost.localdomain ruby[93993]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:39:07 localhost.localdomain ruby[93993]: --------------------------------------
Oct 01 18:39:07 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:39:07 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:39:07 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# service opennebula-sunstone restart
Redirecting to /bin/systemctl restart opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:39:33 IST; 1s ago
  Process: 94037 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 94036 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 94037 (code=exited, status=255)

Oct 01 18:39:33 localhost.localdomain ruby[94037]: :vnc_request_password=>false,
Oct 01 18:39:33 localhost.localdomain ruby[94037]: :lang=>"en_US",
Oct 01 18:39:33 localhost.localdomain ruby[94037]: :table_order=>"desc",
Oct 01 18:39:33 localhost.localdomain ruby[94037]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:39:33 localhost.localdomain ruby[94037]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:39:33 localhost.localdomain ruby[94037]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:39:33 localhost.localdomain ruby[94037]: --------------------------------------
Oct 01 18:39:33 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:39:33 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:39:33 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# firewall-cmd --permanent --add-port=2474/udp
success
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]# service opennebula-sunstone restart
Redirecting to /bin/systemctl restart opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:42:23 IST; 1s ago
  Process: 94871 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 94870 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 94871 (code=exited, status=255)

Oct 01 18:42:23 localhost.localdomain ruby[94871]: :vnc_request_password=>false,
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :lang=>"en_US",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :table_order=>"desc",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:42:23 localhost.localdomain ruby[94871]: --------------------------------------
Oct 01 18:42:23 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:42:23 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:42:23 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# service opennebula status
Redirecting to /bin/systemctl status opennebula.service
● opennebula.service - OpenNebula Cloud Controller Daemon
   Loaded: loaded (/usr/lib/systemd/system/opennebula.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@localhost yum.repos.d]# service opennebula start
Redirecting to /bin/systemctl start opennebula.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:42:23 IST; 46s ago
  Process: 94871 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=255)
  Process: 94870 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 94871 (code=exited, status=255)

Oct 01 18:42:23 localhost.localdomain ruby[94871]: :vnc_request_password=>false,
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :lang=>"en_US",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :table_order=>"desc",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :marketplace_url=>"http://marketplace.opennebula.systems/",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :oneflow_server=>"http://localhost:2474/",
Oct 01 18:42:23 localhost.localdomain ruby[94871]: :routes=>["oneflow", "vcenter", "support"]}
Oct 01 18:42:23 localhost.localdomain ruby[94871]: --------------------------------------
Oct 01 18:42:23 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=255/n/a
Oct 01 18:42:23 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:42:23 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]# service opennebula-sunstone restart
Redirecting to /bin/systemctl restart opennebula-sunstone.service
[root@localhost yum.repos.d]# service opennebula-sunstone status
Redirecting to /bin/systemctl status opennebula-sunstone.service
● opennebula-sunstone.service - OpenNebula Web UI Server
   Loaded: loaded (/usr/lib/systemd/system/opennebula-sunstone.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 18:43:15 IST; 1s ago
  Process: 95192 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
  Process: 95191 ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula (code=exited, status=0/SUCCESS)
 Main PID: 95192 (code=exited, status=1/FAILURE)

Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/lib/one/sunstone/routes/vcenter.rb:26:in `<top (required)>'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/lib/one/sunstone/sunstone-server.rb:418:in `block in <main>'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/lib/one/sunstone/sunstone-server.rb:417:in `each'
Oct 01 18:43:15 localhost.localdomain ruby[95192]: from /usr/lib/one/sunstone/sunstone-server.rb:417:in `<main>'
Oct 01 18:43:15 localhost.localdomain systemd[1]: opennebula-sunstone.service: main process exited, code=exited, status=1/FAILURE
Oct 01 18:43:15 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service entered failed state.
Oct 01 18:43:15 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
[root@localhost yum.repos.d]#
[root@localhost manifests]# /usr/share/one/install_gems
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.

0. Ubuntu/Debian
1. CentOS/RedHat/Scientific

1
Distribution "redhat" detected.
About to install these dependencies:
* gcc-c++
* gcc
* sqlite-devel
* curl-devel
* mysql-devel
* openssl-devel
* ruby-devel
* make

Press enter to continue...

yum install gcc-c++ gcc sqlite-devel curl-devel mysql-devel openssl-devel ruby-devel make
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
---> Package libcurl-devel.x86_64 0:7.29.0-54.el7 will be installed
---> Package mariadb-devel.x86_64 1:5.5.64-1.el7 will be installed
---> Package ruby-devel.x86_64 0:2.0.0.648-36.el7 will be installed
---> Package sqlite-devel.x86_64 0:3.7.17-8.el7 will be installed
--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                 Arch                           Version                                    Repository                    Size
======================================================================================================================================================
Installing:
 gcc-c++                                 x86_64                         4.8.5-39.el7                               base                         7.2 M
 libcurl-devel                           x86_64                         7.29.0-54.el7                              base                         302 k
 mariadb-devel                           x86_64                         1:5.5.64-1.el7                             base                         755 k
 ruby-devel                              x86_64                         2.0.0.648-36.el7                           base                         133 k
 sqlite-devel                            x86_64                         3.7.17-8.el7                               base                         104 k
Installing for dependencies:
 libstdc++-devel                         x86_64                         4.8.5-39.el7                               base                         1.5 M

Transaction Summary
======================================================================================================================================================
Install  5 Packages (+1 Dependent package)

Total download size: 10 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
(1/6): libcurl-devel-7.29.0-54.el7.x86_64.rpm                                                                                  | 302 kB  00:00:02   
(2/6): mariadb-devel-5.5.64-1.el7.x86_64.rpm                                                                                   | 755 kB  00:00:03   
(3/6): libstdc++-devel-4.8.5-39.el7.x86_64.rpm                                                                                 | 1.5 MB  00:00:03   
(4/6): sqlite-devel-3.7.17-8.el7.x86_64.rpm                                                                                    | 104 kB  00:00:01   
(5/6): ruby-devel-2.0.0.648-36.el7.x86_64.rpm                                                                                  | 133 kB  00:00:03   
(6/6): gcc-c++-4.8.5-39.el7.x86_64.rpm                                                                                         | 7.2 MB  00:00:06   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 1.6 MB/s |  10 MB  00:00:06   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libstdc++-devel-4.8.5-39.el7.x86_64                                                                                                1/6
  Installing : gcc-c++-4.8.5-39.el7.x86_64                                                                                                        2/6
  Installing : sqlite-devel-3.7.17-8.el7.x86_64                                                                                                   3/6
  Installing : 1:mariadb-devel-5.5.64-1.el7.x86_64                                                                                                4/6
  Installing : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                 5/6
  Installing : libcurl-devel-7.29.0-54.el7.x86_64                                                                                                 6/6
  Verifying  : libcurl-devel-7.29.0-54.el7.x86_64                                                                                                 1/6
  Verifying  : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                 2/6
  Verifying  : 1:mariadb-devel-5.5.64-1.el7.x86_64                                                                                                3/6
  Verifying  : gcc-c++-4.8.5-39.el7.x86_64                                                                                                        4/6
  Verifying  : sqlite-devel-3.7.17-8.el7.x86_64                                                                                                   5/6
  Verifying  : libstdc++-devel-4.8.5-39.el7.x86_64                                                                                                6/6

Installed:
  gcc-c++.x86_64 0:4.8.5-39.el7       libcurl-devel.x86_64 0:7.29.0-54.el7  mariadb-devel.x86_64 1:5.5.64-1.el7  ruby-devel.x86_64 0:2.0.0.648-36.el7
  sqlite-devel.x86_64 0:3.7.17-8.el7

Dependency Installed:
  libstdc++-devel.x86_64 0:4.8.5-39.el7                                                                                                             

Complete!
About to install the gems for these components:
* sunstone
* quota
* cloud
* auth_ldap
* vmware
* oneflow
* ec2_hybrid
* oca
* onedb
* market
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc rack --version "< 2.0.0"
Fetching: rack-1.6.11.gem (100%)
Successfully installed rack-1.6.11
1 gem installed
gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
Fetching: multipart-post-2.1.1.gem (100%)
Successfully installed multipart-post-2.1.1
Fetching: faraday-0.16.2.gem (100%)
ERROR:  Error installing zendesk_api:
faraday requires Ruby version >= 2.3.
Error executing gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
[root@localhost manifests]# /usr/share/one/install_gems
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.

0. Ubuntu/Debian
1. CentOS/RedHat/Scientific

1
Distribution "redhat" detected.
About to install these dependencies:
* gcc-c++
* gcc
* sqlite-devel
* curl-devel
* mysql-devel
* openssl-devel
* ruby-devel
* make

Press enter to continue...

yum install gcc-c++ gcc sqlite-devel curl-devel mysql-devel openssl-devel ruby-devel make
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package sqlite-devel-3.7.17-8.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-54.el7.x86_64 already installed and latest version
Package 1:mariadb-devel-5.5.64-1.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package ruby-devel-2.0.0.648-36.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.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
* market
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc rack --version "< 2.0.0"
Successfully installed rack-1.6.11
1 gem installed
gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
ERROR:  Error installing zendesk_api:
faraday requires Ruby version >= 2.3.
Error executing gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
[root@localhost manifests]# /usr/share/one/install_gems
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.

0. Ubuntu/Debian
1. CentOS/RedHat/Scientific

1
Distribution "redhat" detected.
About to install these dependencies:
* gcc-c++
* gcc
* sqlite-devel
* curl-devel
* mysql-devel
* openssl-devel
* ruby-devel
* make

Press enter to continue...

yum install gcc-c++ gcc sqlite-devel curl-devel mysql-devel openssl-devel ruby-devel make
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package sqlite-devel-3.7.17-8.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-54.el7.x86_64 already installed and latest version
Package 1:mariadb-devel-5.5.64-1.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package ruby-devel-2.0.0.648-36.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.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
* market
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc rack --version "< 2.0.0"
Successfully installed rack-1.6.11
1 gem installed
gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
ERROR:  Error installing zendesk_api:
faraday requires Ruby version >= 2.3.
Error executing gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
[root@localhost manifests]# ruby -v
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
[root@localhost manifests]# ruby -version
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
-e:1:in `<main>': undefined local variable or method `rsion' for main:Object (NameError)
[root@localhost manifests]# ruby use
ruby: No such file or directory -- use (LoadError)
[root@localhost manifests]# rpm -qa | grep ruby
rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64
rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64
rh-ruby23-2.2-7.el7.x86_64
ruby-shadow-2.2.0-2.el7.x86_64
opennebula-ruby-5.0.2-2.x86_64
rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64
rh-ruby26-ruby-2.6.2-118.el7.x86_64
rubygem-bigdecimal-1.2.0-36.el7.x86_64
rh-ruby23-ruby-2.3.8-70.el7.x86_64
rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch
rubygem-psych-2.0.0-36.el7.x86_64
rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
ruby-irb-2.0.0.648-36.el7.noarch
ruby-devel-2.0.0.648-36.el7.x86_64
rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64
rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64
libselinux-ruby-2.5-14.1.el7.x86_64
rubygems-2.0.14.1-36.el7.noarch
rh-ruby23-ruby-irb-2.3.8-70.el7.noarch
rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch
rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64
rh-ruby26-2.6-1.el7.x86_64
rubygem-rdoc-4.0.0-36.el7.noarch
rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64
rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64
rubygem-json-1.7.7-36.el7.x86_64
rh-ruby23-runtime-2.2-7.el7.x86_64
rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64
rh-ruby26-rubygems-3.0.3-118.el7.noarch
rubygem-io-console-0.4.2-36.el7.x86_64
rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch
ruby-2.0.0.648-36.el7.x86_64
rh-ruby26-runtime-2.6-1.el7.x86_64
ruby-libs-2.0.0.648-36.el7.x86_64
ruby-augeas-0.4.1-3.el7.x86_64
rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64
rubygem-nokogiri-1.6.1-1.el7.1.x86_64
rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64
[root@localhost manifests]# yum remove ruby
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package ruby.x86_64 0:2.0.0.648-36.el7 will be erased
--> Processing Dependency: ruby for package: 1:ruby-shadow-2.2.0-2.el7.x86_64
--> Processing Dependency: ruby for package: opennebula-ruby-5.0.2-2.x86_64
--> Processing Dependency: ruby(x86-64) = 2.0.0.648-36.el7 for package: ruby-devel-2.0.0.648-36.el7.x86_64
--> Running transaction check
---> Package opennebula-ruby.x86_64 0:5.0.2-2 will be erased
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-sunstone-5.0.2-2.x86_64
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-gate-5.0.2-2.x86_64
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-5.0.2-2.x86_64
--> Processing Dependency: opennebula-ruby = 5.0.2 for package: opennebula-flow-5.0.2-2.x86_64
---> Package ruby-devel.x86_64 0:2.0.0.648-36.el7 will be erased
---> Package ruby-shadow.x86_64 1:2.2.0-2.el7 will be erased
--> Running transaction check
---> Package opennebula.x86_64 0:5.0.2-2 will be erased
--> Processing Dependency: opennebula = 5.0.2 for package: opennebula-server-5.0.2-2.x86_64
---> Package opennebula-flow.x86_64 0:5.0.2-2 will be erased
---> Package opennebula-gate.x86_64 0:5.0.2-2 will be erased
---> Package opennebula-sunstone.x86_64 0:5.0.2-2 will be erased
--> Running transaction check
---> Package opennebula-server.x86_64 0:5.0.2-2 will be erased
--> Processing Dependency: /usr/bin/ruby for package: rubygems-2.0.14.1-36.el7.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygem-rdoc-4.0.0-36.el7.noarch
--> Processing Dependency: /usr/bin/ruby for package: ruby-irb-2.0.0.648-36.el7.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygem-nokogiri-1.6.1-1.el7.1.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package ruby-irb.noarch 0:2.0.0.648-36.el7 will be erased
---> Package rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1 will be erased
---> Package rubygem-rdoc.noarch 0:4.0.0-36.el7 will be erased
---> Package rubygems.noarch 0:2.0.14.1-36.el7 will be erased
--> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: rubygem-bigdecimal-1.2.0-36.el7.x86_64
--> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: rubygem-psych-2.0.0-36.el7.x86_64
--> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: rubygem-json-1.7.7-36.el7.x86_64
--> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: rubygem-io-console-0.4.2-36.el7.x86_64
--> Running transaction check
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-36.el7 will be erased
---> Package rubygem-io-console.x86_64 0:0.4.2-36.el7 will be erased
---> Package rubygem-json.x86_64 0:1.7.7-36.el7 will be erased
---> Package rubygem-psych.x86_64 0:2.0.0-36.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                           Arch                 Version                           Repository                                             Size
======================================================================================================================================================
Removing:
 ruby                              x86_64               2.0.0.648-36.el7                  @base                                                  63 k
Removing for dependencies:
 opennebula                        x86_64               5.0.2-2                           @opennebula                                           495 k
 opennebula-flow                   x86_64               5.0.2-2                           @opennebula                                           169 k
 opennebula-gate                   x86_64               5.0.2-2                           @opennebula                                            23 k
 opennebula-ruby                   x86_64               5.0.2-2                           @opennebula                                           1.8 M
 opennebula-server                 x86_64               5.0.2-2                           @opennebula                                           5.3 M
 opennebula-sunstone               x86_64               5.0.2-2                           @opennebula                                            42 M
 ruby-devel                        x86_64               2.0.0.648-36.el7                  @base                                                 337 k
 ruby-irb                          noarch               2.0.0.648-36.el7                  @base                                                 157 k
 ruby-shadow                       x86_64               1:2.2.0-2.el7                     @puppetlabs-deps                                       22 k
 rubygem-bigdecimal                x86_64               1.2.0-36.el7                      @base                                                  83 k
 rubygem-io-console                x86_64               0.4.2-36.el7                      @base                                                  16 k
 rubygem-json                      x86_64               1.7.7-36.el7                      @base                                                  93 k
 rubygem-nokogiri                  x86_64               1.6.1-1.el7.1                     @/rubygem-nokogiri-1.6.1-1.el7.1.x86_64               629 k
 rubygem-psych                     x86_64               2.0.0-36.el7                      @base                                                 110 k
 rubygem-rdoc                      noarch               4.0.0-36.el7                      @base                                                 1.2 M
 rubygems                          noarch               2.0.14.1-36.el7                   @base                                                 586 k

Transaction Summary
======================================================================================================================================================
Remove  1 Package (+16 Dependent packages)

Installed size: 53 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : opennebula-flow-5.0.2-2.x86_64                                                                                                    1/17
Redirecting to /bin/systemctl stop opennebula-sunstone.service
error reading information on service opennebula-sunstone: No such file or directory
Redirecting to /bin/systemctl stop opennebula-novnc.service
error reading information on service opennebula-novnc: No such file or directory
  Erasing    : opennebula-sunstone-5.0.2-2.x86_64                                                                                                2/17
  Erasing    : opennebula-gate-5.0.2-2.x86_64                                                                                                    3/17
  Erasing    : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                4/17
  Erasing    : 1:ruby-shadow-2.2.0-2.el7.x86_64                                                                                                  5/17
Redirecting to /bin/systemctl stop opennebula.service
error reading information on service opennebula: No such file or directory
  Erasing    : opennebula-server-5.0.2-2.x86_64                                                                                                  6/17
  Erasing    : opennebula-5.0.2-2.x86_64                                                                                                         7/17
  Erasing    : opennebula-ruby-5.0.2-2.x86_64                                                                                                    8/17
  Erasing    : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                             9/17
  Erasing    : rubygem-io-console-0.4.2-36.el7.x86_64                                                                                           10/17
  Erasing    : rubygem-psych-2.0.0-36.el7.x86_64                                                                                                11/17
  Erasing    : rubygem-bigdecimal-1.2.0-36.el7.x86_64                                                                                           12/17
  Erasing    : ruby-2.0.0.648-36.el7.x86_64                                                                                                     13/17
  Erasing    : ruby-irb-2.0.0.648-36.el7.noarch                                                                                                 14/17
  Erasing    : rubygem-json-1.7.7-36.el7.x86_64                                                                                                 15/17
  Erasing    : rubygem-rdoc-4.0.0-36.el7.noarch                                                                                                 16/17
  Erasing    : rubygems-2.0.14.1-36.el7.noarch                                                                                                  17/17
  Verifying  : rubygems-2.0.14.1-36.el7.noarch                                                                                                   1/17
  Verifying  : rubygem-psych-2.0.0-36.el7.x86_64                                                                                                 2/17
  Verifying  : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                3/17
  Verifying  : opennebula-ruby-5.0.2-2.x86_64                                                                                                    4/17
  Verifying  : opennebula-server-5.0.2-2.x86_64                                                                                                  5/17
  Verifying  : opennebula-gate-5.0.2-2.x86_64                                                                                                    6/17
  Verifying  : opennebula-5.0.2-2.x86_64                                                                                                         7/17
  Verifying  : 1:ruby-shadow-2.2.0-2.el7.x86_64                                                                                                  8/17
  Verifying  : rubygem-bigdecimal-1.2.0-36.el7.x86_64                                                                                            9/17
  Verifying  : rubygem-io-console-0.4.2-36.el7.x86_64                                                                                           10/17
  Verifying  : rubygem-json-1.7.7-36.el7.x86_64                                                                                                 11/17
  Verifying  : opennebula-sunstone-5.0.2-2.x86_64                                                                                               12/17
  Verifying  : ruby-irb-2.0.0.648-36.el7.noarch                                                                                                 13/17
  Verifying  : opennebula-flow-5.0.2-2.x86_64                                                                                                   14/17
  Verifying  : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                                                                                            15/17
  Verifying  : ruby-2.0.0.648-36.el7.x86_64                                                                                                     16/17
  Verifying  : rubygem-rdoc-4.0.0-36.el7.noarch                                                                                                 17/17

Removed:
  ruby.x86_64 0:2.0.0.648-36.el7                                                                                                                     

Dependency Removed:
  opennebula.x86_64 0:5.0.2-2                        opennebula-flow.x86_64 0:5.0.2-2                   opennebula-gate.x86_64 0:5.0.2-2             
  opennebula-ruby.x86_64 0:5.0.2-2                   opennebula-server.x86_64 0:5.0.2-2                 opennebula-sunstone.x86_64 0:5.0.2-2         
  ruby-devel.x86_64 0:2.0.0.648-36.el7               ruby-irb.noarch 0:2.0.0.648-36.el7                 ruby-shadow.x86_64 1:2.2.0-2.el7             
  rubygem-bigdecimal.x86_64 0:1.2.0-36.el7           rubygem-io-console.x86_64 0:0.4.2-36.el7           rubygem-json.x86_64 0:1.7.7-36.el7           
  rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1            rubygem-psych.x86_64 0:2.0.0-36.el7                rubygem-rdoc.noarch 0:4.0.0-36.el7           
  rubygems.noarch 0:2.0.14.1-36.el7               

Complete!
[root@localhost manifests]# rpm -qa | grep ruby
rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64
rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64
rh-ruby23-2.2-7.el7.x86_64
rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64
rh-ruby26-ruby-2.6.2-118.el7.x86_64
rh-ruby23-ruby-2.3.8-70.el7.x86_64
rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch
rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64
rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64
libselinux-ruby-2.5-14.1.el7.x86_64
rh-ruby23-ruby-irb-2.3.8-70.el7.noarch
rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch
rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64
rh-ruby26-2.6-1.el7.x86_64
rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64
rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64
rh-ruby23-runtime-2.2-7.el7.x86_64
rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64
rh-ruby26-rubygems-3.0.3-118.el7.noarch
rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch
rh-ruby26-runtime-2.6-1.el7.x86_64
ruby-libs-2.0.0.648-36.el7.x86_64
ruby-augeas-0.4.1-3.el7.x86_64
rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64
rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64
[root@localhost manifests]# ruby -v
bash: /usr/bin/ruby: No such file or directory
[root@localhost manifests]# yum remove ruby23
Loaded plugins: fastestmirror, langpacks
No Match for argument: ruby23
No Packages marked for removal
[root@localhost manifests]# yum remove rh-ruby23
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby23.x86_64 0:2.2-7.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                            Arch                            Version                            Repository                                Size
======================================================================================================================================================
Removing:
 rh-ruby23                          x86_64                          2.2-7.el7                          @centos-sclo-rh                          0.0 

Transaction Summary
======================================================================================================================================================
Remove  1 Package

Installed size: 0 
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : rh-ruby23-2.2-7.el7.x86_64                                                                                                         1/1
  Verifying  : rh-ruby23-2.2-7.el7.x86_64                                                                                                         1/1

Removed:
  rh-ruby23.x86_64 0:2.2-7.el7                                                                                                                       

Complete!
[root@localhost manifests]# rpm -qa | grep ruby
rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64
rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64
rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64
rh-ruby26-ruby-2.6.2-118.el7.x86_64
rh-ruby23-ruby-2.3.8-70.el7.x86_64
rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch
rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
rh-ruby23-rubygems-2.5.2.3-70.el7.noarch
rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64
rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64
libselinux-ruby-2.5-14.1.el7.x86_64
rh-ruby23-ruby-irb-2.3.8-70.el7.noarch
rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch
rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64
rh-ruby26-2.6-1.el7.x86_64
rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64
rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64
rh-ruby23-runtime-2.2-7.el7.x86_64
rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64
rh-ruby26-rubygems-3.0.3-118.el7.noarch
rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch
rh-ruby26-runtime-2.6-1.el7.x86_64
ruby-libs-2.0.0.648-36.el7.x86_64
ruby-augeas-0.4.1-3.el7.x86_64
rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64
rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64
[root@localhost manifests]# yum remove rh-ruby23*
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package rh-ruby23-ruby.x86_64 0:2.3.8-70.el7 will be erased
---> Package rh-ruby23-ruby-irb.noarch 0:2.3.8-70.el7 will be erased
---> Package rh-ruby23-ruby-libs.x86_64 0:2.3.8-70.el7 will be erased
---> Package rh-ruby23-rubygem-bigdecimal.x86_64 0:1.2.8-70.el7 will be erased
---> Package rh-ruby23-rubygem-did_you_mean.x86_64 0:1.0.0-70.el7 will be erased
---> Package rh-ruby23-rubygem-io-console.x86_64 0:0.4.5-70.el7 will be erased
---> Package rh-ruby23-rubygem-json.x86_64 0:1.8.3.1-70.el7 will be erased
---> Package rh-ruby23-rubygem-psych.x86_64 0:2.1.0.1-70.el7 will be erased
---> Package rh-ruby23-rubygem-rdoc.noarch 0:4.2.1-70.el7 will be erased
---> Package rh-ruby23-rubygems.noarch 0:2.5.2.3-70.el7 will be erased
---> Package rh-ruby23-runtime.x86_64 0:2.2-7.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                                          Arch                     Version                            Repository                         Size
======================================================================================================================================================
Removing:
 rh-ruby23-ruby                                   x86_64                   2.3.8-70.el7                       @centos-sclo-rh                    69 k
 rh-ruby23-ruby-irb                               noarch                   2.3.8-70.el7                       @centos-sclo-rh                   163 k
 rh-ruby23-ruby-libs                              x86_64                   2.3.8-70.el7                       @centos-sclo-rh                    10 M
 rh-ruby23-rubygem-bigdecimal                     x86_64                   1.2.8-70.el7                       @centos-sclo-rh                    89 k
 rh-ruby23-rubygem-did_you_mean                   x86_64                   1.0.0-70.el7                       @centos-sclo-rh                   215 k
 rh-ruby23-rubygem-io-console                     x86_64                   0.4.5-70.el7                       @centos-sclo-rh                    21 k
 rh-ruby23-rubygem-json                           x86_64                   1.8.3.1-70.el7                     @centos-sclo-rh                    94 k
 rh-ruby23-rubygem-psych                          x86_64                   2.1.0.1-70.el7                     @centos-sclo-rh                   119 k
 rh-ruby23-rubygem-rdoc                           noarch                   4.2.1-70.el7                       @centos-sclo-rh                   1.8 M
 rh-ruby23-rubygems                               noarch                   2.5.2.3-70.el7                     @centos-sclo-rh                   844 k
 rh-ruby23-runtime                                x86_64                   2.2-7.el7                          @centos-sclo-rh                    21 k

Transaction Summary
======================================================================================================================================================
Remove  11 Packages

Installed size: 14 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64                                                                                  1/11
  Erasing    : rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64                                                                                     2/11
  Erasing    : rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64                                                                                3/11
  Erasing    : rh-ruby23-ruby-2.3.8-70.el7.x86_64                                                                                                4/11
  Erasing    : rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64                                                                                  5/11
  Erasing    : rh-ruby23-ruby-irb-2.3.8-70.el7.noarch                                                                                            6/11
  Erasing    : rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64                                                                                      7/11
  Erasing    : rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch                                                                                        8/11
  Erasing    : rh-ruby23-rubygems-2.5.2.3-70.el7.noarch                                                                                          9/11
  Erasing    : rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64                                                                                          10/11
  Erasing    : rh-ruby23-runtime-2.2-7.el7.x86_64                                                                                               11/11
  Verifying  : rh-ruby23-rubygem-bigdecimal-1.2.8-70.el7.x86_64                                                                                  1/11
  Verifying  : rh-ruby23-rubygem-io-console-0.4.5-70.el7.x86_64                                                                                  2/11
  Verifying  : rh-ruby23-ruby-libs-2.3.8-70.el7.x86_64                                                                                           3/11
  Verifying  : rh-ruby23-rubygem-did_you_mean-1.0.0-70.el7.x86_64                                                                                4/11
  Verifying  : rh-ruby23-ruby-irb-2.3.8-70.el7.noarch                                                                                            5/11
  Verifying  : rh-ruby23-rubygem-json-1.8.3.1-70.el7.x86_64                                                                                      6/11
  Verifying  : rh-ruby23-rubygems-2.5.2.3-70.el7.noarch                                                                                          7/11
  Verifying  : rh-ruby23-ruby-2.3.8-70.el7.x86_64                                                                                                8/11
  Verifying  : rh-ruby23-runtime-2.2-7.el7.x86_64                                                                                                9/11
  Verifying  : rh-ruby23-rubygem-psych-2.1.0.1-70.el7.x86_64                                                                                    10/11
  Verifying  : rh-ruby23-rubygem-rdoc-4.2.1-70.el7.noarch                                                                                       11/11

Removed:
  rh-ruby23-ruby.x86_64 0:2.3.8-70.el7                                       rh-ruby23-ruby-irb.noarch 0:2.3.8-70.el7                               
  rh-ruby23-ruby-libs.x86_64 0:2.3.8-70.el7                                  rh-ruby23-rubygem-bigdecimal.x86_64 0:1.2.8-70.el7                     
  rh-ruby23-rubygem-did_you_mean.x86_64 0:1.0.0-70.el7                       rh-ruby23-rubygem-io-console.x86_64 0:0.4.5-70.el7                     
  rh-ruby23-rubygem-json.x86_64 0:1.8.3.1-70.el7                             rh-ruby23-rubygem-psych.x86_64 0:2.1.0.1-70.el7                       
  rh-ruby23-rubygem-rdoc.noarch 0:4.2.1-70.el7                               rh-ruby23-rubygems.noarch 0:2.5.2.3-70.el7                             
  rh-ruby23-runtime.x86_64 0:2.2-7.el7                                     

Complete!
[root@localhost manifests]# rpm -qa | grep ruby
rh-ruby26-rubygem-json-2.1.0-118.el7.x86_64
rh-ruby26-ruby-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-did_you_mean-1.3.0-118.el7.noarch
rh-ruby26-rubygem-rdoc-6.1.0-118.el7.noarch
rh-ruby26-rubygem-bigdecimal-1.4.1-118.el7.x86_64
rh-ruby26-rubygem-io-console-0.4.7-118.el7.x86_64
libselinux-ruby-2.5-14.1.el7.x86_64
rh-ruby26-rubygem-psych-3.1.0-118.el7.x86_64
rh-ruby26-2.6-1.el7.x86_64
rh-ruby26-ruby-libs-2.6.2-118.el7.x86_64
rh-ruby26-rubygem-openssl-2.1.2-118.el7.x86_64
rh-ruby26-rubygems-3.0.3-118.el7.noarch
rh-ruby26-rubygem-irb-1.0.0-118.el7.noarch
rh-ruby26-runtime-2.6-1.el7.x86_64
ruby-libs-2.0.0.648-36.el7.x86_64
ruby-augeas-0.4.1-3.el7.x86_64
[root@localhost manifests]# /usr/share/one/install_gems
bash: /usr/share/one/install_gems: No such file or directory
[root@localhost manifests]# rvm
bash: rvm: command not found...
[root@localhost manifests]# scl enable rh-ruby26 bash
[root@localhost manifests]# ruby -v
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
[root@localhost manifests]# /usr/share/one/install_gems
bash: /usr/share/one/install_gems: No such file or directory
[root@localhost manifests]# /usr/share/one/install_gems
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.

0. Ubuntu/Debian
1. CentOS/RedHat/Scientific

1
Distribution "redhat" detected.
About to install these dependencies:
* gcc
* rubygem-rake
* libxml2-devel
* libxslt-devel
* patch
* gcc-c++
* sqlite-devel
* curl-devel
* mysql-devel
* openssl-devel
* ruby-devel
* make

Press enter to continue...

yum install gcc rubygem-rake libxml2-devel libxslt-devel patch gcc-c++ sqlite-devel curl-devel mysql-devel openssl-devel ruby-devel make
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * centos-sclo-rh: centos.mirrors.estointernet.in
 * centos-sclo-sclo: centos.mirrors.estointernet.in
 * epel: repos.del.extreme-ix.org
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libxslt-devel-1.1.28-5.el7.x86_64 already installed and latest version
Package patch-2.7.1-11.el7.x86_64 already installed and latest version
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
Package sqlite-devel-3.7.17-8.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-54.el7.x86_64 already installed and latest version
Package 1:mariadb-devel-5.5.64-1.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package ruby-devel.x86_64 0:2.0.0.648-36.el7 will be installed
---> Package rubygem-rake.noarch 0:0.9.6-36.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                               Arch                            Version                                    Repository                     Size
======================================================================================================================================================
Installing:
 ruby-devel                            x86_64                          2.0.0.648-36.el7                           base                          133 k
 rubygem-rake                          noarch                          0.9.6-36.el7                               base                           95 k

Transaction Summary
======================================================================================================================================================
Install  2 Packages

Total download size: 228 k
Installed size: 473 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): ruby-devel-2.0.0.648-36.el7.x86_64.rpm                                                                                  | 133 kB  00:00:00   
(2/2): rubygem-rake-0.9.6-36.el7.noarch.rpm                                                                                    |  95 kB  00:00:00   
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 210 kB/s | 228 kB  00:00:01   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                 1/2
  Installing : rubygem-rake-0.9.6-36.el7.noarch                                                                                                   2/2
  Verifying  : rubygem-rake-0.9.6-36.el7.noarch                                                                                                   1/2
  Verifying  : ruby-devel-2.0.0.648-36.el7.x86_64                                                                                                 2/2

Installed:
  ruby-devel.x86_64 0:2.0.0.648-36.el7                                       rubygem-rake.noarch 0:0.9.6-36.el7                                     

Complete!
About to install the gems for these components:
* sunstone
* quota
* cloud
* auth_ldap
* vmware
* oneflow
* ec2_hybrid
* oca
* onedb
* market
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
Error executing gem install --no-ri --no-rdoc zendesk_api --version "< 1.14.0"
[root@localhost manifests]# sudo gem install redis-stat
Fetching: ansi256-0.2.5.gem (100%)
Successfully installed ansi256-0.2.5
Fetching: redis-3.0.7.gem (100%)
Successfully installed redis-3.0.7
Fetching: unicode-display_width-1.6.0.gem (100%)
Successfully installed unicode-display_width-1.6.0
Fetching: tabularize-0.2.10.gem (100%)
Successfully installed tabularize-0.2.10
Fetching: insensitive_hash-0.3.3.gem (100%)
Successfully installed insensitive_hash-0.3.3
Fetching: parallelize-0.4.1.gem (100%)
Successfully installed parallelize-0.4.1
Fetching: si-0.1.4.gem (100%)
Successfully installed si-0.1.4
Fetching: rack-protection-1.5.5.gem (100%)
Successfully installed rack-protection-1.5.5
Fetching: tilt-1.4.1.gem (100%)
Successfully installed tilt-1.4.1
Fetching: sinatra-1.3.6.gem (100%)
Successfully installed sinatra-1.3.6
Fetching: json-1.8.6.gem (100%)
Building native extensions.  This could take a while...
Successfully installed json-1.8.6
Fetching: option_initializer-1.5.1.gem (100%)
Successfully installed option_initializer-1.5.1
Fetching: lps-0.2.1.gem (100%)
Successfully installed lps-0.2.1
Fetching: multi_json-1.13.1.gem (100%)
Successfully installed multi_json-1.13.1
ERROR:  Error installing redis-stat:
faraday requires Ruby version >= 2.3.
[root@localhost manifests]# ruby -v
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
[root@localhost manifests]# sudo gem install faraday
ERROR:  Error installing faraday:
faraday requires Ruby version >= 2.3.
[root@localhost manifests]# /usr/share/one/install_gems --showallgems
nokogiri
rack
sinatra
thin
memcache-client
zendesk_api --version "< 1.14.0"
sqlite3
sequel
amazon-ec2
uuidtools
curb
net-ldap --version "< 0.13"
builder
trollop
treetop --version ">= 1.6.3"
parse-cron
aws-sdk --version "= 1.66"
ox
mysql
aws-sdk
configparser
azure
[root@localhost manifests]# gem install redis-stat
Fetching ansi256-0.2.5.gem
Successfully installed ansi256-0.2.5
Fetching redis-3.0.7.gem
Successfully installed redis-3.0.7
Fetching unicode-display_width-1.6.0.gem
Successfully installed unicode-display_width-1.6.0
Fetching tabularize-0.2.10.gem
Successfully installed tabularize-0.2.10
Fetching insensitive_hash-0.3.3.gem
Successfully installed insensitive_hash-0.3.3
Fetching parallelize-0.4.1.gem
Successfully installed parallelize-0.4.1
Fetching si-0.1.4.gem
Successfully installed si-0.1.4
Fetching tilt-1.4.1.gem
Successfully installed tilt-1.4.1
Fetching rack-1.6.11.gem
Successfully installed rack-1.6.11
Fetching rack-protection-1.5.5.gem
Successfully installed rack-protection-1.5.5
Fetching sinatra-1.3.6.gem
Successfully installed sinatra-1.3.6
Fetching json-1.8.6.gem
Building native extensions. This could take a while...
ERROR:  Error installing redis-stat:
ERROR: Failed to build gem native extension.

    current directory: /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/json-1.8.6/ext/json/ext/generator
/opt/rh/rh-ruby26/root/usr/bin/ruby -I /opt/rh/rh-ruby26/root/usr/share/rubygems -r ./siteconf20191001-92742-hnup5q.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby26/root/usr/share/include/ruby.h

You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.

extconf failed, exit code 1

Gem files will remain installed in /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/json-1.8.6 for inspection.
Results logged to /opt/rh/rh-ruby26/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out
[root@localhost manifests]# puppet module install vmware/vcenter^C
[root@localhost manifests]# gem install redis-stat
Building native extensions. This could take a while...
ERROR:  Error installing redis-stat:
ERROR: Failed to build gem native extension.

    current directory: /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/json-1.8.6/ext/json/ext/generator
/opt/rh/rh-ruby26/root/usr/bin/ruby -I /opt/rh/rh-ruby26/root/usr/share/rubygems -r ./siteconf20191001-93207-1hfp3ml.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby26/root/usr/share/include/ruby.h

You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.

extconf failed, exit code 1

Gem files will remain installed in /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/json-1.8.6 for inspection.
Results logged to /opt/rh/rh-ruby26/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out
[root@localhost manifests]# gem install redis-stat
Building native extensions. This could take a while...
Successfully installed json-1.8.6
Fetching option_initializer-1.5.1.gem
Successfully installed option_initializer-1.5.1
Fetching lps-0.2.1.gem
Successfully installed lps-0.2.1
Fetching multi_json-1.13.1.gem
Successfully installed multi_json-1.13.1
Fetching elasticsearch-api-1.0.18.gem
Successfully installed elasticsearch-api-1.0.18
Fetching multipart-post-2.1.1.gem
Successfully installed multipart-post-2.1.1
Fetching faraday-0.16.2.gem
Successfully installed faraday-0.16.2
Fetching elasticsearch-transport-1.0.18.gem
Successfully installed elasticsearch-transport-1.0.18
Fetching elasticsearch-1.0.18.gem
Successfully installed elasticsearch-1.0.18
Fetching daemons-1.1.9.gem
Successfully installed daemons-1.1.9
Fetching eventmachine-1.2.7.gem
Building native extensions. This could take a while...
Successfully installed eventmachine-1.2.7
Fetching thin-1.5.1.gem
Building native extensions. This could take a while...
Successfully installed thin-1.5.1
Fetching redis-stat-0.4.14.gem
Successfully installed redis-stat-0.4.14
Parsing documentation for json-1.8.6
Installing ri documentation for json-1.8.6
Parsing documentation for option_initializer-1.5.1
Installing ri documentation for option_initializer-1.5.1
Parsing documentation for lps-0.2.1
Installing ri documentation for lps-0.2.1
Parsing documentation for multi_json-1.13.1
Installing ri documentation for multi_json-1.13.1
Parsing documentation for elasticsearch-api-1.0.18
Installing ri documentation for elasticsearch-api-1.0.18
Parsing documentation for multipart-post-2.1.1
Installing ri documentation for multipart-post-2.1.1
Parsing documentation for faraday-0.16.2
Installing ri documentation for faraday-0.16.2
Parsing documentation for elasticsearch-transport-1.0.18
Installing ri documentation for elasticsearch-transport-1.0.18
Parsing documentation for elasticsearch-1.0.18
Installing ri documentation for elasticsearch-1.0.18
Parsing documentation for daemons-1.1.9
Installing ri documentation for daemons-1.1.9
Parsing documentation for eventmachine-1.2.7
Installing ri documentation for eventmachine-1.2.7
Parsing documentation for thin-1.5.1
Installing ri documentation for thin-1.5.1
Parsing documentation for redis-stat-0.4.14
Installing ri documentation for redis-stat-0.4.14
Done installing documentation for json, option_initializer, lps, multi_json, elasticsearch-api, multipart-post, faraday, elasticsearch-transport, elasticsearch, daemons, eventmachine, thin, redis-stat after 25 seconds
13 gems installed
[root@localhost manifests]#



Comments

Popular posts from this blog

ansible redhat cluster qorum qdevice

PE 3.9.0 on centos 6

gfs2 cluster