<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 2:16 PM, Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear All,<div><br></div><div>We currently are running ovirt <span style="font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:20px;background-color:rgb(255,255,255)"><font color="#000000">3.5.1-1.el6 in production...</font></span></div><div><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">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.</span></font></div><div><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">This is the plan:</span></font></div><div><ol><li><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">Migrate the current production server to centos 7 (of course NO data loss)</span></font></li><li><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">Migrate the local engine DB to a external postgresDB</span></font></li><li><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">Upgrade ovirt to the latest version (4.x)</span></font></li></ol><div><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">Steps already tested and validated (on development):</span></font></div></div><div><ol><li><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">Update </span></font><span style="color:rgb(0,0,0);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:20px">3.5.1-1.el6 to latest 3.6 --> no issue</span></li><li><span style="color:rgb(0,0,0);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:20px">Migrate the localdb to external db --> no issue</span></li><li><span style="color:rgb(0,0,0);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:12px;line-height:20px">Installed the same version on centos 7 (latest 3.6) --> no issue</span></li></ol><div><font color="#000000" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:12px;line-height:20px">And then the problems begin:</span></font></div></div><div>If I then connect the new install on centos 7 and run engine-setup, I get the following output:</div><div><br></div><div><div>-== END OF CONFIGURATION ==--</div><div> </div><div>[ INFO ] Stage: Setup validation</div><div> During execution engine service will be stopped (OK, Cancel) [OK]: </div><div>[WARNING] Less than 16384MB of memory is available</div><div>[ INFO ] Cleaning stale zombie tasks and commands</div><div> An existing DWH is configured to work with this engine.</div><div> Its hostname is <a href="http://ovirtmgmt03dev.brusselsairport.aero" target="_blank">ovirtmgmt03dev.brusselsairport.aero</a>.</div><div> A positive answer to the following question will cause the existing DWH to be permanently disconnected from the engine.</div><div> A negative answer will stop Setup.</div><div> Do you want to permanently disconnect this DWH from the engine? (Yes, No) [No]: Yes</div><div> </div><div> --== CONFIGURATION PREVIEW ==--</div><div> </div><div> Default SAN wipe after delete : False</div><div> Update Firewall : False</div><div> Host FQDN : <a href="http://ovirtmgmt01dev.example.com" target="_blank">ovirtmgmt01dev.example.com</a></div><div> Engine database secured connection : False</div><div> Engine database host : ovirtdb01dev</div><div> Engine database user name : engine</div><div> Engine database name : engine</div><div> Engine database port : 5432</div><div> Engine database host name validation : False</div><div> Engine installation : True</div><div> PKI organization : <a href="http://example.com" target="_blank">example.com</a></div><div> DWH installation : True</div><div> DWH database secured connection : False</div><div> DWH database host : localhost</div><div> DWH database user name : ovirt_engine_history</div><div> DWH database name : ovirt_engine_history</div><div> DWH database port : 5432</div><div> DWH database host name validation : False</div><div> Configure local DWH database : True</div><div> Reports installation : True</div><div> Reports database name : ovirt_engine_reports</div><div> Reports database secured connection : False</div><div> Reports database host : localhost</div><div> Reports database port : 5432</div><div> Reports database user name : ovirt_engine_reports</div><div> Reports database host name validation : False</div><div> Engine Host FQDN : <a href="http://ovirtmgmt01dev.example.com" target="_blank">ovirtmgmt01dev.example.com</a></div><div> Configure VMConsole Proxy : True</div><div> Configure WebSocket Proxy : True</div><div> </div><div> Please confirm installation settings (OK, Cancel) [OK]: </div><div>[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.</div><div>[ INFO ] Cleaning async tasks and compensations</div><div>[ INFO ] Unlocking existing entities</div><div>[ INFO ] Checking the Engine database consistency</div><div>[ INFO ] Stage: Transaction setup</div><div>[ INFO ] Stopping dwh service</div><div>[ INFO ] Stopping reports service</div><div>[ INFO ] Stopping engine service</div><div>[ INFO ] Stopping ovirt-fence-kdump-listener service</div><div>[ INFO ] Stopping websocket-proxy service</div><div>[ INFO ] Stage: Misc configuration</div><div>[ INFO ] Regenerating Jasper's build configuration files</div><div>[ INFO ] Exporting data out of Jasper</div><div>[ INFO ] Stage: Package installation</div><div>[ INFO ] Stage: Misc configuration</div><div>[ INFO ] Creating PostgreSQL 'ovirt_engine_history' database</div><div>[ INFO ] Configuring PostgreSQL</div><div>[ INFO ] Backing up database ovirtdb01dev:engine to '/var/lib/ovirt-engine/backups/engine-20160708135630.DQXLX8.dump'.</div><div>[ INFO ] Creating/refreshing Engine database schema</div><div>[ INFO ] Creating/refreshing Engine 'internal' domain database schema</div><div>[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh' failed to execute</div><div>[ INFO ] Yum Performing yum transaction rollback</div><div>[ INFO ] Rolling back database schema</div><div>[ INFO ] Clearing Engine database engine</div><div>[ INFO ] Restoring Engine database engine</div><div>[ INFO ] Restoring file '/var/lib/ovirt-engine/backups/engine-20160708135630.DQXLX8.dump' to database ovirtdb01dev:engine.</div><div>[ ERROR ] Errors while restoring engine database, please check the log file for details</div><div>[ INFO ] Stage: Clean up</div><div> Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160708135418-gjf4x1.log</div></div></div></blockquote><div><br></div><div><br></div><div>Can you please provide /var/log/ovirt-engine/setup/ovirt-engine-setup-20160708135418-gjf4x1.log ?</div><div>Looking for the output of failed command.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160708135800-setup.conf'</div><div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div><div>[ ERROR ] Execution of setup failed</div></div><div><br></div><div>Does somebody has a idea to fix this?</div><div>Or is there already some guide to migrate your ovirtmgmt server on centos6 --> centos7 ?</div><div><br></div><div>Kind regards,</div><div><br></div><div>Koen</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</div></div>