hosted engine deploy failed 3.5 centos 6.5 host FC20 vm

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
VJ9IlFdqc/RhiV9YB6snYAF6MIeWKnW0eOL9jY/5TmfIqY/+rvYvLhPui1/612KoW9kEcZXUw0k-2
ntz1i+wHv5PEq1Cvn/G8mI9b56EFiiYPfAzcdKGbJ8iqafFPW71/612KoW9kEcZXUwyUXLHF01Yo
nQGAtjL+VGgY6jWaaFD4j/5XTkzfcybI8jAW8o97vfTrnmqe+2cvIUyip9l5KQJjblO6FDjpJJUC
MhyDEjJPCKAT1kW1f3E/t8lHD4UUsMpX4rB142oGwBo5st3sGlUks5fFLHtYjFTUYSSmTwOlnq+t
D8HFr01lAgMBAAGjgb0wgbowHQYDVR0OBBYEFFpdSy5ACG6PC8YtE8vGRYvSYyI6MHgGA1UdIwRx
MG+AFFpdSy5ACG6PC8YtE8vGRYvSYyI6oVOkUTBPMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNdnNu
ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3ZpcnQtYWRtaW4udnNuZXQuZ211LmVkdS43MjI0N4ICEAAw
DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKqhXoL/
jlVhw9qasoqMnJw6ypHjJQCVAukCHvwioHVz+XwvIcIGuod+rHOcvexPZyCkacU2sOaIPjnyv8mJ
sNQ4nKW/oGwUfiKBgsvjv+cHAaqcQNn7MI0VDL71ulYq8UpW0bX3n5fafbstbdN1K2uad3UZH0ae
pv+gLiCXIKTmTtRtHCiKAxVw7Nx48rN8jJyzbP0FoK0+uddrI4TSJDfa5F3USdiYCk/bPCLThDPe
UgpyVDXH11c+j+Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9DaVuroJyUO7OQOes3Uz54+QGc1A+Zewv+ 2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host 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

On 10/27/2014 06:22 PM, Alastair Neil wrote:
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 VJ9IlFdqc/RhiV9YB6snYAF6MIeWKnW0eOL9jY/5TmfIqY/+rvYvLhPui1/612KoW9kEcZXUw0k-2 ntz1i+wHv5PEq1Cvn/G8mI9b56EFiiYPfAzcdKGbJ8iqafFPW71/612KoW9kEcZXUwyUXLHF01Yo nQGAtjL+VGgY6jWaaFD4j/5XTkzfcybI8jAW8o97vfTrnmqe+2cvIUyip9l5KQJjblO6FDjpJJUC MhyDEjJPCKAT1kW1f3E/t8lHD4UUsMpX4rB142oGwBo5st3sGlUks5fFLHtYjFTUYSSmTwOlnq+t D8HFr01lAgMBAAGjgb0wgbowHQYDVR0OBBYEFFpdSy5ACG6PC8YtE8vGRYvSYyI6MHgGA1UdIwRx MG+AFFpdSy5ACG6PC8YtE8vGRYvSYyI6oVOkUTBPMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNdnNu ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3ZpcnQtYWRtaW4udnNuZXQuZ211LmVkdS43MjI0N4ICEAAw DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKqhXoL/ jlVhw9qasoqMnJw6ypHjJQCVAukCHvwioHVz+XwvIcIGuod+rHOcvexPZyCkacU2sOaIPjnyv8mJ sNQ4nKW/oGwUfiKBgsvjv+cHAaqcQNn7MI0VDL71ulYq8UpW0bX3n5fafbstbdN1K2uad3UZH0ae pv+gLiCXIKTmTtRtHCiKAxVw7Nx48rN8jJyzbP0FoK0+uddrI4TSJDfa5F3USdiYCk/bPCLThDPe UgpyVDXH11c+j+Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9DaVuroJyUO7OQOes3Uz54+QGc1A+Zewv+ 2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host 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?
- seems like you're restoring the engine on machine with different URL, so the certificates from the backup don't match --Jirka
-Alastair
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

