2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Improve messages for rflash

This commit is contained in:
Mark Gurevich 2019-05-21 14:11:20 -04:00
parent 2285bf6150
commit 54cd535f06

View File

@ -225,7 +225,7 @@ sub parse_args {
return (usage());
}
$request->{callback}->({ data => ["It may take considerable time to complete, depending on the number of systems being updated. In particular, power subsystem updates may take an hour or more if there are many attached managed systems. Please waiting. "] });
$request->{callback}->({ data => ["It may take considerable time to complete, depending on the number of systems being updated. In particular, power subsystem updates may take an hour or more if there are many attached managed systems. Please wait. "] });
if ($request->{hwtype} =~ /^(fsp|bpa)$/ && $opt{activate} =~ /^disruptive$/) {
$request->{callback}->({ data => ["You can find the log files in the /var/log/xcatd/dfm/rflash/."] });
@ -844,7 +844,7 @@ sub rflash {
}
push(@value, [ $hmc, "copy files to $hmc completely" ]);
push(@value, [ $hmc, "copying of files to $hmc completed" ]);
###############################################
# Now that all the stanzas files have been built and copied to the HMCs,
@ -886,7 +886,7 @@ sub rflash {
my $rsp = {};
$rsp->{data}->[0] = "Error from xdsh. Return Code = $::RUNCMD_RC";
xCAT::MsgUtils->message("S", $rsp, $::CALLBACK, 1);
dpush(\@value, [ $hmc, "failed to run xdsh" ]);
dpush(\@value, [ $hmc, "failed to run xdsh command - $cmd_hmc" ]);
push(@value, [ $hmc, $rsp->{data}->[0] ]);
push(@value, [ $hmc, "Failed to upgrade the firmware of $mtms_t on $hmc" ]);
return (\@value);