openebula centos 7

[root@localhost yum.repos.d]# cat  nebula.repo
[opennebula]
name=opennebula
baseurl=http://downloads.opennebula.org/repo/4.14/CentOS/7/x86_64/
enabled=1
gpgcheck=0
[root@localhost yum.repos.d]#

[root@localhost yum.repos.d]# yum install opennebula-server opennebula-sunstone
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 29091.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 182 M RSS (526 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:37 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 194 M RSS (538 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:39 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 203 M RSS (547 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:41 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 215 M RSS (559 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:43 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 228 M RSS (572 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:45 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 250 M RSS (594 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:47 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (592 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:49 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (592 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:51 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (592 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:53 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (591 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:55 ago
    State  : Running, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (591 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:57 ago
    State  : Sleeping, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (591 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 00:59 ago
    State  : Sleeping, pid: 29091
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 247 M RSS (591 MB VSZ)
    Started: Tue Oct  1 14:52:03 2019 - 01:01 ago
    State  : Sleeping, pid: 29091
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                            | 5.0 kB  00:00:00   
 * base: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
base                                                            | 3.6 kB  00:00:00   
epel                                                            | 5.4 kB  00:00:00   
extras                                                          | 2.9 kB  00:00:00   
opennebula                                                      | 2.9 kB  00:00:00   
puppet5                                                         | 2.5 kB  00:00:00   
sensu                                                           | 2.5 kB  00:00:00   
updates                                                         | 2.9 kB  00:00:00   
(1/3): epel/x86_64/updateinfo                                   | 1.0 MB  00:00:00   
(2/3): opennebula/primary_db                                    |  35 kB  00:00:01   
(3/3): epel/x86_64/primary_db                                   | 6.8 MB  00:00:01   
Resolving Dependencies
--> Running transaction check
---> Package opennebula-server.x86_64 0:4.14.2-2 will be installed
--> Processing Dependency: opennebula = 4.14.2 for package: opennebula-server-4.14.2-2.x86_64
---> Package opennebula-sunstone.x86_64 0:4.14.2-2 will be installed
--> Processing Dependency: opennebula-ruby = 4.14.2 for package: opennebula-sunstone-4.14.2-2.x86_64
--> Processing Dependency: opennebula-common = 4.14.2 for package: opennebula-sunstone-4.14.2-2.x86_64
--> Processing Dependency: numpy for package: opennebula-sunstone-4.14.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: liblapack.so.3()(64bit) for package: 1:numpy-1.7.1-13.el7.x86_64
---> Package opennebula.x86_64 0:4.14.2-2 will be installed
---> Package opennebula-common.x86_64 0:4.14.2-2 will be installed
---> Package opennebula-ruby.x86_64 0:4.14.2-2 will be installed
--> Processing Dependency: rubygem-nokogiri for package: opennebula-ruby-4.14.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 python-nose.noarch 0:1.3.7-1.el7 will be installed
---> Package rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1 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-server         x86_64       4.14.2-2                opennebula       1.4 M
 opennebula-sunstone       x86_64       4.14.2-2                opennebula       6.2 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
 numpy                     x86_64       1:1.7.1-13.el7          base             2.8 M
 opennebula                x86_64       4.14.2-2                opennebula        74 k
 opennebula-common         x86_64       4.14.2-2                opennebula        14 k
 opennebula-ruby           x86_64       4.14.2-2                opennebula       207 k
 python-nose               noarch       1.3.7-1.el7             base             276 k
 rubygem-nokogiri          x86_64       1.6.1-1.el7.1           epel             351 k

Transaction Summary
=======================================================================================
Install  2 Packages (+9 Dependent packages)

Total download size: 22 M
Installed size: 86 M
Is this ok [y/d/N]: y
Downloading packages:
(1/11): blas-3.4.2-8.el7.x86_64.rpm                             | 399 kB  00:00:00   
(2/11): opennebula-common-4.14.2-2.x86_64.rpm                   |  14 kB  00:00:00   
(3/11): opennebula-4.14.2-2.x86_64.rpm                          |  74 kB  00:00:01   
(4/11): numpy-1.7.1-13.el7.x86_64.rpm                           | 2.8 MB  00:00:02   
(5/11): atlas-3.10.1-12.el7.x86_64.rpm                          | 4.5 MB  00:00:03   
(6/11): lapack-3.4.2-8.el7.x86_64.rpm                           | 5.4 MB  00:00:03   
(7/11): opennebula-ruby-4.14.2-2.x86_64.rpm                     | 207 kB  00:00:01   
(8/11): python-nose-1.3.7-1.el7.noarch.rpm                      | 276 kB  00:00:00   
(9/11): rubygem-nokogiri-1.6.1-1.el7.1.x86_64.rpm               | 351 kB  00:00:00   
(10/11): opennebula-server-4.14.2-2.x86_64.rpm                  | 1.4 MB  00:00:02   
(11/11): opennebula-sunstone-4.14.2-2.x86_64.rpm                | 6.2 MB  00:00:04   
---------------------------------------------------------------------------------------
Total                                                     2.5 MB/s |  22 MB  00:08   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : opennebula-common-4.14.2-2.x86_64                                  1/11
  Installing : python-nose-1.3.7-1.el7.noarch                                     2/11
  Installing : atlas-3.10.1-12.el7.x86_64                                         3/11
  Installing : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                              4/11
  Installing : opennebula-ruby-4.14.2-2.x86_64                                    5/11
Please remember to execute /usr/share/one/install_gems to install all the
required gems.
  Installing : opennebula-4.14.2-2.x86_64                                         6/11
  Installing : blas-3.4.2-8.el7.x86_64                                            7/11
  Installing : lapack-3.4.2-8.el7.x86_64                                          8/11
  Installing : 1:numpy-1.7.1-13.el7.x86_64                                        9/11
  Installing : opennebula-sunstone-4.14.2-2.x86_64                               10/11
error reading information on service opennebula-sunstone: No such file or directory
  Installing : opennebula-server-4.14.2-2.x86_64                                 11/11
error reading information on service opennebula: No such file or directory
Generating public/private dsa key pair.
Created directory '/var/lib/one/.ssh'.
Your identification has been saved in /var/lib/one/.ssh/id_dsa.
Your public key has been saved in /var/lib/one/.ssh/id_dsa.pub.
The key fingerprint is:
SHA256:7ML0Smd7JbDoINfP+fIndgEtV+TgODlBTBOnC6224uQ oneadmin@localhost.localdomain
The key's randomart image is:
+---[DSA 1024]----+
|         +*.o..  |
|         ..O o.  |
|        . B....  |
|       ..oo+o    |
|     ...So.+     |
|  . ooo+... o    |
|   o o*o*. o .   |
|     =.*=.+ o    |
|      E .*o+     |
+----[SHA256]-----+
  Verifying  : opennebula-server-4.14.2-2.x86_64                                  1/11
  Verifying  : blas-3.4.2-8.el7.x86_64                                            2/11
  Verifying  : opennebula-ruby-4.14.2-2.x86_64                                    3/11
  Verifying  : 1:numpy-1.7.1-13.el7.x86_64                                        4/11
  Verifying  : opennebula-4.14.2-2.x86_64                                         5/11
  Verifying  : lapack-3.4.2-8.el7.x86_64                                          6/11
  Verifying  : opennebula-sunstone-4.14.2-2.x86_64                                7/11
  Verifying  : rubygem-nokogiri-1.6.1-1.el7.1.x86_64                              8/11
  Verifying  : opennebula-common-4.14.2-2.x86_64                                  9/11
  Verifying  : atlas-3.10.1-12.el7.x86_64                                        10/11
  Verifying  : python-nose-1.3.7-1.el7.noarch                                    11/11

Installed:
  opennebula-server.x86_64 0:4.14.2-2       opennebula-sunstone.x86_64 0:4.14.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                  numpy.x86_64 1:1.7.1-13.el7           
  opennebula.x86_64 0:4.14.2-2                 opennebula-common.x86_64 0:4.14.2-2   
  opennebula-ruby.x86_64 0:4.14.2-2            python-nose.noarch 0:1.3.7-1.el7       
  rubygem-nokogiri.x86_64 0:1.6.1-1.el7.1   

Complete!
[root@localhost yum.repos.d]#  /usr/share/one/install_gems
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
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: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.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 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
--> Running transaction check
---> Package libcurl-devel.x86_64 0:7.29.0-54.el7 will be installed
base/7/x86_64/filelists_db                                      | 7.3 MB  00:00:01   
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                Arch            Version                    Repository     Size
=======================================================================================
Installing:
 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

Transaction Summary
=======================================================================================
Install  3 Packages

Total download size: 1.2 M
Installed size: 4.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): ruby-devel-2.0.0.648-36.el7.x86_64.rpm                   | 133 kB  00:00:00   
(2/3): libcurl-devel-7.29.0-54.el7.x86_64.rpm                   | 302 kB  00:00:01   
(3/3): mariadb-devel-5.5.64-1.el7.x86_64.rpm                    | 755 kB  00:00:01   
---------------------------------------------------------------------------------------
Total                                                     825 kB/s | 1.2 MB  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/3
  Installing : libcurl-devel-7.29.0-54.el7.x86_64                                  2/3
  Installing : 1:mariadb-devel-5.5.64-1.el7.x86_64                                 3/3
  Verifying  : 1:mariadb-devel-5.5.64-1.el7.x86_64                                 1/3
  Verifying  : libcurl-devel-7.29.0-54.el7.x86_64                                  2/3
  Verifying  : ruby-devel-2.0.0.648-36.el7.x86_64                                  3/3

Installed:
  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     

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

Press enter to continue...

gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
Error executing gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
[root@localhost yum.repos.d]#  /usr/share/one/install_gems
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
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: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.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
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
Error executing gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
[root@localhost yum.repos.d]#  /usr/share/one/install_gems^C
[root@localhost yum.repos.d]# gem pristine nokogiri --version 1.10.4
Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored nokogiri-1.10.4
[root@localhost yum.repos.d]#  /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: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.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
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
Error executing gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
[root@localhost yum.repos.d]# gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
[root@localhost yum.repos.d]# gem install --no-ri --no-rdoc treetop --version ">= 1.6.3
> ^C
[root@localhost yum.repos.d]# gem install  --no-rdoc treetop --version ">= 1.6.3
> ^C
[root@localhost yum.repos.d]#  /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: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.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
* hybrid

Press enter to continue...

gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
Error executing gem install --no-ri --no-rdoc treetop --version ">= 1.6.3"
[root@localhost yum.repos.d]# # systemctl enable opennebula
[root@localhost yum.repos.d]#  systemctl enable opennebula
Created symlink from /etc/systemd/system/multi-user.target.wants/opennebula.service to /usr/lib/systemd/system/opennebula.service.
[root@localhost yum.repos.d]# systemctl start opennebula
[root@localhost yum.repos.d]# systemctl enable opennebula-sunstone
Created symlink from /etc/systemd/system/multi-user.target.wants/opennebula-sunstone.service to /usr/lib/systemd/system/opennebula-sunstone.service.
[root@localhost yum.repos.d]# systemctl start opennebula-sunstone
[root@localhost yum.repos.d]# su - oneadmin
Last login: Tue Oct  1 14:54:30 IST 2019
[oneadmin@localhost ~]$ cat << EOT > ~/.ssh/config
> Host *
> StrictHostKeyChecking no
> UserKnownHostsFile /dev/null
> EOT
[oneadmin@localhost ~]$ chmod 600 ~/.ssh/config
[oneadmin@localhost ~]$ exit
logout
[root@localhost yum.repos.d]# vi opennebula.repo
[root@localhost yum.repos.d]# cat  opennebula.repo
[opennebula]
name=opennebula
baseurl=http://downloads.opennebula.org/repo/4.14/CentOS/7/x86_64/
enabled=1
gpgcheck=0
[root@localhost yum.repos.d]# yum install opennebula-node-kvm
Loaded plugins: fastestmirror, langpacks
Repository opennebula is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * epel: repos.del.extreme-ix.org
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
--> Running transaction check
---> Package opennebula-node-kvm.x86_64 0:4.14.2-2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                     Arch           Version           Repository          Size
=======================================================================================
Installing:
 opennebula-node-kvm         x86_64         4.14.2-2          opennebula         8.1 k

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

Total download size: 8.1 k
Installed size: 191 
Is this ok [y/d/N]: y
Downloading packages:
opennebula-node-kvm-4.14.2-2.x86_64.rpm                         | 8.1 kB  00:00:00   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : opennebula-node-kvm-4.14.2-2.x86_64                                 1/1
  Verifying  : opennebula-node-kvm-4.14.2-2.x86_64                                 1/1

Installed:
  opennebula-node-kvm.x86_64 0:4.14.2-2                                               

Complete!
[root@localhost yum.repos.d]# systemctl enable messagebus.service
[root@localhost yum.repos.d]#  systemctl start messagebus.service
[root@localhost yum.repos.d]# systemctl enable libvirtd.service
[root@localhost yum.repos.d]# systemctl start libvirtd.service
[root@localhost yum.repos.d]#  systemctl enable nfs.service
Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service.
[root@localhost yum.repos.d]# systemctl start nfs.service
[root@localhost yum.repos.d]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
[root@localhost yum.repos.d]# vi w /etc/sysconfig/network-scripts/ifcfg-br0
2 files to edit
[root@localhost yum.repos.d]# systemctl restart network.service
[root@localhost yum.repos.d]# cat  /etc/sysconfig/network-scripts/ifcfg-br0
cat: /etc/sysconfig/network-scripts/ifcfg-br0: No such file or directory
[root@localhost yum.repos.d]# vi  /etc/sysconfig/network-scripts/ifcfg-br0
[root@localhost yum.repos.d]# cat  /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=dhcp
NM_CONTROLLED=no
[root@localhost yum.repos.d]# cat  /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=a5377876-71f0-4cba-9d81-00082666cd51
DEVICE=ens33
ONBOOT=yes
IPV6_PRIVACY=no
NM_CONTROLLED=no
BRIDGE=br0

[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; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-10-01 15:15:24 IST; 4s ago
  Process: 43295 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
 Main PID: 43295 (code=exited, status=1/FAILURE)

Oct 01 15:15:24 localhost.localdomain systemd[1]: Started OpenNebula Web UI Server.
Oct 01 15:15:24 localhost.localdomain ruby[43295]: /usr/share/rubygems/rubygems/cor...)
Oct 01 15:15:24 localhost.localdomain ruby[43295]: from /usr/share/rubygems/rubygem...'
Oct 01 15:15:24 localhost.localdomain ruby[43295]: from /usr/lib/one/sunstone/sunst...'
Oct 01 15:15:24 localhost.localdomain systemd[1]: opennebula-sunstone.service: main...E
Oct 01 15:15:24 localhost.localdomain systemd[1]: Unit opennebula-sunstone.service ....
Oct 01 15:15:24 localhost.localdomain systemd[1]: opennebula-sunstone.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost yum.repos.d]#

Comments

Popular posts from this blog

ansible redhat cluster qorum qdevice

PE 3.9.0 on centos 6

gfs2 cluster