SSL SYSCALL error: EOF detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
While running MAAS commands on a deployment, we get the following error with no other indication of something being wrong.
2023-09-30-02:40:07 root DEBUG [localhost]: maas root tags create name=microk8s
2023-09-30-02:40:51 root DEBUG [localhost]: maas root tag update-nodes microk8s add=wpgrx6
2023-09-30-02:40:56 root ERROR [localhost] Command failed: maas root tag update-nodes microk8s add=wpgrx6
2023-09-30-02:40:56 root ERROR 1[localhost] STDOUT follows:
SSL SYSCALL error: EOF detected
On test run: https:/
Artifacts: https:/
MAAS Specific Artifacts: https:/
Running on MAAS Version: 3.4.0~rc2-
summary: |
- [3.4] SSL SYSCALL error: EOF detected + SSL SYSCALL error: EOF detected |
Changed in maas: | |
status: | Incomplete → New |
Right before that error, similar errors are reported in regiond.log on one unit (.32) due to disconnection from Postgres:
2023-09-30 02:40:37 provisioningser ver.rpc. common: [critical] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the b'GetController Type' command. [infra3: pid=2038237: cmd=GetControll erType: ask=cf] maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ internet/ asyncioreactor. py", line 271, in _onTimer runUntilCurrent () maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ internet/ base.py" , line 991, in runUntilCurrent func(*call. args, **call.kw) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ internet/ defer.py" , line 700, in errback _startRunCallba cks(fail) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ internet/ defer.py" , line 763, in _startRunCallbacks _runCallbacks( ) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ internet/ defer.py" , line 857, in _runCallbacks maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ protocols/ amp.py" , line 1138, in checkKnownErrors *command. allErrors) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ failure. py", line 451, in trap raiseException( ) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ failure. py", line 475, in raiseException with_traceback( self.tb) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 244, in inContext attr-defined] maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 260, in <lambda> theWork = lambda: context.call( # type: ignore[ attr-defined] maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 117, in callWithContext text(). callWithContext (ctx, func, *args, **kw) maas/30885/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 82, in callWithContext maas/30885/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 856, in callInContext maas/30885/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 203, in wrapper maas/30885/ lib/python3. 10/site- packages/ maasserver/ utils/orm. py", line 771, in call_within_ transaction txn(*args, **kwargs) maas/30885/ lib/python3. 10/site- packages/ maasserver/ utils/orm. py", line 574, in retrier python3. 10/contextlib. py", line 78, in inner cm(): maas/30885/ usr/lib/ python3/ dist-packages/ django/ db/transaction. py", line 207, in __enter__ .set_au. ..
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
call.
File "/snap/
self.
File "/snap/
self.
--- <exception caught here> ---
File "/snap/
current.result = callback( # type: ignore[misc]
File "/snap/
key = error.trap(
File "/snap/
self.
File "/snap/
raise self.value.
File "/snap/
result = inContext.theWork() # type: ignore[
File "/snap/
inContext.
File "/snap/
return self.currentCon
File "/snap/
return func(*args, **kw)
File "/snap/
return func(*args, **kwargs)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
return func_outside_
File "/snap/
return func(*args, **kwargs)
File "/usr/lib/
with self._recreate_
File "/snap/
connection