I have an operator that I want certified. The pipeline task get-supported-versions
is failing with the following logs
step-supported-version-check
++ cat config.yaml
++ yq -r .organization
- ORGANIZATION=certified-operators
++ ocp-version-info operators/ako-operator/1.5.2 certified-operators
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib64/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7914850ee0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='catalog.redhat.com', port=443): Max retries exceeded with url: /api/containers/v1/operators/indices?filter=organization%3D%3Dcertified-operators&ocp_versions_range=v4.6-v4.9&page_size=500&sort_by=ocp_version%5Bdesc%5D&include=data.ocp_version%2Cdata.path (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7914850ee0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/ocp-version-info", line 33, in
sys.exit(load_entry_point('operatorcert==1.0.0', 'console_scripts', 'ocp-version-info')())
File "/usr/local/lib/python3.9/site-packages/operatorcert/entrypoints/ocp_version_info.py", line 36, in main
version_info = ocp_version_info(bundle_path, args.pyxis_url, args.organization)
File "/usr/local/lib/python3.9/site-packages/operatorcert/init.py", line 159, in ocp_version_info
indices = get_supported_indices(
File "/usr/local/lib/python3.9/site-packages/operatorcert/init.py", line 118, in get_supported_indices
rsp = requests.get(url, params=params)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='catalog.redhat.com', port=443): Max retries exceeded with url: /api/containers/v1/operators/indices?filter=organization%3D%3Dcertified-operators&ocp_versions_range=v4.6-v4.9&page_size=500&sort_by=ocp_version%5Bdesc%5D&include=data.ocp_version%2Cdata.path (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7914850ee0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))