[2.5] No logs stored in /var/log/maas/rsyslog/
Bug #1790735 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
After the recent changes to syslog, now /var/log/
ubuntu@
total 0
This was obtained after machines had commissioned.
This issue was spotted after this commit [1] and causing the CI to fail [2]
[1]: https:/
[2]: http://
Related branches
~blake-rouse/maas:fix-1790735
Merged
into
maas:master
- Blake Rouse (community): Approve
-
Diff: 13 lines (+1/-1)1 file modifiedsrc/provisioningserver/templates/syslog/rsyslog.conf.template (+1/-1)
description: | updated |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Blake Rouse (blake-rouse) |
milestone: | none → 2.5.0beta1 |
tags: | added: rack-proxy track |
Changed in maas: | |
importance: | High → Critical |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Aside from the fact that there's no logging anymore in maas.log and /var/log/ maas/rackd. log, I started seeing a lot of these on rackd.log
2018-09-04 23:45:57 provisioningser ver.utils. services: [critical] Failed to update and/or record network interface configuration: [Errno 12] Cannot allocate memory; interfaces: None python3/ dist-packages/ twisted/ internet/ defer.py" , line 653, in _runCallbacks
current. result = callback( current. result, *args, **kw) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1442, in gotResult
_inlineCal lbacks( r, g, deferred) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1384, in _inlineCallbacks throwExceptionI ntoGenerator( g) python3/ dist-packages/ twisted/ python/ failure. py", line 408, in throwExceptionI ntoGenerator python3/ dist-packages/ provisioningser ver/utils/ services. py", line 1005, in updateInterfaces
interfaces = yield maybeDeferred( self.getInterfa ces) python3/ dist-packages/ twisted/ python/ threadpool. py", line 250, in inContext python3/ dist-packages/ twisted/ python/ threadpool. py", line 266, in <lambda>
inContext. theWork = lambda: context.call(ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 122, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 85, in callWithContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 233, in wrapper python3/ dist-packages/ provisioningser ver/utils/ network. py", line 1145, in get_all_ interfaces_ definition
iproute_ info = get_ip_route() python3/ dist-packages/ provisioningser ver/utils/ iproute. py", line 72, in get_ip_route python3/ dist-packages/ provisioningser ver/utils/ shell.py" , line 108, in call_and_check python3. 6/subprocess. py", line 709, in __init__
restore_ signals, start_new_session) python3. 6/subprocess. py", line 1275, in _execute_child
restore_ signals, start_new_session, preexec_fn)
builtins. OSError: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
File "/usr/lib/
["ip", "route", "list", "scope", "global"])
File "/usr/lib/
process = Popen(command, *args, stdout=PIPE, stderr=PIPE, **kwargs)
File "/usr/lib/
File "/usr/lib/
my wild guess, is that something with syslog is causing the increased memory consumption becuase there's no files written. Maybe they are all storage in memory which is causing the issue.