3243cac3fc
We've seen reports that extra data sometimes contains empty lists. There is no point to discard everything in this case. This change makes ironic-inspector log a warning for any item of incorrect length by default. The old behavior can be returned via [extra_hardware]strict. Also stops discarding the received data if parsing fails: maybe this data is not for us? Change-Id: I1af55fa4ec47b345479b9e5687ad480648e502ac
17 lines
609 B
YAML
17 lines
609 B
YAML
---
|
|
fixes:
|
|
- |
|
|
The ``extra_hardware`` processing hook no longer refuses to parse extra
|
|
data if some records are empty or have unexpected length. These records
|
|
are now discared.
|
|
|
|
The previous behavior can be returned by setting the new option
|
|
``[extra_hardware]strict`` to ``True``.
|
|
- |
|
|
The ``extra_hardware`` processing hook no longer removes the incoming
|
|
``data`` object if it has unexpected data format, assuming that this
|
|
object is used for something else.
|
|
|
|
The previous behavior can be returned by setting the new option
|
|
``[extra_hardware]strict`` to ``True``.
|