<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">could you please share with use the log of the ovirt-engine-rename tool? The name of the log file is displayed during each execution (see below).<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Martin Perina<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 27, 2017 at 8:02 PM, Sergei Genchev <span dir="ltr">&lt;<a href="mailto:sgenchev@gmail.com" target="_blank">sgenchev@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br>
I am trying to upgrade ovirt from 3.6 to 4.0.<br>
I have backed up configuration on current CenTOS6 oVirt 3.6 manager<br>
with engine-backup, successfully restored  it to a new CenTOS7 running<br>
4.0, and trying to run ovirt-engine-rename. It always fails, and I am<br>
not sure where to look:<br>
<br>
 /usr/share/ovirt-engine/setup/<wbr>bin/ovirt-engine-rename<br>
[ INFO  ] Stage: Initializing<br>
<br>
          Welcome to the ovirt-engine-rename utility<br>
<br>
          More details about the operation and possible implications<br>
          of running this utility can be found here:<br>
          <a href="http://www.ovirt.org/Changing_Engine_Hostname" rel="noreferrer" target="_blank">http://www.ovirt.org/Changing_<wbr>Engine_Hostname</a><br>
<br>
[ INFO  ] Stage: Environment setup<br>
          Configuration files:<br>
[&#39;/etc/ovirt-engine-setup.<wbr>conf.d/10-packaging-jboss.<wbr>conf&#39;,<br>
&#39;/etc/ovirt-engine-setup.conf.<wbr>d/10-packaging.conf&#39;,<br>
&#39;/etc/ovirt-engine-setup.conf.<wbr>d/20-setup-ovirt-post.conf&#39;]<br>
          Log file:<br>
/var/log/ovirt-engine/setup/<wbr>ovirt-engine-rename-<wbr>20170127124705-a1y8is.log<br>
          Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)<br>
[ INFO  ] Stage: Environment packages setup<br>
[ INFO  ] Stage: Programs detection<br>
[ INFO  ] Stage: Environment setup<br>
[ INFO  ] Stage: Environment customization<br>
          New fully qualified server name:  []: <a href="http://newname.domain.com" rel="noreferrer" target="_blank">newname.domain.com</a><br>
<br>
          --== PRODUCT OPTIONS ==--<br>
<br>
[ INFO  ] Stage: Setup validation<br>
[ INFO  ] Engine machine hosting Storage Domains<br>
          The following Storage Domains use the engine machine as an NFS server:<br>
<br>
          ISO_DOMAIN<br>
<br>
          They will be modified to use the new name.<br>
<br>
[ INFO  ] The following files will be updated:<br>
<br>
          /etc/ovirt-engine/engine.conf.<wbr>d/10-setup-protocols.conf<br>
          /etc/ovirt-engine/<wbr>imageuploader.conf.d/10-<wbr>engine-setup.conf<br>
          /etc/ovirt-engine/isouploader.<wbr>conf.d/10-engine-setup.conf<br>
          /etc/ovirt-engine/<wbr>logcollector.conf.d/10-engine-<wbr>setup.conf<br>
          /etc/ovirt-engine/ovirt-<wbr>vmconsole-proxy-helper.conf.d/<wbr>10-setup.conf<br>
          /etc/pki/ovirt-engine/cert.<wbr>conf<br>
          /etc/pki/ovirt-engine/cert.<wbr>template<br>
          /etc/pki/ovirt-engine/certs/<wbr>apache.cer<br>
          /etc/pki/ovirt-engine/keys/<wbr>apache.key.nopass<br>
          /etc/pki/ovirt-engine/keys/<wbr>apache.p12<br>
<br>
[ INFO  ] Stage: Transaction setup<br>
[ INFO  ] Stopping engine service<br>
[ INFO  ] Stage: Misc configuration<br>
[ INFO  ] Stage: Package installation<br>
[ INFO  ] Stage: Misc configuration<br>
[ ERROR ] Failed to execute stage &#39;Misc configuration&#39;: &#39;NoneType&#39;<br>
object is not iterable<br>
[ INFO  ] Stage: Clean up<br>
          Log file is located at<br>
/var/log/ovirt-engine/setup/<wbr>ovirt-engine-rename-<wbr>20170127124705-a1y8is.log<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​^^^<br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">This is the log file, it&#39;s unique for each invocation.<br><br>​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[ INFO  ] Generating answer file<br>
&#39;/var/lib/ovirt-engine/setup/<wbr>answers/20170127124714-rename.<wbr>conf&#39;<br>
[ INFO  ] Stage: Pre-termination<br>
[ INFO  ] Stage: Termination<br>
[ ERROR ] Execution of rename failed<br>
<br>
The only error log file has is not very helpful:<br>
2017-01-27 12:47:14 ERROR<br>
otopi.plugins.ovirt_engine_<wbr>common.base.core.misc misc._terminate:148<br>
Execution of rename failed<br>
<br>
  After that, engine actually gets renamed, but certificates are not<br>
generated for a new name, and this is, I think, is a reason why new<br>
server cannot communicate with vdsm on ovirt nodes.<br>
<br>
 I do use custom Apache certificates. CA files are restored fine from backup.<br>
<br>
 Where can I start looking next?<br>
<br>
Thank you!<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>