clusterd silently fails to start if there's a syntax error in the source code
Bug #1404905 reported by
Christian Reis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Low
|
Unassigned |
Bug Description
While debugging an odd maas failure, I hand-hacked a library file and ended up botching it with a syntax error. Upon trying to start the clusterd process it appeared to have succeeded, nothing was logged but no twistd was left running.
To post a comment you must log in.
(For all the detail, the actual file I hacked was /usr/lib/ python2. 7/dist- packages/ provisioningser ver/import_ images/ download_ resources. py and I put a maaslog.warn() statement missing quotes. But it shouldn't be hard to catch.)
My main concern is that we're actually not logging or telling the user about other more realistic failures in starting up the clusterd (such as no space on disk, etc).