From 01a79ef71ea606200ea121f19a5892c8e277446d Mon Sep 17 00:00:00 2001 From: mellor Date: Wed, 28 Mar 2012 12:24:51 +0000 Subject: [PATCH] defect 3504334 rollupdate fix rpower check for x86 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/rollupdate.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/rollupdate.pm b/xCAT-server/lib/xcat/plugins/rollupdate.pm index b21b44932..e2c73ddf6 100644 --- a/xCAT-server/lib/xcat/plugins/rollupdate.pm +++ b/xCAT-server/lib/xcat/plugins/rollupdate.pm @@ -2058,9 +2058,11 @@ sub runrollupdate { my $pwrstat = xCAT::Utils->runxcmd( $pwrstat_cmd, $::SUBREQ, -1, 1 ); foreach my $pline (@{$pwrstat}) { my ( $pnode, $pstat, $rest ) = split( /\s+/, $pline ); - if ( ( $pstat eq "Running" ) + if ( ( ! $pstat ) + || ( $pstat eq "Running" ) || ( $pstat eq "Shutting" ) - || ( $pstat eq "on" ) ) + || ( $pstat eq "on" ) + || ( $pstat eq "Error:" ) ) { $alldown = 0;