Description of problem: trying to register RHEV-H 6.3 node to RHEVM and it fails with the following log: MainThread::DEBUG::2012-06-10 21:01:32,930::deployUtil::1265::root::getRemoteFile start. IP = 10.35.97.65 port = 80 fileName = "/rhevm.ssh.key.txt" MainThread::DEBUG::2012-06-10 21:01:32,932::deployUtil::1285::root::/rhevm.ssh.key.txt failed in HTTPS. Retrying using HTTP. Traceback (most recent call last): File "/usr/share/vdsm-reg/deployUtil.py", line 1280, in getRemoteFile File "/usr/share/vdsm-reg/deployUtil.py", line 1124, in getSSLSocket File "/usr/lib64/python2.6/ssl.py", line 338, in wrap_socket File "/usr/lib64/python2.6/ssl.py", line 120, in __init__ File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake SSLError: [Errno 1] _ssl.c:490: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol MainThread::ERROR::2012-06-10 21:01:32,936::deployUtil::1310::root::Failed to fetch /rhevm.ssh.key.txt status 404 as you can see, it tries to download rhevm.ssh.key.txt and fails on 404 (file not found). on rhevm machine, the only ssh key file that gets generated during installation is: engine.ssh.key.txt under: /usr/share/ovirt-engine/resources/jboss/ROOT.war/engine.ssh.key.txt for sure, its RHEVM bug (installer) since, we support both 3.0 and 3.1 hosts, also, deployUtil is set to accept the following dict: REMOTE_SSH_KEY_FILE = ('/engine.ssh.key.txt', '/rhevm.ssh.key.txt')
I'd say we are missing a symbolic link, but it won't do anyway...
I think this was solved with the changes introduced for Fedora 17, as the server accepts both URLs now. See the following commit: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blobdiff;f=backend/manager/modules/root/src/main/webapp/WEB-INF/web.xml;h=1bfc6f9b6b782b84db98c6efd2deabfe86a27522;hp=68e0c4f8c52b6e79bbbdebc3f63a3cdde11d8ad7;hb=22032921e004c69eded531503e5b314bc8f87366;hpb=40d531204023b4c5233c20196fea2f5209f4d111 Take into account that there is still one file only, engine.ssh.key.txt, but the server understands both URLs. To verify it type these URLs in your browser, both should give exactly the same result: http://rhevm.example.com:8080/engine.ssh.key.txt http://rhevm.example.com:8080/rhevm.ssh.key.txt
*** Bug 808876 has been marked as a duplicate of this bug. ***