ComputeCapabilitiesFilter doesn't provide enough information on failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Markus Zoeller (markus_z) |
Bug Description
ComputeCapabili
The code around here https:/
- the for loop on line #49 can only ever be iterating on range(0,1) which is "once", ie no need for a loop.
- the redefinition of "cap" makes it difficult to reason about what data is being worked on.
- the above-mentioned lack of logging.
I recommend checking the strength of the unit tests also, to give confidence that a refactoring doesn't introduce any regressions.
summary: |
- ComputeCapabilitiesFilter doesn't provide enough debug output on failure + ComputeCapabilitiesFilter doesn't provide enough information on failure |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
putting into wishlist state because it's not at straight forward 'fix this bug' kind of thing, but more about refactoring. Happy to land patches to clean this up, though in general refactoring like this is valid without bugs as long as we aren't in feature freeze.