mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 11:42:05 +00:00
Merge pull request #5461 from bybai/bmc
check BMC state after BMCreboot in rflash -d
This commit is contained in:
commit
1b04e7141e
@ -2447,8 +2447,13 @@ sub deal_with_response {
|
||||
if ($node_info{$node}{cur_status} eq "RPOWER_RESET_RESPONSE" and defined $status_info{RPOWER_RESET_RESPONSE}{argv} and $status_info{RPOWER_RESET_RESPONSE}{argv} =~ /bmcreboot$/) {
|
||||
my $infomsg = "BMC $::POWER_STATE_REBOOT";
|
||||
xCAT::SvrUtils::sendmsg($infomsg, $callback, $node);
|
||||
$wait_node_num--;
|
||||
return;
|
||||
if ($::UPLOAD_ACTIVATE_STREAM) {
|
||||
retry_after($node, "RPOWER_BMC_CHECK_REQUEST", 15);
|
||||
return;
|
||||
}else{
|
||||
$wait_node_num--;
|
||||
return;
|
||||
}
|
||||
}
|
||||
$error = $::RESPONSE_SERVICE_TIMEOUT;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user