
The processor inspection tests actually are looking at the instruction set value and expecting it to be x86_64 while the processor architecture value is x86 which we map to i686. The current tests confuse this by mixing the two different return values from the get_members() mock and the summary mock so it doesn't break things but later usage of redfish inspection breaks the existing hook tests so fix up the mocks to be consistent. The _get_processor_info() function additionally operates on an out-parameter which is a bit awkward in Python so use the more idiomatic return value to set the expected data. Lastly the cpus field on the node properties is not a typical field populated by other inspection methods so drop it entirely. Then match the behavior of ironic-inspector and ironic-python-agent by ensuring the architecture and count fields are always set in the cpu inventory data. Change-Id: Id99d6948f8bef73302281e84411b2263716a278f Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
10 lines
342 B
YAML
10 lines
342 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
When using the redfish inspection method, the node property ``cpus`` will no
|
|
longer be populated. No other inspection method populated this field.
|
|
fixes:
|
|
- |
|
|
When using the redfish inspection method, the node property ``cpu_arch`` is
|
|
now populated correctly with ``i686`` or ``x86_64`` for the processor.
|