2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

If status is Failed on activation, need to decrement and return

This commit is contained in:
Victor Hu 2017-10-05 15:22:35 -04:00
parent b51f4271ce
commit 834f22a69c

View File

@ -2112,6 +2112,8 @@ sub rflash_response {
if ($activation_state =~ /Software.Activation.Activations.Failed/) {
# Activation failed. Report error and exit
xCAT::SvrUtils::sendmsg([1,"Activation of firmware failed"], $callback, $node);
$wait_node_num--;
return;
}
elsif ($activation_state =~ /Software.Activation.Activations.Active/) {
if (scalar($priority_state) == 0) {