<HTML><body>
    <br />
    Hi Neil,<BR>
<BR>
  I had very similar (maybe same issue). The problem was in conflict of<BR>
jpackage repository and standard CentOS/RHEL repository:<BR>
<BR>
<a href="http://lists.ovirt.org/pipermail/users/2014-October/028349.html" target="_blank">http://lists.ovirt.org/pipermail/users/2014-October/028349.html</a><BR>
<a href="http://lists.ovirt.org/pipermail/users/2014-October/028348.html" target="_blank">http://lists.ovirt.org/pipermail/users/2014-October/028348.html</a><BR>
<BR>
Don't you have the same issue?<BR>
<BR>
Cheers,<BR>
<BR>
Luf<BR>
<BR>
Alastair Neil p&iacute;še v St 29. 10. 2014 v 15:58 -0400:<BR>
&gt; OK I seem to be having some fundamental confusion about this<BR>
&gt; migration.<BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; I have an existing ovirt 3.5 (upgraded from 3.4) setup with  a Data<BR>
&gt; Center containing four clusters, 3 VM clusters for 3 differenc classes<BR>
&gt; of CPU hosts (Penryn, Nehalem, and SandyBridge).  I also have a<BR>
&gt;  gluster storage cluster.<BR>
&gt; <BR>
&gt; <BR>
&gt; There are 4 storage domains, an Export domain (Export-Dom1) nfs v1,<BR>
&gt; and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster<BR>
&gt; Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS<BR>
&gt; v3.<BR>
&gt; <BR>
&gt; <BR>
&gt; As Gluster replica 2 is not considered adequate for the hosted-engine<BR>
&gt; storage I created a volume in the gluster store and exported it as<BR>
&gt; NFS.  This is what I planned to use as the storage pool for the hosted<BR>
&gt; engine.  So far so good.<BR>
&gt; <BR>
&gt; <BR>
&gt; I have tried the deployment several times now,  and it fails with the<BR>
&gt; following:<BR>
&gt; <BR>
&gt; <BR>
&gt;         [ ERROR ] Cannot automatically add the host to cluster None:<BR>
&gt;         HTTP Status 401 <BR>
&gt;         [ ERROR ] Failed to execute stage 'Closing up': Cannot add the<BR>
&gt;         host to cluster None<BR>
&gt; <BR>
&gt; <BR>
&gt;         2014-10-29 15:26:11 DEBUG<BR>
&gt;         otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;         add_host._closeup:502 Cannot add the host to cluster None<BR>
&gt;         Traceback (most recent call last):<BR>
&gt;           File<BR>
&gt;         &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py&quot;, line 426, in _closeup<BR>
&gt;             ca_file=self.cert,<BR>
&gt;           File &quot;/usr/lib/python2.6/site-packages/ovirtsdk/api.py&quot;,<BR>
&gt;         line 154, in __init__<BR>
&gt;             url=''<BR>
&gt;           File<BR>
&gt;         &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 118, in request<BR>
&gt;             persistent_auth=self._persistent_auth)<BR>
&gt;           File<BR>
&gt;         &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 146, in __doRequest<BR>
&gt;             persistent_auth=persistent_auth<BR>
&gt;           File<BR>
&gt;         &quot;/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py&quot;,<BR>
&gt;         line 134, in doRequest<BR>
&gt;             raise RequestError, response<BR>
&gt;         RequestError: <BR>
&gt;         status: 401<BR>
&gt;         reason: Unauthorized<BR>
&gt;         detail: HTTP Status 401<BR>
&gt;         2014-10-29 15:26:11 ERROR<BR>
&gt;         otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;         add_host._closeup:510 Cannot automatically add the host to <BR>
&gt;         cluster None:<BR>
&gt;         HTTP Status 401<BR>
&gt;         2014-10-29 15:26:11 DEBUG otopi.context<BR>
&gt;         context._executeMethod:152 method exception<BR>
&gt;         Traceback (most recent call last):<BR>
&gt;           File &quot;/usr/lib/python2.6/site-packages/otopi/context.py&quot;,<BR>
&gt;         line 142, in _executeMethod<BR>
&gt;             method['method']()<BR>
&gt;           File<BR>
&gt;         &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py&quot;, line 517, in _closeup<BR>
&gt;             cluster=cluster_name,<BR>
&gt;         RuntimeError: Cannot add the host to cluster None<BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; The hosted-engine host cluster name it seems is set to &quot;None&quot;, and<BR>
&gt; then fails to add the host as there is no cluster &quot;None&quot; in the<BR>
&gt; restored engine.  Presumably the storage domain would need to be added<BR>
&gt; too, however I don't ever seem to see any message about this<BR>
&gt; <BR>
&gt; <BR>
&gt; I recall being prompted for a data-center name and even a<BR>
&gt; storage-domain name, but not a cluster name, so am I missing a step.<BR>
&gt; I could use some guidance as I am stumped.  Is there some<BR>
&gt; pre-migration tasks I am failing to do in the original engine?<BR>
&gt;  <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; <BR>
&gt; .<BR>
&gt; <BR>
&gt; On 29 October 2014 03:10, Jiri Moskovcak &lt;jmoskovc@redhat.com&gt; wrote:<BR>
&gt;         On 10/27/2014 06:22 PM, Alastair Neil wrote:<BR>
&gt;                 After belatedly realising that no engine for EL7 is<BR>
&gt;                 planned for 3.5 I<BR>
&gt;                 tried using FC20:<BR>
&gt;                 <BR>
&gt;                 I used a database called engine with user engine on<BR>
&gt;                 the VM to restore to.<BR>
&gt;                 The engine-backup restore appeared to complete with no<BR>
&gt;                 errors save the<BR>
&gt;                 canonical complaint about less that 16GB of memory<BR>
&gt;                 being available.<BR>
&gt;                 However on completion the host the<BR>
&gt;                 hosted-engine-deploy threw this error:<BR>
&gt;                 <BR>
&gt;                     Failed to execute stage 'Closing up': The host<BR>
&gt;                 name<BR>
&gt;                     &quot;ovirt-admin-hosted.xxxxx.xxx.edu<BR>
&gt;                     &lt;http://ovirt-admin-hosted.vsnet.gmu.edu&gt;&quot;<BR>
&gt;                 contained in the URL<BR>
&gt;                 <BR>
&gt;                     doesn't match any of the names in the server<BR>
&gt;                 certificate.<BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 from the setup log<BR>
&gt;                 <BR>
&gt;                     2014-10-27 12:55:49 DEBUG<BR>
&gt;                     otopi.ovirt_hosted_engine_setup.check_liveliness<BR>
&gt;                     check_liveliness.isEngineUp:46 Checking for Engine<BR>
&gt;                 health status<BR>
&gt;                     2014-10-27 12:55:50 INFO<BR>
&gt;                     otopi.ovirt_hosted_engine_setup.check_liveliness<BR>
&gt;                     check_liveliness.isEngineUp:64 Engine replied: DB<BR>
&gt;                 Up!Welcome to<BR>
&gt;                     Health Status!<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.context<BR>
&gt;                 context._executeMethod:138<BR>
&gt;                     Stage closeup METHOD<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._closeup<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     add_host._getPKICert:89 Acquiring ca.crt from the<BR>
&gt;                 engine<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     add_host._getPKICert:101 -----BEGIN<BR>
&gt;                 CERTIFICATE-----<BR>
&gt;                 <BR>
&gt;                 MIID3DCCAsSgAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTzELMAkGA1UEBhMCVVMxFjAUBgNVBAoT<BR>
&gt;                 <BR>
&gt;                 DXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0LmdtdS5lZHUuNzIyNDcw<BR>
&gt;                 <BR>
&gt;                 IhcRMTMxMTExMTk1NTQ1KzAwMDAXDTIzMTExMDE5NTU0NVowTzELMAkGA1UEBhMCVVMxFjAUBgNV<BR>
&gt;                 <BR>
&gt;                 BAoTDXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0LmdtdS5lZHUuNzIy<BR>
&gt;                 <BR>
&gt;                 NDcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDAzjsdTOPIhruA/TvupQ+syMdVu8GT<BR>
&gt;                 <BR>
&gt;                 VJ9IlFdqc/RhiV9YB6snYAF6MIeWKnW0eOL9jY/5TmfIqY/+rvYvLhPui1/612KoW9kEcZXUw0k-2<BR>
&gt;                     ntz1i<BR>
&gt;                 +wHv5PEq1Cvn/G8mI9b56EFiiYPfAzcdKGbJ8iqafFPW71/612KoW9kEcZXUwyUXLHF01Yo<BR>
&gt;                     nQGAtjL+VGgY6jWaaFD4j/5XTkzfcybI8jAW8o97vfTrnmqe<BR>
&gt;                 +2cvIUyip9l5KQJjblO6FDjpJJUC<BR>
&gt;                 <BR>
&gt;                 MhyDEjJPCKAT1kW1f3E/t8lHD4UUsMpX4rB142oGwBo5st3sGlUks5fFLHtYjFTUYSSmTwOlnq+t<BR>
&gt;                 <BR>
&gt;                 D8HFr01lAgMBAAGjgb0wgbowHQYDVR0OBBYEFFpdSy5ACG6PC8YtE8vGRYvSYyI6MHgGA1UdIwRx<BR>
&gt;                     MG<BR>
&gt;                 +AFFpdSy5ACG6PC8YtE8vGRYvSYyI6oVOkUTBPMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNdnNu<BR>
&gt;                 <BR>
&gt;                 ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3ZpcnQtYWRtaW4udnNuZXQuZ211LmVkdS43MjI0N4ICEAAw<BR>
&gt;                 <BR>
&gt;                 DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKqhXoL/<BR>
&gt;                     jlVhw9qasoqMnJw6ypHjJQCVAukCHvwioHVz+XwvIcIGuod<BR>
&gt;                 +rHOcvexPZyCkacU2sOaIPjnyv8mJ<BR>
&gt;                     sNQ4nKW/oGwUfiKBgsvjv<BR>
&gt;                 +cHAaqcQNn7MI0VDL71ulYq8UpW0bX3n5fafbstbdN1K2uad3UZH0ae<BR>
&gt;                     pv+gLiCXIKTmTtRtHCiKAxVw7Nx48rN8jJyzbP0FoK0<BR>
&gt;                 +uddrI4TSJDfa5F3USdiYCk/bPCLThDPe<BR>
&gt;                     UgpyVDXH11c+j<BR>
&gt;                 +Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9DaVuroJyUO7OQOes3Uz54<BR>
&gt;                 +QGc1A+Zewv+<BR>
&gt;                     2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r8=<BR>
&gt;                     -----END CERTIFICATE-----<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     add_host._getSSHkey:111 Acquiring SSH key from the<BR>
&gt;                 engine<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     add_host._getSSHkey:123 ssh-rsa<BR>
&gt;                 <BR>
&gt;                 AAAAB3NzaC1yc2EAAAADAQABAAABAQCpmyaDlP8Kt/yDb/kB4OaIdPx2sgH8T5Ra6hBRGHMxnTtykajnDj9WMannNc0F3d0htvVQXPKZYxxsXxNeHq00Ga/agnCjsYM9EjzujdsBqvyOTjlVX3BVWhWGZu5yNxYwpvdQBRCzhHibgqaafWNRvaixUeO1VAlU+q5W4bZDxJwKui+Bf1dLuZw94zHKs3jiGFcQOegJUVYmWuLVh5GH6SNLMLdbJdr4B5MwlK8ItiOC9XgUdH0RxN56Y1PEUkLserNOW/FxsXuf+cbWRsMtVa5xj82AlDWQUjyQleC91Nl7FT3OHGU1nJf289EjzujdsBqvyOTjlVX3BV5<BR>
&gt;                     ovirt-engine<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.transaction<BR>
&gt;                 transaction._prepare:77<BR>
&gt;                     preparing 'File transaction for<BR>
&gt;                 '/root/.ssh/authorized_keys''<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.filetransaction<BR>
&gt;                     filetransaction.prepare:194 file<BR>
&gt;                 '/root/.ssh/authorized_keys' missing<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.transaction<BR>
&gt;                 transaction.commit:159<BR>
&gt;                     committing 'File transaction for<BR>
&gt;                 '/root/.ssh/authorized_keys''<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.filetransaction<BR>
&gt;                     filetransaction.commit:327 Executing restorecon<BR>
&gt;                 for /root/.ssh<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.filetransaction<BR>
&gt;                     filetransaction.commit:341 restorecon result rc=0,<BR>
&gt;                 stdout=, stderr=<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     plugin.executeRaw:785 execute:<BR>
&gt;                 ('/sbin/restorecon', '-r',<BR>
&gt;                     '/root/.ssh'), executable='None', cwd='None',<BR>
&gt;                 env=None<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     plugin.executeRaw:803 execute-result:<BR>
&gt;                 ('/sbin/restorecon', '-r',<BR>
&gt;                     '/root/.ssh'), rc=0<BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     plugin.execute:861 execute-output:<BR>
&gt;                 ('/sbin/restorecon', '-r',<BR>
&gt;                     '/root/.ssh') stdout:<BR>
&gt;                 <BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     plugin.execute:866 execute-output:<BR>
&gt;                 ('/sbin/restorecon', '-r',<BR>
&gt;                     '/root/.ssh') stderr:<BR>
&gt;                 <BR>
&gt;                     2014-10-27 12:55:50 DEBUG<BR>
&gt;                 <BR>
&gt;                 otopi.plugins.ovirt_hosted_engine_setup.engine.add_host<BR>
&gt;                     add_host._closeup:415 Connecting to the Engine<BR>
&gt;                     2014-10-27 12:55:50 DEBUG otopi.context<BR>
&gt;                 context._executeMethod:152<BR>
&gt;                     method exception<BR>
&gt;                     Traceback (most recent call last):<BR>
&gt;                        File<BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/otopi/context.py&quot;,<BR>
&gt;                 line<BR>
&gt;                     142, in _executeMethod<BR>
&gt;                          method['method']()<BR>
&gt;                        File<BR>
&gt;                 <BR>
&gt;                 &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py&quot;,<BR>
&gt;                     line 426, in _closeup<BR>
&gt;                          ca_file=self.cert,<BR>
&gt;                        File<BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/ovirtsdk/api.py&quot;,<BR>
&gt;                 line<BR>
&gt;                     154, in __init__<BR>
&gt;                          url=''<BR>
&gt;                        File<BR>
&gt;                 <BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;,<BR>
&gt;                     line 118, in request<BR>
&gt;                          persistent_auth=self._persistent_auth)<BR>
&gt;                        File<BR>
&gt;                 <BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;,<BR>
&gt;                     line 146, in __doRequest<BR>
&gt;                          persistent_auth=persistent_auth<BR>
&gt;                        File<BR>
&gt;                 <BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py&quot;, line<BR>
&gt;                     118, in doRequest<BR>
&gt;                          self.__manager.getCookiesJar()<BR>
&gt;                        File &quot;/usr/lib64/python2.6/httplib.py&quot;, line<BR>
&gt;                 914, in request<BR>
&gt;                          self._send_request(method, url, body,<BR>
&gt;                 headers)<BR>
&gt;                        File &quot;/usr/lib64/python2.6/httplib.py&quot;, line<BR>
&gt;                 951, in _send_request<BR>
&gt;                          self.endheaders()<BR>
&gt;                        File &quot;/usr/lib64/python2.6/httplib.py&quot;, line<BR>
&gt;                 908, in endheaders<BR>
&gt;                          self._send_output()<BR>
&gt;                        File &quot;/usr/lib64/python2.6/httplib.py&quot;, line<BR>
&gt;                 780, in _send_output<BR>
&gt;                          self.send(msg)<BR>
&gt;                        File &quot;/usr/lib64/python2.6/httplib.py&quot;, line<BR>
&gt;                 739, in send<BR>
&gt;                          self.connect()<BR>
&gt;                        File<BR>
&gt;                 <BR>
&gt;                 &quot;/usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py&quot;,<BR>
&gt;                     line 72, in connect<BR>
&gt;                          &quot;any of the names in the server certificate.&quot;<BR>
&gt;                 % self.host)<BR>
&gt;                     HTTPException: The host name<BR>
&gt;                 &quot;ovirt-admin-hosted.xxxxx.xxx.edu<BR>
&gt;                 <BR>
&gt;                     &lt;http://ovirt-admin-hosted.xxvsnet.gmu.edu&gt;&quot;<BR>
&gt;                 contained in the URL<BR>
&gt;                     doesn't match any of the names in the server<BR>
&gt;                 certificate.<BR>
&gt;                     2014-10-27 12:55:50 ERROR otopi.context<BR>
&gt;                 context._executeMethod:161<BR>
&gt;                     Failed to execute stage 'Closing up': The host<BR>
&gt;                 name<BR>
&gt;                     &quot;ovirt-admin-hosted.xxxxx.xxx.edu<BR>
&gt;                     &lt;http://ovirt-admin-hosted.vsnet.gmu.edu&gt;&quot;<BR>
&gt;                 contained in the URL<BR>
&gt;                     doesn't match any of the names in the server<BR>
&gt;                 certificate.<BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                   I have a functional copy of my original engine in<BR>
&gt;                 the VM but it is not<BR>
&gt;                 hosted.<BR>
&gt;                 <BR>
&gt;                 Any ideas/Pointers?<BR>
&gt;                 <BR>
&gt;         <BR>
&gt;         - seems like you're restoring the engine on machine with<BR>
&gt;         different URL, so the certificates from the backup don't match<BR>
&gt;         <BR>
&gt;         --Jirka<BR>
&gt;         <BR>
&gt;                 <BR>
&gt;                 -Alastair<BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 <BR>
&gt;                 _______________________________________________<BR>
&gt;                 Users mailing list<BR>
&gt;                 <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><BR>
&gt;                 <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><BR>
&gt;                 <BR>
&gt;         <BR>
&gt; <BR>
&gt; <BR>
&gt; _______________________________________________<BR>
&gt; Users mailing list<BR>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><BR>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><BR>
&gt; <BR>
&gt; <BR>

    <br />
<br />
<font size="1">
NOTICE: This email and any attachments may contain confidential and proprietary information of NetSuite Inc. and is for the sole use of the intended recipient for the stated purpose. Any improper use or distribution is prohibited. If you are not the intended recipient, please notify the sender; do not review, copy or distribute; and promptly delete or destroy all transmitted information. Please note that all communications and information transmitted through this email system may be monitored and retained by NetSuite or its agents and that all incoming email is automatically scanned by a third party spam and filtering service which may result in deletion of a legitimate e-mail before it is read by the intended recipient.</font>
</body></HTML>