OK I seem to be having some fundamental confusion about this migration. I have an existing ovirt 3.5 (upgraded from 3.4) setup with a Data Center containing four clusters, 3 VM clusters for 3 differenc classes of CPU hosts (Penryn, Nehalem, and SandyBridge). I also have a gluster storage cluster. There are 4 storage domains, an Export domain (Export-Dom1) nfs v1, and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS v3. As Gluster replica 2 is not considered adequate for the hosted-engine storage I created a volume in the gluster store and exported it as NFS. This is what I planned to use as the storage pool for the hosted engine. So far so good. I have tried the deployment several times now, and it fails with the following: [ ERROR ] Cannot automatically add the host to cluster None: HTTP Status
401 [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to cluster None
2014-10-29 15:26:11 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:502 Cannot add the host to cluster None Traceback (most recent call last): 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 134, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2014-10-29 15:26:11 ERROR otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:510 Cannot automatically add the host to cluster None: HTTP Status 401 2014-10-29 15:26:11 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 517, in _closeup cluster=cluster_name, RuntimeError: Cannot add the host to cluster None
The hosted-engine host cluster name it seems is set to "None", and then fails to add the host as there is no cluster "None" in the restored engine. Presumably the storage domain would need to be added too, however I don't ever seem to see any message about this I recall being prompted for a data-center name and even a storage-domain name, but not a cluster name, so am I missing a step. I could use some guidance as I am stumped. Is there some pre-migration tasks I am failing to do in the original engine? . On 29 October 2014 03:10, Jiri Moskovcak <jmoskovc@redhat.com> wrote:
On 10/27/2014 06:22 PM, Alastair Neil wrote:
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----- MIID3DCCAsSgAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwTzELMAkGA1UEBhMC VVMxFjAUBgNVBAoT DXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0Lmdt dS5lZHUuNzIyNDcw IhcRMTMxMTExMTk1NTQ1KzAwMDAXDTIzMTExMDE5NTU0NVowTzELMAkGA1UE BhMCVVMxFjAUBgNV BAoTDXZzbmV0LmdtdS5lZHUxKDAmBgNVBAMTH292aXJ0LWFkbWluLnZzbmV0 LmdtdS5lZHUuNzIy NDcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDAzjsdTOPIhruA /TvupQ+syMdVu8GT VJ9IlFdqc/RhiV9YB6snYAF6MIeWKnW0eOL9jY/5TmfIqY/+rvYvLhPui1/ 612KoW9kEcZXUw0k-2 ntz1i+wHv5PEq1Cvn/G8mI9b56EFiiYPfAzcdKGbJ8iqafFP W71/612KoW9kEcZXUwyUXLHF01Yo nQGAtjL+VGgY6jWaaFD4j/5XTkzfcybI8jAW8o97vfTrnmqe+ 2cvIUyip9l5KQJjblO6FDjpJJUC MhyDEjJPCKAT1kW1f3E/t8lHD4UUsMpX4rB142oGwBo5st3sGl Uks5fFLHtYjFTUYSSmTwOlnq+t D8HFr01lAgMBAAGjgb0wgbowHQYDVR0OBBYEFFpdSy5ACG6PC8YtE8vGRYvS YyI6MHgGA1UdIwRx MG+AFFpdSy5ACG6PC8YtE8vGRYvSYyI6oVOkUTBPMQswCQYDVQQGEwJVUzEWMBQ GA1UEChMNdnNu ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3ZpcnQtYWRtaW4udnNuZXQuZ211LmVk dS43MjI0N4ICEAAw DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZ IhvcNAQEFBQADggEBAKqhXoL/ jlVhw9qasoqMnJw6ypHjJQCVAukCHvwioHVz+XwvIcIGuod+ rHOcvexPZyCkacU2sOaIPjnyv8mJ sNQ4nKW/oGwUfiKBgsvjv+cHAaqcQNn7MI0VDL71ulYq8UpW0bX3 n5fafbstbdN1K2uad3UZH0ae pv+gLiCXIKTmTtRtHCiKAxVw7Nx48rN8jJyzbP0FoK0+uddrI4TSJDfa5F3USdiYCk/ bPCLThDPe UgpyVDXH11c+j+Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9D aVuroJyUO7OQOes3Uz54+QGc1A+Zewv+ 2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host 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/ agnCjsYM9EjzujdsBqvyOTjlVX3BVWhWGZu5yNxYwpvdQBRCzhHibgqaafWN RvaixUeO1VAlU+q5W4bZDxJwKui+Bf1dLuZw94zHKs3jiGFcQOegJUVYmW uLVh5GH6SNLMLdbJdr4B5MwlK8ItiOC9XgUdH0RxN56Y1PEUkLserNOW/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?
- seems like you're restoring the engine on machine with different URL, so the certificates from the backup don't match
--Jirka
-Alastair
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

<html><bodyHi Neil, I had very similar (maybe same issue). The problem was in conflict of jpackage repository and standard CentOS/RHEL repository: http://lists.ovirt.org/pipermail/users/2014-October/028349.html http://lists.ovirt.org/pipermail/users/2014-October/028348.html Don't you have the same issue? Cheers, Luf Alastair Neil píše v St 29. 10. 2014 v 15:58 -0400:
OK I seem to be having some fundamental confusion about this migration.
I have an existing ovirt 3.5 (upgraded from 3.4) setup with a Data Center containing four clusters, 3 VM clusters for 3 differenc classes of CPU hosts (Penryn, Nehalem, and SandyBridge). I also have a gluster storage cluster.
There are 4 storage domains, an Export domain (Export-Dom1) nfs v1, and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS v3.
As Gluster replica 2 is not considered adequate for the hosted-engine storage I created a volume in the gluster store and exported it as NFS. This is what I planned to use as the storage pool for the hosted engine. So far so good.
I have tried the deployment several times now, and it fails with the following:
[ ERROR ] Cannot automatically add the host to cluster None: HTTP Status 401 [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to cluster None
2014-10-29 15:26:11 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:502 Cannot add the host to cluster None Traceback (most recent call last): 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 134, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2014-10-29 15:26:11 ERROR otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:510 Cannot automatically add the host to cluster None: HTTP Status 401 2014-10-29 15:26:11 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 517, in _closeup cluster=cluster_name, RuntimeError: Cannot add the host to cluster None
The hosted-engine host cluster name it seems is set to "None", and then fails to add the host as there is no cluster "None" in the restored engine. Presumably the storage domain would need to be added too, however I don't ever seem to see any message about this
I recall being prompted for a data-center name and even a storage-domain name, but not a cluster name, so am I missing a step. I could use some guidance as I am stumped. Is there some pre-migration tasks I am failing to do in the original engine?
.
On 29 October 2014 03:10, Jiri Moskovcak <jmoskovc@redhat.com> wrote: On 10/27/2014 06:22 PM, Alastair Neil wrote: 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
VJ9IlFdqc/RhiV9YB6snYAF6MIeWKnW0eOL9jY/5TmfIqY/+rvYvLhPui1/612KoW9kEcZXUw0k-2 ntz1i +wHv5PEq1Cvn/G8mI9b56EFiiYPfAzcdKGbJ8iqafFPW71/612KoW9kEcZXUwyUXLHF01Yo nQGAtjL+VGgY6jWaaFD4j/5XTkzfcybI8jAW8o97vfTrnmqe +2cvIUyip9l5KQJjblO6FDjpJJUC
MhyDEjJPCKAT1kW1f3E/t8lHD4UUsMpX4rB142oGwBo5st3sGlUks5fFLHtYjFTUYSSmTwOlnq+t
D8HFr01lAgMBAAGjgb0wgbowHQYDVR0OBBYEFFpdSy5ACG6PC8YtE8vGRYvSYyI6MHgGA1UdIwRx MG +AFFpdSy5ACG6PC8YtE8vGRYvSYyI6oVOkUTBPMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNdnNu
ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3ZpcnQtYWRtaW4udnNuZXQuZ211LmVkdS43MjI0N4ICEAAw
DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKqhXoL/ jlVhw9qasoqMnJw6ypHjJQCVAukCHvwioHVz+XwvIcIGuod +rHOcvexPZyCkacU2sOaIPjnyv8mJ sNQ4nKW/oGwUfiKBgsvjv +cHAaqcQNn7MI0VDL71ulYq8UpW0bX3n5fafbstbdN1K2uad3UZH0ae pv+gLiCXIKTmTtRtHCiKAxVw7Nx48rN8jJyzbP0FoK0 +uddrI4TSJDfa5F3USdiYCk/bPCLThDPe UgpyVDXH11c+j +Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9DaVuroJyUO7OQOes3Uz54 +QGc1A+Zewv+ 2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.engine.add_host 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?
- seems like you're restoring the engine on machine with different URL, so the certificates from the backup don't match
--Jirka
-Alastair
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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 by NetSuite or its agents and that all incoming email is automatically scanned by a third party spam and filtering service </body></html>

Hi Alastair, I need the engine.log to debug it, because the actual problem is logged there. Thanks, Jirka On 10/29/2014 08:58 PM, Alastair Neil wrote:
OK I seem to be having some fundamental confusion about this migration.
I have an existing ovirt 3.5 (upgraded from 3.4) setup with a Data Center containing four clusters, 3 VM clusters for 3 differenc classes of CPU hosts (Penryn, Nehalem, and SandyBridge). I also have a gluster storage cluster.
There are 4 storage domains, an Export domain (Export-Dom1) nfs v1, and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS v3.
As Gluster replica 2 is not considered adequate for the hosted-engine storage I created a volume in the gluster store and exported it as NFS. This is what I planned to use as the storage pool for the hosted engine. So far so good.
I have tried the deployment several times now, and it fails with the following:
[ ERROR ] Cannot automatically add the host to cluster None: HTTP Status 401 [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to cluster None
2014-10-29 15:26:11 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:502 Cannot add the host to cluster None Traceback (most recent call last): 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 134, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2014-10-29 15:26:11 ERROR otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:510 Cannot automatically add the host to cluster None: HTTP Status 401 2014-10-29 15:26:11 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 517, in _closeup cluster=cluster_name, RuntimeError: Cannot add the host to cluster None
The hosted-engine host cluster name it seems is set to "None", and then fails to add the host as there is no cluster "None" in the restored engine. Presumably the storage domain would need to be added too, however I don't ever seem to see any message about this
I recall being prompted for a data-center name and even a storage-domain name, but not a cluster name, so am I missing a step. I could use some guidance as I am stumped. Is there some pre-migration tasks I am failing to do in the original engine?
.
On 29 October 2014 03:10, Jiri Moskovcak <jmoskovc@redhat.com <mailto:jmoskovc@redhat.com>> wrote:
On 10/27/2014 06:22 PM, Alastair Neil wrote:
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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__vsnet.gmu.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-----
MIID3DCCAsSgAwIBAgICEAAwDQYJKo__ZIhvcNAQEFBQAwTzELMAkGA1UEBhMC__VVMxFjAUBgNVBAoT
DXZzbmV0LmdtdS5lZHUxKDAmBgNVBA__MTH292aXJ0LWFkbWluLnZzbmV0Lmdt__dS5lZHUuNzIyNDcw
IhcRMTMxMTExMTk1NTQ1KzAwMDAXDT__IzMTExMDE5NTU0NVowTzELMAkGA1UE__BhMCVVMxFjAUBgNV
BAoTDXZzbmV0LmdtdS5lZHUxKDAmBg__NVBAMTH292aXJ0LWFkbWluLnZzbmV0__LmdtdS5lZHUuNzIy
NDcwggEiMA0GCSqGSIb3DQEBAQUAA4__IBDwAwggEKAoIBAQDAzjsdTOPIhruA__/TvupQ+syMdVu8GT
VJ9IlFdqc/__RhiV9YB6snYAF6MIeWKnW0eOL9jY/__5TmfIqY/+rvYvLhPui1/__612KoW9kEcZXUw0k-2
ntz1i+wHv5PEq1Cvn/__G8mI9b56EFiiYPfAzcdKGbJ8iqafFP__W71/612KoW9kEcZXUwyUXLHF01Yo
nQGAtjL+VGgY6jWaaFD4j/__5XTkzfcybI8jAW8o97vfTrnmqe+__2cvIUyip9l5KQJjblO6FDjpJJUC
MhyDEjJPCKAT1kW1f3E/__t8lHD4UUsMpX4rB142oGwBo5st3sGl__Uks5fFLHtYjFTUYSSmTwOlnq+t
D8HFr01lAgMBAAGjgb0wgbowHQYDVR__0OBBYEFFpdSy5ACG6PC8YtE8vGRYvS__YyI6MHgGA1UdIwRx
MG+__AFFpdSy5ACG6PC8YtE8vGRYvSYyI6o__VOkUTBPMQswCQYDVQQGEwJVUzEWMBQ__GA1UEChMNdnNu
ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3__ZpcnQtYWRtaW4udnNuZXQuZ211LmVk__dS43MjI0N4ICEAAw
DwYDVR0TAQH/BAUwAwEB/__zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZ__IhvcNAQEFBQADggEBAKqhXoL/
jlVhw9qasoqMnJw6ypHjJQCVAukCHv__wioHVz+XwvIcIGuod+__rHOcvexPZyCkacU2sOaIPjnyv8mJ
sNQ4nKW/oGwUfiKBgsvjv+__cHAaqcQNn7MI0VDL71ulYq8UpW0bX3__n5fafbstbdN1K2uad3UZH0ae
pv+__gLiCXIKTmTtRtHCiKAxVw7Nx48rN8j__JyzbP0FoK0+__uddrI4TSJDfa5F3USdiYCk/__bPCLThDPe
UgpyVDXH11c+j+__Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9D__aVuroJyUO7OQOes3Uz54+QGc1A+__Zewv+ 2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r__8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG otopi.plugins.ovirt_hosted___engine_setup.engine.add_host 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
AAAAB3NzaC1yc2EAAAADAQABAAABAQ__CpmyaDlP8Kt/yDb/__kB4OaIdPx2sgH8T5Ra6hBRGHMxnTty__kajnDj9WMannNc0F3d0htvVQXPKZYx__xsXxNeHq00Ga/__agnCjsYM9EjzujdsBqvyOTjlVX3BVW__hWGZu5yNxYwpvdQBRCzhHibgqaafWN__RvaixUeO1VAlU+q5W4bZDxJwKui+__Bf1dLuZw94zHKs3jiGFcQOegJUVYmW__uLVh5GH6SNLMLdbJdr4B5MwlK8ItiO__C9XgUdH0RxN56Y1PEUkLserNOW/__FxsXuf+__cbWRsMtVa5xj82AlDWQUjyQleC91Nl__7FT3OHGU1nJf289EjzujdsBqvyOTjl__VX3BV5 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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__xxvsnet.gmu.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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__vsnet.gmu.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?
- seems like you're restoring the engine on machine with different URL, so the certificates from the backup don't match
--Jirka
-Alastair
_________________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>

No need turned out to be pebkac, I had been using my domain account for so long I had the wrong admin account thus the hosted-engine failed to authenticate I have resolved the issue. On Fri Oct 31 2014 at 4:35:27 AM Jiri Moskovcak <jmoskovc@redhat.com> wrote:
Hi Alastair, I need the engine.log to debug it, because the actual problem is logged there.
Thanks, Jirka
OK I seem to be having some fundamental confusion about this migration.
I have an existing ovirt 3.5 (upgraded from 3.4) setup with a Data Center containing four clusters, 3 VM clusters for 3 differenc classes of CPU hosts (Penryn, Nehalem, and SandyBridge). I also have a gluster storage cluster.
There are 4 storage domains, an Export domain (Export-Dom1) nfs v1, and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS v3.
As Gluster replica 2 is not considered adequate for the hosted-engine storage I created a volume in the gluster store and exported it as NFS. This is what I planned to use as the storage pool for the hosted engine. So far so good.
I have tried the deployment several times now, and it fails with the following:
[ ERROR ] Cannot automatically add the host to cluster None: HTTP Status 401 [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to cluster None
2014-10-29 15:26:11 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:502 Cannot add the host to cluster None Traceback (most recent call last): File "/usr/share/ovirt-hosted-engine-setup/scripts/../
On 10/29/2014 08:58 PM, Alastair Neil wrote: 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 134, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2014-10-29 15:26:11 ERROR otopi.plugins.ovirt_hosted_engine_setup.engine.add_host add_host._closeup:510 Cannot automatically add the host to cluster None: HTTP Status 401 2014-10-29 15:26:11 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 517, in _closeup cluster=cluster_name, RuntimeError: Cannot add the host to cluster None
The hosted-engine host cluster name it seems is set to "None", and then fails to add the host as there is no cluster "None" in the restored engine. Presumably the storage domain would need to be added too, however I don't ever seem to see any message about this
I recall being prompted for a data-center name and even a storage-domain name, but not a cluster name, so am I missing a step. I could use some guidance as I am stumped. Is there some pre-migration tasks I am failing to do in the original engine?
.
On 29 October 2014 03:10, Jiri Moskovcak <jmoskovc@redhat.com <mailto:jmoskovc@redhat.com>> wrote:
On 10/27/2014 06:22 PM, Alastair Neil wrote:
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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__vsnet.gmu.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-----
MIID3DCCAsSgAwIBAgICEAAwDQYJKo__ZIhvcNAQEFBQAwTzELMAkGA1UEBhMC
__VVMxFjAUBgNVBAoT
DXZzbmV0LmdtdS5lZHUxKDAmBgNVBA__MTH292aXJ0LWFkbWluLnZzbmV0Lmdt
__dS5lZHUuNzIyNDcw
IhcRMTMxMTExMTk1NTQ1KzAwMDAXDT__IzMTExMDE5NTU0NVowTzELMAkGA1UE
__BhMCVVMxFjAUBgNV
BAoTDXZzbmV0LmdtdS5lZHUxKDAmBg__NVBAMTH292aXJ0LWFkbWluLnZzbmV0
__LmdtdS5lZHUuNzIy
NDcwggEiMA0GCSqGSIb3DQEBAQUAA4__IBDwAwggEKAoIBAQDAzjsdTOPIhruA
__/TvupQ+syMdVu8GT
VJ9IlFdqc/__RhiV9YB6snYAF6MIeWKnW0eOL9jY/_
_5TmfIqY/+rvYvLhPui1/__612KoW9kEcZXUw0k-2
ntz1i+wHv5PEq1Cvn/__G8mI9b56EFiiYPfAzcdKGbJ8iqafFP
__W71/612KoW9kEcZXUwyUXLHF01Yo
nQGAtjL+VGgY6jWaaFD4j/__5XTkzfcybI8jAW8o97vfTrnmqe+__
2cvIUyip9l5KQJjblO6FDjpJJUC
MhyDEjJPCKAT1kW1f3E/__t8lHD4UUsMpX4rB142oGwBo5st3sGl
__Uks5fFLHtYjFTUYSSmTwOlnq+t
D8HFr01lAgMBAAGjgb0wgbowHQYDVR__0OBBYEFFpdSy5ACG6PC8YtE8vGRYvS
__YyI6MHgGA1UdIwRx
MG+__AFFpdSy5ACG6PC8YtE8vGRYvSYyI6o__
VOkUTBPMQswCQYDVQQGEwJVUzEWMBQ__GA1UEChMNdnNu
ZXQuZ211LmVkdTEoMCYGA1UEAxMfb3__ZpcnQtYWRtaW4udnNuZXQuZ211LmVk
__dS43MjI0N4ICEAAw
DwYDVR0TAQH/BAUwAwEB/__zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZ
__IhvcNAQEFBQADggEBAKqhXoL/
jlVhw9qasoqMnJw6ypHjJQCVAukCHv__wioHVz+XwvIcIGuod+__
rHOcvexPZyCkacU2sOaIPjnyv8mJ
sNQ4nKW/oGwUfiKBgsvjv+__cHAaqcQNn7MI0VDL71ulYq8UpW0bX3
__n5fafbstbdN1K2uad3UZH0ae
pv+__gLiCXIKTmTtRtHCiKAxVw7Nx48rN8j__JyzbP0FoK0+__
uddrI4TSJDfa5F3USdiYCk/__bPCLThDPe
UgpyVDXH11c+j+__Bp8IKUvNLLw6gjBkDkPa6oS7qKIP9D
__aVuroJyUO7OQOes3Uz54+QGc1A+__Zewv+
2mgdbFVYcsm1qpxBYL6R5fK2ThMz4r__8= -----END CERTIFICATE----- 2014-10-27 12:55:50 DEBUG otopi.plugins.ovirt_hosted___engine_setup.engine.add_host 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
AAAAB3NzaC1yc2EAAAADAQABAAABAQ__CpmyaDlP8Kt/yDb/__
kB4OaIdPx2sgH8T5Ra6hBRGHMxnTty__kajnDj9WMannNc0F3d0htvVQXPKZYx __xsXxNeHq00Ga/__agnCjsYM9EjzujdsBqvyOTjlVX3BVW__ hWGZu5yNxYwpvdQBRCzhHibgqaafWN__RvaixUeO1VAlU+q5W4bZDxJwKui+__ Bf1dLuZw94zHKs3jiGFcQOegJUVYmW__uLVh5GH6SNLMLdbJdr4B5MwlK8ItiO __C9XgUdH0RxN56Y1PEUkLserNOW/__FxsXuf+__cbWRsMtVa5xj82AlDWQUjyQleC91Nl__ 7FT3OHGU1nJf289EjzujdsBqvyOTjl__VX3BV5
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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__xxvsnet.gmu.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.xxxxx.xxx.edu> <http://ovirt-admin-hosted.__vsnet.gmu.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?
- seems like you're restoring the engine on machine with different URL, so the certificates from the backup don't match
--Jirka
-Alastair
_________________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
participants (3)
-
Alastair Neil
-
Finstrle, Ludek
-
Jiri Moskovcak