After belatedly realising that no engine for EL7 is planned for 3.5 I tried
using FC20:
I used a database called engine with user engine on the VM to restore to.
The engine-backup restore appeared to complete with no errors save the
canonical complaint about less that 16GB of memory being available.
However on completion the host the hosted-engine-deploy threw this error:
Failed to execute stage 'Closing up': The host name "
ovirt-admin-hosted.xxxxx.xxx.edu
<
http://ovirt-admin-hosted.vsnet.gmu.edu>"
contained in the URL doesn't match any of the names in the server
certificate.
from the setup log
> 2014-10-27 12:55:49 DEBUG otopi.ovirt_hosted_engine_setup.check_liveliness
> check_liveliness.isEngineUp:46 Checking for Engine health status
> 2014-10-27 12:55:50 INFO otopi.ovirt_hosted_engine_setup.check_liveliness
> check_liveliness.isEngineUp:64 Engine replied: DB Up!Welcome to Health
> Status!
> 2014-10-27 12:55:50 DEBUG otopi.context context._executeMethod:138 Stage
> closeup METHOD
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._closeup
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._getPKICert:89 Acquiring ca.crt from the engine
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._getPKICert:101 -----BEGIN CERTIFICATE-----
>
> MIID3DCCAsSgAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTzELMAkGA1UEBhMCVVMxFjAUBgNVBAoT
>
> DXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0LmdtdS5lZHUuNzIyNDcw
>
> IhcRMTMxMTExMTk1NTQ1KzAwMDAXDTIzMTExMDE5NTU0NVowTzELMAkGA1UEBhMCVVMxFjAUBgNV
>
> BAoTDXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0LmdtdS5lZHUuNzIy
>
> NDcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDAzjsdTOPIhruA/TvupQ+syMdVu8GT
>
> V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
> add_host._getSSHkey:111 Acquiring SSH key from the engine
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._getSSHkey:123 ssh-rsa
>
AAAAB3NzaC1yc2EAAAADAQABAAABAQCpmyaDlP8Kt/yDb/kB4OaIdPx2sgH8T5Ra6hBRGHMxnTtykajnDj9WMannNc0F3d0htvVQXPKZYxxsXxNeHq00Ga/agnCjsYM9EjzujdsBqvyOTjlVX3BVWhWGZu5yNxYwpvdQBRCzhHibgqaafWNRvaixUeO1VAlU+q5W4bZDxJwKui+Bf1dLuZw94zHKs3jiGFcQOegJUVYmWuLVh5GH6SNLMLdbJdr4B5MwlK8ItiOC9XgUdH0RxN56Y1PEUkLserNOW/FxsXuf+cbWRsMtVa5xj82AlDWQUjyQleC91Nl7FT3OHGU1nJf289EjzujdsBqvyOTjlVX3BV5
> ovirt-engine
> 2014-10-27 12:55:50 DEBUG otopi.transaction transaction._prepare:77
> preparing 'File transaction for '/root/.ssh/authorized_keys''
> 2014-10-27 12:55:50 DEBUG otopi.filetransaction
> filetransaction.prepare:194 file '/root/.ssh/authorized_keys' missing
> 2014-10-27 12:55:50 DEBUG otopi.transaction transaction.commit:159
> committing 'File transaction for '/root/.ssh/authorized_keys''
> 2014-10-27 12:55:50 DEBUG otopi.filetransaction filetransaction.commit:327
> Executing restorecon for /root/.ssh
> 2014-10-27 12:55:50 DEBUG otopi.filetransaction filetransaction.commit:341
> restorecon result rc=0, stdout=, stderr=
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> plugin.executeRaw:785 execute: ('/sbin/restorecon', '-r',
'/root/.ssh'),
> executable='None', cwd='None', env=None
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> plugin.executeRaw:803 execute-result: ('/sbin/restorecon', '-r',
> '/root/.ssh'), rc=0
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host plugin.execute:861
> execute-output: ('/sbin/restorecon', '-r', '/root/.ssh')
stdout:
>
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host plugin.execute:866
> execute-output: ('/sbin/restorecon', '-r', '/root/.ssh')
stderr:
>
> 2014-10-27 12:55:50 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._closeup:415 Connecting to the Engine
> 2014-10-27 12:55:50 DEBUG otopi.context context._executeMethod:152 method
> exception
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in
> _executeMethod
> method['method']()
> File
>
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py",
> line 426, in _closeup
> ca_file=self.cert,
> File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py", line 154, in
> __init__
> url=''
> File
> "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line
> 118, in request
> persistent_auth=self._persistent_auth)
> File
> "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line
> 146, in __doRequest
> persistent_auth=persistent_auth
> File "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py", line
> 118, in doRequest
> self.__manager.getCookiesJar()
> File "/usr/lib64/python2.6/httplib.py", line 914, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
> self.endheaders()
> File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
> self._send_output()
> File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
> self.send(msg)
> File "/usr/lib64/python2.6/httplib.py", line 739, in send
> self.connect()
> File "/usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py",
> line 72, in connect
> "any of the names in the server certificate." % self.host)
> HTTPException: The host name "ovirt-admin-hosted.xxxxx.xxx.edu
> <
http://ovirt-admin-hosted.xxvsnet.gmu.edu>" contained in the URL
doesn't
> match any of the names in the server certificate.
> 2014-10-27 12:55:50 ERROR otopi.context context._executeMethod:161 Failed
> to execute stage 'Closing up': The host name "
ovirt-admin-hosted.xxxxx.xxx.edu
<
http://ovirt-admin-hosted.vsnet.gmu.edu>"
contained in the URL doesn't match any of the names in the server
certificate.
I have a functional copy of my original engine in the VM but it is not
hosted.
Any ideas/Pointers?
-Alastair