Missing Binary Commands don't log in a sane way
Bug #1677742 reported by
Matthew Treinish
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
When running neutron in an environment with a missing binary command run by a linux agent the failure mode is far from clear. For example:
http://
Is what was logged on my system when I didn't have ipset installed. It's not clear at all from this error message or stack trace that was the cause of failure. The only way I was able to figure this out was to switch the default rootwrap-daemon config file to DEBUG level and use syslog to actually see the missing executable error message.
You shouldn't need to modify the default log levels to see the cause of a fatal error like a missing binary command.
description: | updated |
To post a comment you must log in.
Seems execute_ rootwrap_ daemon( ) should catch the error and print something useful at a higher log level, seems doable.