From 54cd535f0652f5c5736f03290725a5c3559adb17 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 21 May 2019 14:11:20 -0400 Subject: [PATCH] Improve messages for rflash --- perl-xCAT/xCAT/PPCrflash.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/PPCrflash.pm b/perl-xCAT/xCAT/PPCrflash.pm index 4e080174b..b80bb82e2 100644 --- a/perl-xCAT/xCAT/PPCrflash.pm +++ b/perl-xCAT/xCAT/PPCrflash.pm @@ -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);