-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
-
False
-
False
-
-
5
-
-
-
-
-
-
Testable
convert2rhel fails with:
[03/09/2023 16:49:35] DEBUG - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/convert2rhel/main.py", line 90, in main systeminfo.system_info.resolve_system_info() File "/usr/lib/python2.7/site-packages/convert2rhel/systeminfo.py", line 127, in resolve_system_info self.has_internet_access = self._check_internet_access() File "/usr/lib/python2.7/site-packages/convert2rhel/systeminfo.py", line 389, in _check_internet_access response = urllib.request.urlopen(CHECK_INTERNET_CONNECTION_ADDRESS) File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.7/urllib2.py", line 1217, in do_open r = h.getresponse(buffering=True) File "/usr/lib64/python2.7/httplib.py", line 1144, in getresponse response.begin() File "/usr/lib64/python2.7/httplib.py", line 457, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.7/httplib.py", line 413, in _read_status line = self.fp.readline(_MAXLINE + 1) File "/usr/lib64/python2.7/socket.py", line 476, in readline data = self._sock.recv(self._rbufsize) error: [Errno 104] Connection reset by peer
This issue can be worked around by adding an entry in /etc/hosts:
- echo "127.0.0.1 static.redhat.com" >> /etc/hosts
This allows convert2rhel to move on.Checking internet connectivity using address 'http://static.redhat.com/test/rhel-networkmanager.txt'. WARNING - There was a problem while trying to connect to 'http://static.redhat.com/test/rhel-networkmanag er.txt' to check internet connectivity. This could be due to the host being offline, or the network block ing access to the endpoint... Some checks and actions will be skipped. [03/20/2023 16:12:40] FILE - Failed to retrieve data from host, reason: [Errno 111] Connection refused
- is related to
-
RHELC-967 breadcrumbs: source_os = null when an early check fails
- To Do
There are no Sub-Tasks for this issue.