From 179a62145be1d9c46d23a1978c220cc40834db5f Mon Sep 17 00:00:00 2001 From: ligc Date: Wed, 29 Jan 2014 10:02:13 -0600 Subject: [PATCH 1/2] fix for a typo in confignics, caused ib configuration problems --- xCAT/postscripts/confignics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/confignics b/xCAT/postscripts/confignics index 0b2d607dd..79f88d867 100755 --- a/xCAT/postscripts/confignics +++ b/xCAT/postscripts/confignics @@ -282,7 +282,7 @@ do else if [ `echo $key | grep -E '(eth|en)[0-9]+'` ];then str_nic_type="ethernet" - elif [ `echo $KEY | grep -E 'ib[0-9]+'` ];then + elif [ `echo $key | grep -E 'ib[0-9]+'` ];then str_nic_type="infiniband" else logger -t xcat -p local4.info "confignics: unknown nic type for $key: $str_value ." From ac83cbe42871402c7f5ad5b74a1c956456c6075f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 30 Jan 2014 13:00:42 -0500 Subject: [PATCH 2/2] _clear_cache was removed long ago. _build_cache does all the needed work itself, so skip _build_cache. --- perl-xCAT/xCAT/NodeRange.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index 1a34b912b..f03a47518 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -149,7 +149,7 @@ sub nodesbycriteria { } if ($neednewcache) { if ($nodelist) { - $nodelist->_clear_cache(); + #$nodelist->_clear_cache(); $nodelist->_build_cache(\@cachedcolumns); } }