When an external command fails, the log doesn't give a clue about what went wrong.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
High
|
Unassigned |
Bug Description
We added ExternalProcess
I manually broke the DHCP restart task in /usr/lib/
@task
def restart_
"""Restart the DHCP server."""
call_
The log show this:
[2014-01-31 10:04:52,031: ERROR/MainProcess] Task provisioningser
Traceback (most recent call last):
File "/usr/lib/
R = retval = fun(*args, **kwargs)
File "/usr/lib/
return self.run(*args, **kwargs)
File "/usr/lib/
call_
File "/usr/lib/
return subprocess.
File "/usr/lib/
raise CalledProcessEr
ExternalProcess
No trace of the command run or the return code.
Marking this bug 'High' because this makes debugging failed external command particularly hard.