<div dir="ltr">Oh yeah, we are using ovirt 3.5 :-)<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-12 13:57 GMT+01:00 Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Dear all,<br><br></div>A while ago we migrated our engine to a new host with a new name.<br></div>But now, we come to realistion that our certificate is still using the old name of the host.<br></div>I tried to run the ovirt-engine-rename script, but after typed the new hostname I get this output:<br><br>[ INFO ] The following files will be updated:<br> <br> /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf<br> /etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf<br> /etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf<br> /etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf<br> /etc/pki/ovirt-engine/cert.conf<br> /etc/pki/ovirt-engine/cert.template<br> /etc/pki/ovirt-engine/certs/apache.cer<br> /etc/pki/ovirt-engine/keys/apache.key.nopass<br> /etc/pki/ovirt-engine/keys/apache.p12<br> <br>[ INFO ] Stage: Transaction setup<br>[ INFO ] Stopping engine service<br>[ INFO ] Stopping ovirt-fence-kdump-listener service<br>[ INFO ] Stopping websocket-proxy service<br>[ INFO ] Stage: Misc configuration<br>[ INFO ] Stage: Package installation<br>[ INFO ] Stage: Misc configuration<br>[ ERROR ] Failed to execute stage 'Misc configuration': invalid literal for int() with base 10: 'None'<br>[ INFO ] Stage: Clean up<br> Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-rename-20150112135225-wfbear.log<br>[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20150112135247-rename.conf'<br>[ INFO ] Stage: Pre-termination<br>[ INFO ] Stage: Termination<br>[ ERROR ] Execution of rename failed<br><br><br></div>From the log file:<br><br>2015-01-12 13:52:46 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:785 execute: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), executable='None', cwd='None', env=None<br>2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:803 execute-result: ('/sbin/service', 'ovirt-websocket-proxy', 'stop'), rc=0<br>2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stdout:<br>Stopping oVirt Engine websockets proxy: [ OK ]<br><br>2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'ovirt-websocket-proxy', 'stop') stderr:<br><br><br>2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Misc configuration<br>2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE early_misc<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage early_misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Package installation<br>2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE packages<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage packages METHOD otopi.plugins.otopi.network.iptables.Plugin._packages<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Misc configuration<br>2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE misc<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.otopi.system.command.Plugin._misc<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144 condition False<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490 ENVIRONMENT DUMP - BEGIN<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmpHWoEfz'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504 ENVIRONMENT DUMP - END<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.ovirt_engine_rename.ovirt-engine.database.Plugin._connection<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490 ENVIRONMENT DUMP - BEGIN<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV OVESETUP_DB/connection=connection:'<connection object at 0x2977e50; dsn: 'dbname=engine host=localhost port=5432 user=engine password=xxxxxxxx sslmode=allow', closed: 0>'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV OVESETUP_DB/statement=Statement:'<ovirt_engine_setup.engine_common.database.Statement object at 0x2ab0850>'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504 ENVIRONMENT DUMP - END<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage misc METHOD otopi.plugins.ovirt_engine_rename.ovirt-engine.database.Plugin._misc<br>2015-01-12 13:52:47 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:164 Database: 'None', Statement: '<br> select version, option_value<br> from vdc_options<br> where option_name = %(name)s<br> ', args: {'name': 'RedirectServletReportsPage'}<br>2015-01-12 13:52:47 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:214 Result: [{'version': 'general', 'option_value': '//ovirtmgmt01prod.brusselsairport.aero:None/ovirt-engine-reports'}]<br>2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:152 method exception<br>Traceback (most recent call last):<br> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod<br> method['method']()<br> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/ovirt-engine/database.py", line 176, in _misc<br> ulist[1] = newfqdn + ":" + str(u.port)<br> File "/usr/lib64/python2.6/urlparse.py", line 105, in port<br> return int(port, 10)<br>ValueError: invalid literal for int() with base 10: 'None'<br>2015-01-12 13:52:47 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': invalid literal for int() with base 10: 'None'<br>2015-01-12 13:52:47 DEBUG otopi.transaction transaction.abort:131 aborting 'Database Transaction'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490 ENVIRONMENT DUMP - BEGIN<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/error=bool:'True'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.ValueError'>, ValueError("invalid literal for int() with base 10: 'None'",), <traceback object at 0x2ae7ea8>)]'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV OVESETUP_DB/connection=NoneType:'None'<br>2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504 ENVIRONMENT DUMP - END<br>2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Clean up<br>2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE cleanup<br><br><br></div>Any ideas?<br><br></div>Kind regards,<br><br>Koen<br><div><div><div><br></div></div></div></div>
</blockquote></div><br></div>