ironic/ironic/tests/unit/drivers/modules/redfish
Aija Jauntēva 870181f3ae Update `cleaning_error_handler`
Update `cleaning_error_handler` to match with
`deploying_error_handler` that logs all errors and optionally
separates between logged message and `last_error`.

Logged message usually contains node's uuid as there is no
context for node in stream of log entries. `last_error`
usually does not contain node's uuid as it is already
displayed in the context of node.

Impact:
* There were messages that were only added to node's last_error.
Now they are going to be logged too.
* No need to log explicitly before `cleaning_error_handler`. Such
occurrences have been removed.
* Where there were different message for log and last_error it
is kept. Where there was only 1 message, it is left as it is to
be both logged and updated in `last_error`.
* Exception logging is replaced with error logging with traceback.

Story: 2008307
Task: 41198
Change-Id: I813228fb47a51ee6c45b420322acabdf565ff752
2020-11-13 05:17:40 -05:00
..
__init__.py Add redfish driver 2017-04-21 11:06:24 +01:00
test_bios.py Fix redfish BIOS apply config error handling 2020-11-02 12:55:26 -05:00
test_boot.py Do not pass BOOTIF=None if no BOOTIF can be guessed 2020-10-13 15:16:43 +02:00
test_inspect.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_management.py Update `cleaning_error_handler` 2020-11-13 05:17:40 -05:00
test_power.py redfish: handle hardware that is unable to set persistent boot 2020-05-08 13:31:13 +02:00
test_utils.py Redfish driver firmware update 2020-09-28 15:12:53 -04:00