[ovirt-users] Centos 7

Koen Vanoppen vanoppen.koen at gmail.com
Fri Jul 8 12:16:18 UTC 2016


Dear All,

We currently are running ovirt 3.5.1-1.el6 in production...
Our hypervisors are on centos 6.7 for the moment. But these will be changed
to centos 7.2 before we are going to upgrade the engine to centos 7 and
ovirt 4.
This is the plan:

   1. Migrate the current production server to centos 7 (of course NO data
   loss)
   2. Migrate the local engine DB to a external postgresDB
   3. Upgrade ovirt to the latest version (4.x)

Steps already tested and validated (on development):

   1. Update 3.5.1-1.el6 to latest 3.6 --> no issue
   2. Migrate the localdb to external db --> no issue
   3. Installed the same version on centos 7 (latest 3.6) --> no issue

And then the problems begin:
If I then connect the new install on centos 7 and run engine-setup, I get
the following output:

-== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel)
[OK]:
[WARNING] Less than 16384MB of memory is available
[ INFO  ] Cleaning stale zombie tasks and commands
          An existing DWH is configured to work with this engine.
          Its hostname is ovirtmgmt03dev.brusselsairport.aero.
          A positive answer to the following question will cause the
existing DWH to be permanently disconnected from the engine.
          A negative answer will stop Setup.
          Do you want to permanently disconnect this DWH from the engine?
(Yes, No) [No]: Yes

          --== CONFIGURATION PREVIEW ==--

          Default SAN wipe after delete           : False
          Update Firewall                         : False
          Host FQDN                               :
ovirtmgmt01dev.example.com
          Engine database secured connection      : False
          Engine database host                    : ovirtdb01dev
          Engine database user name               : engine
          Engine database name                    : engine
          Engine database port                    : 5432
          Engine database host name validation    : False
          Engine installation                     : True
          PKI organization                        : example.com
          DWH installation                        : True
          DWH database secured connection         : False
          DWH database host                       : localhost
          DWH database user name                  : ovirt_engine_history
          DWH database name                       : ovirt_engine_history
          DWH database port                       : 5432
          DWH database host name validation       : False
          Configure local DWH database            : True
          Reports installation                    : True
          Reports database name                   : ovirt_engine_reports
          Reports database secured connection     : False
          Reports database host                   : localhost
          Reports database port                   : 5432
          Reports database user name              : ovirt_engine_reports
          Reports database host name validation   : False
          Engine Host FQDN                        :
ovirtmgmt01dev.example.com
          Configure VMConsole Proxy               : True
          Configure WebSocket Proxy               : True

          Please confirm installation settings (OK, Cancel) [OK]:
[WARNING] Setup found legacy kerberos/ldap directory integration in use
(added by engine-manage-domains). This provider is obsoleted and will be
removed in future. Please migrate to ovirt-engine-extension-aaa-ldap
provider or contact support for assistance.
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping reports service
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Regenerating Jasper's build configuration files
[ INFO  ] Exporting data out of Jasper
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Creating PostgreSQL 'ovirt_engine_history' database
[ INFO  ] Configuring PostgreSQL
[ INFO  ] Backing up database ovirtdb01dev:engine to
'/var/lib/ovirt-engine/backups/engine-20160708135630.DQXLX8.dump'.
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Creating/refreshing Engine 'internal' domain database schema
[ ERROR ] Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh' failed to
execute
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Rolling back database schema
[ INFO  ] Clearing Engine database engine
[ INFO  ] Restoring Engine database engine
[ INFO  ] Restoring file
'/var/lib/ovirt-engine/backups/engine-20160708135630.DQXLX8.dump' to
database ovirtdb01dev:engine.
[ ERROR ] Errors while restoring engine database, please check the log file
for details
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160708135418-gjf4x1.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20160708135800-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Does somebody has a idea to fix this?
Or is there already some guide to migrate your ovirtmgmt server on centos6
--> centos7 ?

Kind regards,

Koen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160708/fa7c3228/attachment-0001.html>


More information about the Users mailing list