MAAS 3.4 RC (Aug 2nd 2023) breaks DNS
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | Status tracked in 3.5 | |||||
3.3 |
Fix Committed
|
Critical
|
Christian Grabowski | |||
3.4 |
Fix Released
|
Critical
|
Christian Grabowski | |||
3.5 |
Fix Committed
|
Critical
|
Christian Grabowski |
Bug Description
After the MAAS snap in the 3.4/beta channel auto-upgraded to the 3.4.0~rc1-
Restarting or reloading the MAAS snap will populate the zone files and get queries for the new records to resolve, but this action causes in-flight PXE deployments to crash as all of MAAS restarts. This solution also isn't practical for us since we deploy Kubernetes clusters with MAAS and need DNS to work immediately, otherwise the cluster fails to build.
As I suspected that maybe this had something to do with AppArmor, I tried disabling it and setting the profiles to complain mode, but none of these had any positive effect. So this was rolled back to the original AppArmor configuration.
Regiond logs are attached.
Related branches
- MAAS Lander: Approve
- Christian Grabowski: Approve
-
Diff: 47 lines (+6/-5)2 files modifiedsrc/maasserver/region_controller.py (+4/-1)
src/maasserver/tests/test_region_controller.py (+2/-4)
- Christian Grabowski: Approve
-
Diff: 47 lines (+6/-5)2 files modifiedsrc/maasserver/region_controller.py (+4/-1)
src/maasserver/tests/test_region_controller.py (+2/-4)
- MAAS Lander: Approve
- Alberto Donato: Approve
-
Diff: 47 lines (+6/-5)2 files modifiedsrc/maasserver/region_controller.py (+4/-1)
src/maasserver/tests/test_region_controller.py (+2/-4)
seems there's a DB query outside of a database thread.