Author: fapeeler
Date: Mon Jul 26 20:01:35 2010
New Revision: 979421

URL: http://svn.apache.org/viewvc?rev=979421&view=rev
Log:
VCL-239

fixed issue with detecting when node is done with postscripts


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

Modified: 
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT2.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT2.pm?rev=979421&r1=979420&r2=979421&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT2.pm 
(original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT2.pm Mon 
Jul 26 20:01:35 2010
@@ -623,7 +623,10 @@ sub load {
                        }
                } ## end if (!$s1)
                if ($s1 && !$s2) {
-                       if ($status !~ /install|unknown/ || $status =~ 
/partimage-ng: complete/) {
+                       if ($status =~ /installing|unknown/){
+                               notify($ERRORS{'OK'}, 0, "$computer_node_name 
is still installing: $status");
+                       }
+                       if ($status =~ /ping boot|noping/ || $status =~ 
/partimage-ng: complete/) {
                                notify($ERRORS{'OK'}, 0, "$computer_node_name 
is finished installing: $status");
                                insertloadlog($reservation_id, $computer_id, 
"bootstate", "node in boot state completed imaging process - proceeding to next 
round");
                                $s2 = 2;


Reply via email to