<div dir="ltr">Hi,<div><br></div><div>thanks, changing 20-setup-ovrit-post.conf fixed the PKI Organization in engine-setup.</div><div><br></div><div>after engine-setup completed, I was not able to login to the webportal.   I needed to copy the  <span style="font-size:12.8px">/etc/pki/ovirt-engine-backup-</span><span style="font-size:12.8px">before-recreation back to ovirt-engine in order to login.   The errors on the webportal were about PKI something.   I didn&#39;t get a picture of it. sorry.</span></div><div><span style="font-size:12.8px"><br></span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 14, 2016 at 1:02 AM, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 14, 2016 at 2:58 AM, Paul Dyer &lt;<a href="mailto:pmdyermms@gmail.com">pmdyermms@gmail.com</a>&gt; wrote:<br>
&gt; I am not having any luck.   When I get to step 5 (engine-setup), the &quot;PKI<br>
&gt; organization&quot; still has the old domainname???<br>
<br>
</span>You can try editing /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf<br>
and delete the line with &#39;OVESETUP_PKI/organization&#39;, then try engine-setup<br>
again.<br>
<br>
Best,<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;           --== CONFIGURATION PREVIEW ==--<br>
&gt;<br>
&gt;           Update Firewall                         : False<br>
&gt;           Host FQDN                               : <a href="http://bacchus.xxxcentral.com" rel="noreferrer" target="_blank">bacchus.xxxcentral.com</a><br>
&gt;           Engine database secured connection      : False<br>
&gt;           Engine database host                    : localhost<br>
&gt;           Engine database user name               : engine<br>
&gt;           Engine database name                    : engine<br>
&gt;           Engine database port                    : 5432<br>
&gt;           Engine database host name validation    : False<br>
&gt;           DWH database secured connection         : False<br>
&gt;           DWH database host                       : localhost<br>
&gt;           DWH database user name                  : ovirt_engine_history<br>
&gt;           DWH database name                       : ovirt_engine_history<br>
&gt;           DWH database port                       : 5432<br>
&gt;           DWH database host name validation       : False<br>
&gt;           Engine installation                     : True<br>
&gt;           PKI organization                        : <a href="http://xxxportal.com" rel="noreferrer" target="_blank">xxxportal.com</a><br>
&gt;           DWH installation                        : True<br>
&gt;           Backup DWH database                     : True<br>
&gt;           Engine Host FQDN                        : <a href="http://bacchus.xxxcentral.com" rel="noreferrer" target="_blank">bacchus.xxxcentral.com</a><br>
&gt;           Configure VMConsole Proxy               : False<br>
&gt;           Configure WebSocket Proxy               : False<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Jul 10, 2016 at 2:27 AM, Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com">didi@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jul 9, 2016 at 2:35 AM, Paul Dyer &lt;<a href="mailto:pmdyermms@gmail.com">pmdyermms@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; back in 2015, with the first install of ovirt, I used a domain of<br>
&gt;&gt; &gt; <a href="http://xxxportal.com" rel="noreferrer" target="_blank">xxxportal.com</a>.   Since the client has an <a href="http://xxxcentral.com" rel="noreferrer" target="_blank">xxxcentral.com</a> wildcard<br>
&gt;&gt; &gt; certificate, I added changed the hostname and domainname, and added the<br>
&gt;&gt; &gt; cert/cacert to the apache webpage.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The pki on ovirt and vdsm (host) both still have the original<br>
&gt;&gt; &gt; <a href="http://xxxportal.com" rel="noreferrer" target="_blank">xxxportal.com</a><br>
&gt;&gt; &gt; domain.   I am looking for a way to wipe away the old domain.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Do I need to remove the host (not hosted engine), drop the<br>
&gt;&gt; &gt; datacenter/cluster, and build from a clean db?<br>
&gt;&gt;<br>
&gt;&gt; Basically yes. See also:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://www.ovirt.org/documentation/how-to/networking/changing-engine-hostname/" rel="noreferrer" target="_blank">https://www.ovirt.org/documentation/how-to/networking/changing-engine-hostname/</a><br>
&gt;&gt;<br>
&gt;&gt; If you have lots of data in your engine (hosts, VMs etc), you might manage<br>
&gt;&gt; to<br>
&gt;&gt; keep most of it by something like this, didn&#39;t try that:<br>
&gt;&gt;<br>
&gt;&gt; 1. Shutdown all VMs and move all hosts to maintenance<br>
&gt;&gt; 2. Stop ovirt-engine service<br>
&gt;&gt; 3. mv /etc/pki/ovirt-engine /etc/pki/ovirt-engine-backup-before-recreation<br>
&gt;&gt; 4. yum reinstall ovirt-engine-backend, or copy back from above backup<br>
&gt;&gt; only these, without the files they hold (for directories), but keep<br>
&gt;&gt; owner/permissions:<br>
&gt;&gt; <a href="http://cacert.template.in" rel="noreferrer" target="_blank">cacert.template.in</a>  certs  <a href="http://cert.template.in" rel="noreferrer" target="_blank">cert.template.in</a>  keys  openssl.conf<br>
&gt;&gt; private  requests<br>
&gt;&gt; 5. engine-setup<br>
&gt;&gt; It will notice pki is removed and recreate it for you<br>
&gt;&gt; You might need to change admin password because it&#39;s encrypted with<br>
&gt;&gt; engine&#39;s key<br>
&gt;&gt; 6. Connect to web admin, and per host:<br>
&gt;&gt; 6.1. Right click -&gt; Enroll Certificate<br>
&gt;&gt; 6.2. You might need Right-Click -&gt; Reinstall<br>
&gt;&gt; 6.3. Activate<br>
&gt;&gt;<br>
&gt;&gt; This should be enough, more-or-less. You might want, just in case,<br>
&gt;&gt; before step 6,<br>
&gt;&gt; to connect to all hosts and remove stuff under /etc/pki, but I didn&#39;t<br>
&gt;&gt; check<br>
&gt;&gt; what exactly.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; --<br>
&gt;&gt; Didi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Paul Dyer,<br>
&gt; Mercury Consulting Group, RHCE<br>
&gt; 504-302-8750<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Paul Dyer,<br>Mercury Consulting Group, RHCE<br>504-302-8750</div>
</div>