Author: arkurth
Date: Thu Jan 16 15:21:21 2014
New Revision: 1558832

URL: http://svn.apache.org/r1558832
Log:
VCL-594
Updated xCAT.pm::node_status to return 'RELOAD' if node.profile is not defined 
in the xCAT database.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm?rev=1558832&r1=1558831&r2=1558832&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm Thu Jan 16 
15:21:21 2014
@@ -724,8 +724,9 @@ sub node_status {
        # Make sure node.profile is configured
        my $node_profile = $node_info->{profile};
        if (!$node_profile) {
-               notify($ERRORS{'WARNING'}, 0, "unable to determine status of 
$computer_node_name, node.profile is not configured:\n" . 
format_data($node_info));
-               return;
+               my $return_value = 'RELOAD';
+               notify($ERRORS{'DEBUG'}, 0, "unable to determine status of 
$computer_node_name, node.profile is not configured:\n" . 
format_data($node_info) . "\nreturning '$return_value'");
+               return $return_value;
        }
        
        # Check if node.profile matches the reservation image name


Reply via email to