pserv can import celery configs erroneously
Bug #1086210 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
1.2 |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
maas-provision can import celery modules that, as a side effect, try to read celeryconfig.py. That module is not always available, e.g. on a dev system, or on a cluster controller that isn't also a region controller where celery hasn't been told to load the right config module, so that it may output inappropriate warnings.
Related branches
lp:~jtv/maas/defer-task-logger
- Gavin Panella (community): Approve
-
Diff: 352 lines (+63/-40)6 files modifiedsrc/provisioningserver/boot_images.py (+4/-4)
src/provisioningserver/dhcp/leases.py (+4/-4)
src/provisioningserver/start_cluster_controller.py (+18/-9)
src/provisioningserver/tags.py (+19/-16)
src/provisioningserver/tests/test_start_cluster_controller.py (+8/-1)
src/provisioningserver/tests/test_tags.py (+10/-6)
lp:~julian-edwards/maas/backport-r1353
- Julian Edwards (community): Approve
-
Diff: 526 lines (+143/-49)8 files modifiedsrc/maasserver/api.py (+10/-0)
src/maasserver/tests/test_api.py (+18/-0)
src/provisioningserver/boot_images.py (+4/-4)
src/provisioningserver/dhcp/leases.py (+4/-4)
src/provisioningserver/start_cluster_controller.py (+18/-9)
src/provisioningserver/tags.py (+38/-22)
src/provisioningserver/tests/test_start_cluster_controller.py (+8/-1)
src/provisioningserver/tests/test_tags.py (+43/-9)
Changed in maas: | |
status: | New → Fix Released |
importance: | Undecided → Critical |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
To post a comment you must log in.