From a5913583ef19b208ae12e0a88bf46b44c5edfa67 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 May 2012 16:48:15 +0000 Subject: [PATCH] Fix problem where group membership at startup hounded xCAT commands eternally git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NodeRange.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index 4ad64033f..29cc2ec7d 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -243,6 +243,7 @@ sub expandatom { #TODO: implement table selection as an atom (nodetype.os==rhels { unless (scalar %allgrphash and (time() < ($allgrphashstamp+5))) { #build a group membership cache $allgrphashstamp=time(); + %allgrphash=(); my $nlent; foreach $nlent (@allnodeset) { my @groups=split(/,/,$nlent->{groups});