mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
modified depending on comments
This commit is contained in:
parent
06f178c7e7
commit
49d19b9017
@ -179,7 +179,7 @@ class OpenBMCPowerTask(ParallelNodesCommand):
|
||||
try:
|
||||
obmc.clear_dump('all')
|
||||
except (SelfServerException, SelfClientException) as e:
|
||||
self.callback.warn('%s: Could not clear BMC diagnostics successfully %s, ignoring...' % (node, e.message))
|
||||
self.callback.warn('%s: Could not clear BMC diagnostics successfully %s' % (node, e.message))
|
||||
|
||||
try:
|
||||
obmc.reboot_bmc(optype)
|
||||
|
@ -3879,7 +3879,7 @@ sub rspconfig_dump_response {
|
||||
my $dump_id = $status_info{RSPCONFIG_DUMP_CLEAR_RESPONSE}{argv};
|
||||
xCAT::MsgUtils->message("I", { data => ["[$dump_id] clear"] }, $callback) unless ($next_status{ $node_info{$node}{cur_status} });
|
||||
} else {
|
||||
my $error_msg = "Could not clear BMC diagnostics successfully (". $response_info->{'message'} . "), ignoring...";
|
||||
my $error_msg = "Could not clear BMC diagnostics successfully (". $response_info->{'message'} . ")";
|
||||
xCAT::MsgUtils->message("W", { data => ["$node: $error_msg"] }, $callback) if ($next_status{ $node_info{$node}{cur_status} });
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user