stevedore no longer raises KeyError for missing plugin
Bug #1187209 reported by
aeva black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
Low
|
aeva black |
Bug Description
Stevedore issue #15 ( https:/
https:/
There should probably also be a unit test to confirm the load continues to work without needing a try: block, even with missing plugins.
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ironic: | |
assignee: | nobody → Devananda van der Veen (devananda) |
milestone: | none → icehouse-2 |
Changed in ironic: | |
milestone: | icehouse-2 → none |
status: | Triaged → Invalid |
status: | Invalid → Triaged |
milestone: | none → icehouse-2 |
Changed in ironic: | |
milestone: | icehouse-2 → none |
To post a comment you must log in.
Confirmed that as of stevedore 0.13, extension_manager continues to raise KeyError for plugins which are not found.
The linked github issue seems to be gone (or it moved and I don't know how to find it). Wrapping the stevedore call inside our driver_loader to catch KeyError has been working fine thus far, so I am going to close this bug and continue to use the existing approach.