Created attachment 854397[details]
/var/log files
Description of problem:
some ERROR in vdsm-reg.log...
MainThread::DEBUG::2014-01-23 13:16:13,804::deployUtil::1552::root::getRemoteFile start. IP = 10.34.60.61 port = 443 fileName = "/engine.ssh.key.
txt"
MainThread::DEBUG::2014-01-23 13:16:13,808::deployUtil::1572::root::/engine.ssh.key.txt failed in HTTPS. Retrying using HTTP.
Traceback (most recent call last):
File "/usr/share/vdsm-reg/deployUtil.py", line 1565, in getRemoteFile
sock.connect((IP, nPort))
File "<string>", line 1, in connect
error: [Errno 101] Network is unreachable
MainThread::ERROR::2014-01-23 13:16:13,811::deployUtil::1585::root::Failed to fetch /engine.ssh.key.txt using http.
Traceback (most recent call last):
File "/usr/share/vdsm-reg/deployUtil.py", line 1581, in getRemoteFile
conn.request("GET", fileName)
File "/usr/lib64/python2.6/httplib.py", line 914, in request
File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
File "/usr/lib64/python2.6/httplib.py", line 739, in send
File "/usr/lib64/python2.6/httplib.py", line 720, in connect
File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
error: [Errno 101] Network is unreachable
MainThread::ERROR::2014-01-23 13:16:13,811::deployUtil::1598::root::Failed to fetch /engine.ssh.key.txt status
Although I can download the key manually from the node.
# openssl s_client -connect $ip:443
...
Start Time: 1390484809
Timeout : 300 (sec)
Verify return code: 19 (self signed certificate in certificate chain)
---
GET /engine.ssh.key.txt HTTP/1.1
Host: 10.34.60.61
HTTP/1.1 200 OK
Date: Thu, 23 Jan 2014 13:46:55 GMT
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 394
Connection: close
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDucG6wfCKrojVoY1RVUo9jyZlgdragWXDUoamnIi3i2q1GtJemeE0WS/FcOpmD4WHbkGCkPjOwzXSVWYQoH1jer4SM+8XYa4bUu5TgThZ00IqKkeZJLpAsGZgRflvST03rMZF0BZw/opqeX/LbA6XXgLkDoTdoYDGU+y/9ipLxxAhJp+FoDLHqLs6Ppax0seg/eCSv+NmD8/LFsdy7WMDDELI7iDXopsE+yM2nBEdYm56OMkya28BBOeRQnTK/IbCg1qOUn2yL2pVEhSTY0xGykbaxc4QpzY48hI1vVJOoHfnJ0MdXaejb5ZFM+GrKNFObRGzBOcHHan10O56BN1d ovirt-engine
closed
Version-Release number of selected component (if applicable):
cat /etc/ovirt-node-iso-release
oVirt Node Hypervisor release 3.0.3 (0.999.201401221941draft.el6)
How reproducible:
100%
Steps to Reproduce:
1. install this node version and see vdsm-reg.log
2.
3.
Actual results:
error in vdsm-reg.log
Expected results:
Additional info:
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.
Alon, I do not quite understand your comment 2: vdsm-reg (should) use blockingdhcp=True which (should) block network config until the leased IP address is valid.
Comment 6Douglas Schilling Landgraf
2014-01-31 14:12:03 UTC
Hi Jiri,
I am closing this for now since we don't have reproducer and looks like pretty particular case (no more reports on that). Please re-open in case you see it again or please provide access to machine.
From the vdsm-reg logs I see we include blockingdhcp=true:
::root::['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'em1', 'BOOTPROTO=dhcp', 'ONBOOT=yes', 'PEERNTP=yes', 'blockingdhcp=true']
Created attachment 854397 [details] /var/log files Description of problem: some ERROR in vdsm-reg.log... MainThread::DEBUG::2014-01-23 13:16:13,804::deployUtil::1552::root::getRemoteFile start. IP = 10.34.60.61 port = 443 fileName = "/engine.ssh.key. txt" MainThread::DEBUG::2014-01-23 13:16:13,808::deployUtil::1572::root::/engine.ssh.key.txt failed in HTTPS. Retrying using HTTP. Traceback (most recent call last): File "/usr/share/vdsm-reg/deployUtil.py", line 1565, in getRemoteFile sock.connect((IP, nPort)) File "<string>", line 1, in connect error: [Errno 101] Network is unreachable MainThread::ERROR::2014-01-23 13:16:13,811::deployUtil::1585::root::Failed to fetch /engine.ssh.key.txt using http. Traceback (most recent call last): File "/usr/share/vdsm-reg/deployUtil.py", line 1581, in getRemoteFile conn.request("GET", fileName) File "/usr/lib64/python2.6/httplib.py", line 914, in request File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output File "/usr/lib64/python2.6/httplib.py", line 739, in send File "/usr/lib64/python2.6/httplib.py", line 720, in connect File "/usr/lib64/python2.6/socket.py", line 567, in create_connection error: [Errno 101] Network is unreachable MainThread::ERROR::2014-01-23 13:16:13,811::deployUtil::1598::root::Failed to fetch /engine.ssh.key.txt status Although I can download the key manually from the node. # openssl s_client -connect $ip:443 ... Start Time: 1390484809 Timeout : 300 (sec) Verify return code: 19 (self signed certificate in certificate chain) --- GET /engine.ssh.key.txt HTTP/1.1 Host: 10.34.60.61 HTTP/1.1 200 OK Date: Thu, 23 Jan 2014 13:46:55 GMT Content-Type: text/plain;charset=ISO-8859-1 Content-Length: 394 Connection: close ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDucG6wfCKrojVoY1RVUo9jyZlgdragWXDUoamnIi3i2q1GtJemeE0WS/FcOpmD4WHbkGCkPjOwzXSVWYQoH1jer4SM+8XYa4bUu5TgThZ00IqKkeZJLpAsGZgRflvST03rMZF0BZw/opqeX/LbA6XXgLkDoTdoYDGU+y/9ipLxxAhJp+FoDLHqLs6Ppax0seg/eCSv+NmD8/LFsdy7WMDDELI7iDXopsE+yM2nBEdYm56OMkya28BBOeRQnTK/IbCg1qOUn2yL2pVEhSTY0xGykbaxc4QpzY48hI1vVJOoHfnJ0MdXaejb5ZFM+GrKNFObRGzBOcHHan10O56BN1d ovirt-engine closed Version-Release number of selected component (if applicable): cat /etc/ovirt-node-iso-release oVirt Node Hypervisor release 3.0.3 (0.999.201401221941draft.el6) How reproducible: 100% Steps to Reproduce: 1. install this node version and see vdsm-reg.log 2. 3. Actual results: error in vdsm-reg.log Expected results: Additional info: