[Users] Adding Host

Doron Fediuck dfediuck at redhat.com
Tue Mar 27 13:48:46 UTC 2012


According to the spec file:
vdsm.spec.in:%{_datadir}/%{vdsm_name}/netinfo.py*

Try to check if you have ir or maybe something went wrong.

On 27/03/12 15:44, Rene Rosenberger wrote:
> Package vdsm-4.9.6-0.10.git1ed0857.el6.x86_64 already installed and latest version
> 
> -----Ursprüngliche Nachricht-----
> Von: Doron Fediuck [mailto:dfediuck at redhat.com] 
> Gesendet: Dienstag, 27. März 2012 15:38
> An: Rene Rosenberger
> Cc: Haim Ateya; users at ovirt.org
> Betreff: Re: AW: AW: AW: AW: AW: AW: [Users] Adding Host
> 
> On 27/03/12 15:34, Rene Rosenberger wrote:
>> Hi,
>>
>> no, i mean this lines:
>>
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    Bridge ovirtmgmt not found, need to create it.
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress Entry. url=http://oVirt.dynetic.de:8080/Components/vds/
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress return. address=oVirt.dynetic.de port=8080
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    makeBridge begin.
>>> Tue, 27 Mar 2012 15:19:39 ERROR    makeBridge Failed to find vdsm modules!
>>> Tue, 27 Mar 2012 15:19:39 ERROR    addNetwork error trying to add management bridge
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    <BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add management bridge'/>
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Doron Fediuck [mailto:dfediuck at redhat.com] 
>> Gesendet: Dienstag, 27. März 2012 15:32
>> An: Rene Rosenberger
>> Cc: Haim Ateya; users at ovirt.org
>> Betreff: Re: AW: AW: AW: AW: AW: [Users] Adding Host
>>
>> On 27/03/12 15:26, Rene Rosenberger wrote:
>>> Hi,
>>>
>>> Seems like I fixed the hostname problem with an entry in /etc/hosts but now I get another error. It still does not work.
>>>
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    Basic configuration found, skipping this step
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    <BSTRAP component='CreateConf' status='OK' message='Basic configuration found, skipping this step'/>
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    <BSTRAP component='CheckLocalHostname' status='OK' message='Local hostname is correct.'/>
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    Bridge ovirtmgmt not found, need to create it.
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress Entry. url=http://oVirt.dynetic.de:8080/Components/vds/
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress return. address=oVirt.dynetic.de port=8080
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    makeBridge begin.
>>> Tue, 27 Mar 2012 15:19:39 ERROR    makeBridge Failed to find vdsm modules!
>>> Tue, 27 Mar 2012 15:19:39 ERROR    addNetwork error trying to add management bridge
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    <BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add management bridge'/>
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress Entry. url=http://oVirt.dynetic.de:8080/Components/vds/
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getAddress return. address=oVirt.dynetic.de port=8080
>>> Tue, 27 Mar 2012 15:19:39 DEBUG    getRemoteFile start. IP = oVirt.dynetic.de port = 8080 fileName = "/engine.ssh.key.txt"
>>> Tue, 27 Mar 2012 15:20:09 DEBUG    /engine.ssh.key.txt failed in HTTPS. Retrying using HTTP.
>>> Traceback (most recent call last):
>>>   File "/tmp/deployUtil.py", line 1341, in getRemoteFile
>>>     conn.sock = getSSLSocket(sock, certPath)
>>>   File "/tmp/deployUtil.py", line 1185, in getSSLSocket
>>>     cert_reqs=ssl.CERT_REQUIRED)
>>>   File "/usr/lib64/python2.6/ssl.py", line 338, in wrap_socket
>>>     suppress_ragged_eofs=suppress_ragged_eofs)
>>>   File "/usr/lib64/python2.6/ssl.py", line 120, in __init__
>>>     self.do_handshake()
>>>   File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake
>>>     self._sslobj.do_handshake()
>>> SSLError: _ssl.c:475: The handshake operation timed out
>>>
>>> Regards, rene
>>>
>>
>> This may not be the issue;
>> The host is trying to fetch the engine's public key file, and tries SSL first.
>> If it fails, it will fallback into HTTP which is just fine.
>> Take a look on the following lines and see how handle ssh key ended.
>> See if there's an error afterwards.
> 
> According to deployUtil code:
>     try:
>         sys.path.append(vdsmDir)
>         import netinfo # taken from vdsm rpm
>     except:
>         logging.error("getMGTIP: Failed to find vdsm modules!")
>         return strReturn
> 
> This means something went wrond and you do not have vdsm RPM installed.
> Please verify it.




More information about the Users mailing list