Failed to update regiond's processes and endpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Christian Grabowski | ||
3.3 |
Fix Released
|
Critical
|
Anton Troyanov | ||
3.4 |
Fix Released
|
Critical
|
Anton Troyanov |
Bug Description
It seems that 996df30a06ab3c8
```
- return connection
+ return (connection, created)
```
Aug 30 08:54:39 maas maas-regiond[1350]: maasserver.ipc: [critical] Failed to update regiond's processes and endpoints; maas:pid=1350 record's may be out of date
Aug 30 08:54:39 maas maas-regiond[1350]: Traceback (most recent call last):
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: self.runUntilCu
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: call.func(
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: self._startRunC
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: self._runCallba
Aug 30 08:54:39 maas maas-regiond[1350]: --- <exception caught here> ---
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: current.result = callback( # type: ignore[misc]
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: failure.
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: self.raiseExcep
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: raise self.value.
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: result = inContext.theWork() # type: ignore[
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: inContext.theWork = lambda: context.call( # type: ignore[
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: return self.currentCon
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: return func(*args, **kw)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: return func(*args, **kwargs)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: result = func(*args, **kwargs)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: return func_outside_
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: return func(*args, **kwargs)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/usr/lib/
Aug 30 08:54:39 maas maas-regiond[1350]: return func(*args, **kwds)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: self._updateCon
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: result = func(*args, **kwargs)
Aug 30 08:54:39 maas maas-regiond[1350]: File "/snap/
Aug 30 08:54:39 maas maas-regiond[1350]: previous_
Aug 30 08:54:39 maas maas-regiond[1350]: builtins.
Related branches
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 61 lines (+41/-1)2 files modifiedsrc/maasserver/ipc.py (+1/-1)
src/maasserver/tests/test_ipc.py (+40/-0)
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 61 lines (+41/-1)2 files modifiedsrc/maasserver/ipc.py (+1/-1)
src/maasserver/tests/test_ipc.py (+40/-0)
- MAAS Lander: Approve
- Alberto Donato (community): Approve
-
Diff: 61 lines (+41/-1)2 files modifiedsrc/maasserver/ipc.py (+1/-1)
src/maasserver/tests/test_ipc.py (+40/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Christian Grabowski (cgrabowski) |
milestone: | none → 3.5.0 |
status: | Triaged → In Progress |
Changed in maas: | |
importance: | Critical → High |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This issue is currently seen on a customer environment after upgrading from MAAS 3.3.5 (3.3/stable) to 3.4 (3.4/stable and 3.4/edge).
Is there any workaround to stabilise MAAS ?
Out of 3 controllers in HA, I'm seeing always at least one or two regiond being crashing constantly with this error.