fixed defect 2788747. It'l caused by 12 IHs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dc3230d60d
commit
cd47c9ef98
@ -904,7 +904,15 @@ sub lslic {
|
||||
|
||||
my $exp = shift;
|
||||
my $d = shift;
|
||||
my $timeout = shift;
|
||||
my $cmd = "lslic ";
|
||||
|
||||
##########################################
|
||||
# Use timeout from site table (if defined)
|
||||
##########################################
|
||||
if ( !defined( $timeout )) {
|
||||
$timeout = @$exp[7] * 3;
|
||||
}
|
||||
|
||||
#####################################
|
||||
# Command only support on CEC/BPAs
|
||||
@ -921,7 +929,7 @@ sub lslic {
|
||||
#####################################
|
||||
# Send command
|
||||
#####################################
|
||||
my $result = send_cmd( $exp, $cmd );
|
||||
my $result = send_cmd( $exp, $cmd , $timeout);
|
||||
return( $result );
|
||||
|
||||
}
|
||||
|
@ -350,7 +350,8 @@ sub rflash {
|
||||
my $exp = shift;
|
||||
my $hwtype = @$exp[2];
|
||||
my @result;
|
||||
|
||||
my $timeout = $request->{ppctimeout};
|
||||
|
||||
$packages_dir = $request->{opt}->{p};
|
||||
$activate = $request->{opt}->{activate};
|
||||
|
||||
@ -427,7 +428,7 @@ sub rflash {
|
||||
}
|
||||
dpush(\@value, [$hmc,"$mtms:component:$component!"]);
|
||||
|
||||
my $values = xCAT::PPCcli::lslic( $exp, $d );
|
||||
my $values = xCAT::PPCcli::lslic( $exp, $d, $timeout );
|
||||
my $Rc = shift(@$values);
|
||||
#####################################
|
||||
# Return error
|
||||
|
@ -38,6 +38,8 @@ Any previously activated code on the affected systems will be automatically acce
|
||||
|
||||
B<IMPORTANT!> If the power subsystem is recycled, all of its attached managed systems will be recycled.
|
||||
|
||||
If it outputs B<"Timeout waiting for prompt"> during the upgrade, please set the B<"ppctimeout"> larger in the B<site> table. After the upgrade, remeber to change it back. If run the B<"rflash"> command on an AIX management node, need to make sure the value of B<"useSSHonAIX"> is B<"yes"> in the site table.
|
||||
|
||||
=head1 B<Options>
|
||||
|
||||
=over 7
|
||||
|
Loading…
Reference in New Issue
Block a user