mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-08-25 09:27:36 +00:00
fix(node_actions): replace unstructured print_exc with logging in baremetal reboot (#1335)
Signed-off-by: Aastha-spec-tech <explorethings12345@gmail.com> Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com>
This commit is contained in:
co-authored by
Paige Patton
parent
354de0ff53
commit
3eda9f9afa
@@ -253,9 +253,9 @@ class bm_node_scenarios(abstract_node_scenarios):
|
||||
" %s. Test Failed. Most errors are caused by "
|
||||
"an incorrect ipmi address or login" % (e)
|
||||
)
|
||||
traceback.print_exc()
|
||||
logging.error(traceback.format_exc())
|
||||
logging.error("node_reboot_scenario injection failed!")
|
||||
raise e
|
||||
raise
|
||||
self.affected_nodes_status.affected_nodes.append(affected_node)
|
||||
|
||||
def node_disk_detach_attach_scenario(self, instance_kill_count, node, timeout, duration):
|
||||
|
||||
Reference in New Issue
Block a user