MAAS 3.4 installed with deb fails to start the rack due to permission error
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | Status tracked in 3.5 | |||||
3.3 |
Fix Committed
|
Critical
|
Jacopo Rota | |||
3.4 |
Fix Released
|
Critical
|
Jacopo Rota | |||
3.5 |
Fix Committed
|
High
|
Jacopo Rota |
Bug Description
MAAS 3.4 rack controller fails to start after a fresh installation with deb on ubuntu 22.04 due to
Traceback (most recent call last):
File "/usr/sbin/rackd", line 33, in <module>
sys.
File "/usr/lib/
runService(
File "/usr/lib/
UnixApplica
File "/usr/lib/
self.
File "/usr/lib/
ser = plg.makeService
File "/usr/lib/
secret = MAAS_SHARED_
File "/usr/lib/
self.
File "/usr/lib/
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/usr/lib/
return self._accessor.
PermissionError: [Errno 13] Permission denied: '/var/lib/
How to reproduce:
Install the region controller:
apt-add-repository ppa:maas/3.4-next
apt update
apt install maas-region-
maas createadmin
Install the rack controller on another machine:
apt-add-repository ppa:maas/3.4-next
apt update
apt install maas-rack-
maas-rack register --url http://
Related branches
- MAAS Lander: Needs Fixing
- Alberto Donato: Approve
-
Diff: 26 lines (+6/-1)2 files modifiedsrc/provisioningserver/utils/env.py (+1/-1)
src/provisioningserver/utils/pytest_tests/test_env.py (+5/-0)
- MAAS Lander: Needs Fixing
- Alberto Donato: Approve
-
Diff: 26 lines (+6/-1)2 files modifiedsrc/provisioningserver/utils/env.py (+1/-1)
src/tests/provisioningserver/utils/test_env.py (+5/-0)
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 26 lines (+6/-1)2 files modifiedsrc/provisioningserver/utils/env.py (+1/-1)
src/tests/provisioningserver/utils/test_env.py (+5/-0)
description: | updated |
description: | updated |
Changed in maas: | |
milestone: | none → 3.4.0 |