Bug 753571 - [ovirt-node] deployutil.py - rhevm.ssh.key.txt should be changed to engine.ssh.key.txt (currently, hard-coded)
Summary: [ovirt-node] deployutil.py - rhevm.ssh.key.txt should be changed to engine.ss...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: yeylon@redhat.com
URL:
Whiteboard: infra
Depends On:
Blocks: 752464
TreeView+ depends on / blocked
 
Reported: 2011-11-13 14:02 UTC by Haim
Modified: 2016-04-18 06:43 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-19 16:42:48 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Haim 2011-11-13 14:02:48 UTC
Description of problem:

scenario:

host installation fails. 

reason:

in deployutil.py, REMOTE_SSH_KEY_FILE is set hard-coded to rhevm.ssh.key.txt, where in ovirt-node host installation, file name was changed to engine.ssh.key.txt

git://git.fedorahosted.org 


Determining IP information for rhevm... done.


Sun, 13 Nov 2011 13:26:02 DEBUG    makeBridge return.
Sun, 13 Nov 2011 13:26:02 DEBUG    waitRouteRestore Entry. maxCount=60 targetIP:http://10.16.144.104:8080
Sun, 13 Nov 2011 13:26:02 DEBUG    ['/usr/bin/curl', '-s', '--connect-timeout', '10', '--max-filesize', '10', 'http://10.16.144.104:8080']
Sun, 13 Nov 2011 13:26:02 DEBUG    
Sun, 13 Nov 2011 13:26:02 DEBUG    
Sun, 13 Nov 2011 13:26:02 DEBUG     count=0
out=
err=
ret=63
Sun, 13 Nov 2011 13:26:03 DEBUG    waitRouteRestore Return. fReturn=True
Sun, 13 Nov 2011 13:26:03 DEBUG    <BSTRAP component='SetNetworking' status='OK' message='Created rhevm bridge.'/>
Sun, 13 Nov 2011 13:26:03 DEBUG    getAddress Entry. url=http://10.16.144.104:8080/
Sun, 13 Nov 2011 13:26:03 DEBUG    getAddress return. address=10.16.144.104 port=8080
Sun, 13 Nov 2011 13:26:03 DEBUG    getRemoteFile start. IP = 10.16.144.104 port = 8080 fileName = "/rhevm.ssh.key.txt"
Sun, 13 Nov 2011 13:26:03 DEBUG    /rhevm.ssh.key.txt failed in HTTPS. Retrying using HTTP.
Traceback (most recent call last):
  File "/tmp/deployUtil.py", line 1288, in getRemoteFile
    conn.sock = getSSLSocket(sock, certPath)
  File "/tmp/deployUtil.py", line 1132, in getSSLSocket
    cert_reqs=ssl.CERT_REQUIRED)
  File "/usr/lib64/python2.7/ssl.py", line 372, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib64/python2.7/ssl.py", line 132, in __init__
    ciphers)
SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
Sun, 13 Nov 2011 13:26:03 ERROR    Failed to fetch /rhevm.ssh.key.txt status 404
Sun, 13 Nov 2011 13:26:03 DEBUG    getRemoteFile end.
Sun, 13 Nov 2011 13:26:03 DEBUG    <BSTRAP component='SetSSHAccess' status='FAIL' message='Failed to retrieve server SSH key.'/>
Sun, 13 Nov 2011 13:26:03 ERROR    setSSHAccess test failed
Sun, 13 Nov 2011 13:26:03 DEBUG    <BSTRAP component='RHEV_INSTALL' status='FAIL'/>
Sun, 13 Nov 2011 13:26:03 DEBUG    **** End VDS Validation ****

Comment 1 Douglas Schilling Landgraf 2011-11-23 12:36:19 UTC
Patch available at: http://gerrit.ovirt.org/#patch,sidebyside,311,2,vdsm_reg/deployUtil.py.in

or 

http://gerrit.ovirt.org/311


Note You need to log in before you can comment on or make changes to this bug.