MAAS fails to startup when installed from deb package and vault is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Christian Grabowski | ||
3.3 |
Fix Released
|
Critical
|
Christian Grabowski | ||
3.4 |
Fix Released
|
Critical
|
Christian Grabowski |
Bug Description
Since this execution: http://
The regiond start up fails with: PermissionError: [Errno 13] Permission denied: '/etc/maas/
maas-system-
Full Traceback:
2022-12-05 19:55:49 maasserver.
2022-12-05 19:55:49 maasserver.
2022-12-05 19:55:51 maasserver.
2022-12-05 19:55:51 maasserver.
Traceback (most recent call last):
File "/usr/lib/
yield deferToDatabase
File "/usr/lib/
result = inContext.theWork() # type: ignore[
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args, **kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
migrate_
File "/usr/lib/
with RegionConfigura
File "/usr/lib/
next(self.gen)
File "/usr/lib/
with cls.backend.
File "/usr/lib/
next(self.gen)
File "/usr/lib/
configfile.
File "/usr/lib/
atomic_write(
File "/usr/lib/
temp_file = _write_
File "/usr/lib/
temp_fd, temp_file = tempfile.mkstemp(
File "/usr/lib/
return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/lib/
fd = _os.open(file, flags, 0o600)
PermissionError: [Errno 13] Permission denied: '/etc/maas/
Related branches
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 47 lines (+7/-0)3 files modifieddebian/maas-common.postinst (+5/-0)
debian/maas-rack-controller.postinst (+1/-0)
debian/maas-region-api.postinst (+1/-0)
Changed in maas: | |
status: | New → Triaged |
milestone: | none → 3.3.0 |
importance: | Undecided → Critical |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |