Missing dependencies for third-party driver causes exception traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
aeva black | ||
oslo-incubator |
Fix Released
|
High
|
Doug Hellmann | ||
stevedore |
Fix Released
|
High
|
Doug Hellmann |
Bug Description
Some operators (and the tools they employ) may consider an exception traceback in a service's log to be an indication of a serious problem.
When ironic's drivers are unable to be loaded (eg, due to a missing third-party library) they raise an exception to signal to stevedore that the plugin should not be loaded at all (loading a non-functional driver would cause the ironic-conductor service to advertise support for that driver). Here is an example of that traceback:
2014-03-27 06:56:56.132 13833 ERROR stevedore.extension [-] Could not load 'pxe_seamicro': PXEAndSeaMicroD
2014-03-27 06:56:56.133 13833 ERROR stevedore.extension [-] PXEAndSeaMicroD
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension Traceback (most recent call last):
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension File "/opt/stack/
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension verify_
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension File "/opt/stack/
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension verify_
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension File "/opt/stack/
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension obj = plugin(
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension File "/opt/stack/
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension raise exception.
2014-03-27 06:56:56.133 13833 TRACE stevedore.extension DriverNotFound: PXEAndSeaMicroD
This should be logged as a WARNING, not an ERROR, but currently, stevedore provides no mechanism for capturing these exceptions and selectively choosing what to log.
Changed in python-stevedore: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Doug Hellmann (doug-hellmann) |
Changed in oslo: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Doug Hellmann (doug-hellmann) |
milestone: | none → icehouse-rc1 |
Changed in oslo: | |
milestone: | icehouse-rc1 → 2014.1 |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-1 → 2014.2 |
Fixed in stevedore: /review. openstack. org/#/c/ 83509/
https:/