Fix problem where profilednodes would 'BUG' the discovery process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1236,7 +1236,11 @@ sub findme{ | ||||
|     %args_dict = (); | ||||
|     # Read DB to confirm the discover is started.  | ||||
|     my $sitetab = xCAT::Table->new('site'); | ||||
|     my $sitevaluesstr = $sitetab->getAttribs({'key'=>'__PCMDiscover'},('value'))->{'value'}; | ||||
|     my $stabent =  $sitetab->getAttribs({'key'=>'__PCMDiscover'},('value')); | ||||
|     my $sitevaluesstr; | ||||
|     if (ref $stabent) {  | ||||
|        $sitevaluesstr = $stabent->{'value'}; | ||||
|     } | ||||
|     unless ($sitevaluesstr){ | ||||
|         setrsp_errormsg("Profiled nodes discovery not started yet."); | ||||
|         return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user