[2.2] MAAS region controller unable to update NTP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella | ||
2.1 |
Won't Fix
|
Critical
|
Gavin Panella |
Bug Description
Hi,
I get this error in /ver/log/
2016-12-16 08:21:54 maasserver.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
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/
mode=0o644)
File "/usr/lib/
raise ExternalProcess
provisioningse
None
It appears that the region controller is trying to update ntp, but it is looking for the maas-rack command line which is not installed ( region and rack controllers are on separate machines ).
On the region controller, the following packages are installed.
root@region:
ii maas-cli 2.1.2+bzr5555-
ii maas-common 2.1.2+bzr5555-
ii maas-dns 2.1.2+bzr5555-
ii maas-proxy 2.1.2+bzr5555-
ii maas-region-api 2.1.2+bzr5555-
ii maas-region-
ii python3-django-maas 2.1.2+bzr5555-
ii python3-maas-client 2.1.2+bzr5555-
ii python3-
root@region:
The MAAS version is MAAS Version 2.1.2+bzr5555-
I can re-produce this problem on a fresh ubuntu install with
apt-add-repository ppa:maas/stable
apt-get install maas-region-
cd var/log/maas
tail -f regiond.log
Thanks
Pete
Related branches
- Blake Rouse (community): Approve
-
Diff: 311 lines (+240/-1)4 files modifiedscripts/maas-delete-file (+47/-0)
scripts/maas-write-file (+64/-0)
setup.py (+3/-1)
src/provisioningserver/utils/tests/test_fs.py (+126/-0)
- Blake Rouse (community): Approve
-
Diff: 30 lines (+5/-1)3 files modifieddebian/extras/99-maas-sudoers (+2/-0)
debian/maas-rack-controller.install (+2/-0)
debian/maas-rack-controller.lintian-overrides (+1/-1)
- Blake Rouse (community): Approve
-
Diff: 283 lines (+115/-21)4 files modifiedscripts/maas-delete-file (+13/-0)
scripts/maas-write-file (+13/-0)
src/provisioningserver/utils/fs.py (+37/-13)
src/provisioningserver/utils/tests/test_fs.py (+52/-8)
- Blake Rouse (community): Approve
-
Diff: 297 lines (+4/-233)3 files modifiedsrc/provisioningserver/__main__.py (+1/-7)
src/provisioningserver/utils/script.py (+0/-65)
src/provisioningserver/utils/tests/test_script.py (+3/-161)
- Blake Rouse (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifieddebian/extras/99-maas-sudoers (+1/-1)
- Andres Rodriguez (community): Approve
-
Diff: 57 lines (+8/-5)6 files modifieddebian/extras/99-maas-common-sudoers (+4/-0)
debian/extras/99-maas-sudoers (+0/-2)
debian/maas-common.install (+2/-0)
debian/maas-common.lintian-overrides (+1/-0)
debian/maas-rack-controller.install (+0/-2)
debian/maas-rack-controller.lintian-overrides (+1/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
importance: | High → Critical |
summary: |
- MAAS region controller unable to update NTP + [2.2] MAAS region controller unable to update NTP |
Changed in maas: | |
status: | Fix Committed → Fix Released |
While we sort out a proper fix you could work around this with:
sudo apt install maas-rack- controller
sudo systemctl stop maas-rackd.service
sudo systemctl disable maas-rackd.service