krkn
krkn copied to clipboard
etcd container kill scenario doesn't wait for the apiserver to become available
2023-04-21 16:44:27,328 [INFO] Executing scenarios for iteration 0
2023-04-21 16:44:27,328 [INFO] connection set up
127.0.0.1 - - [21/Apr/2023 16:44:27] "GET / HTTP/1.1" 200 -
2023-04-21 16:44:27,329 [INFO] response RUN
2023-04-21 16:44:27,330 [INFO] Running container scenarios
2023-04-21 16:44:27,843 [INFO] Killing container etcd in pod etcd-e28-h35-r750 (ns openshift-etcd)
2023-04-21 16:44:28,140 [INFO] Scenario kill etcd container successfully injected
^[[B2023-04-21 16:45:13,931 [WARNING] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection withou$
response'))': /api/v1/namespaces/openshift-etcd/pods?pretty=True
2023-04-21 16:45:14,033 [WARNING] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /a$
i/v1/namespaces/openshift-etcd/pods?pretty=True
2023-04-21 16:45:14,034 [WARNING] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f991506afd0>: Failed to est$
blish a new connection: [Errno 111] Connection refused')': /api/v1/namespaces/openshift-etcd/pods?pretty=True
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 95, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
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 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 363, in connect
self.sock = 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 0x7f9915029520>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/sno/e28-h35-r750/krkn/run_kraken.py", line 403, in
Also cerberus doesn't publish the apiserver failure status