maas-django.log filled with useless twisted ERROR messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
For example:
ERROR 2014-09-28 18:42:48,392 twisted {}
ERROR 2014-09-28 18:42:50,100 twisted {}
ERROR 2014-09-28 19:42:49,835 twisted {}
ERROR 2014-09-28 19:42:53,146 twisted {}
ERROR 2014-09-28 20:42:47,728 twisted {}
ERROR 2014-09-28 20:42:50,675 twisted {}
ERROR 2014-09-28 21:42:51,085 twisted {}
ERROR 2014-09-28 21:42:54,084 twisted {}
Since this is happening every hour, I'm guessing this is something to do with src/maasserver/
932 class ImportResources
933 """Service to periodically import boot resources.
934
935 This will run immediately when it's started, then once again every hour,
936 though the interval can be overridden by passing it to the constructor.
937 """
938
939 def __init__(self, interval=(60 * 60)):
940 super(ImportRes
941 interval, deferToThread, _import_resources)
I haven't investigated where the error is coming from exactly, though.
At the very least, this is not ERROR level logging, since it's just unhelpful noise.
If it happens when the service starts, that's a useful way to debug. Divide
and conquer.