From ec5be914c95b31789e69258718040af7c011bcc4 Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 27 Jun 2013 05:10:49 +0000 Subject: [PATCH] update node provision status based on the feedback of nodes instead of rpower/rnetboot git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++++ xCAT-server/lib/xcat/plugins/ipmi.pm | 2 ++ xCAT-server/lib/xcat/plugins/ipmi.pm.legacy | 2 ++ xCAT-server/lib/xcat/plugins/xen.pm | 2 ++ 4 files changed, 10 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 5fda1e917..8a6446657 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -5901,6 +5901,10 @@ sub dompa { } } } + + + #donot update node provision status (installing or netbooting) here + xCAT::Utils->filter_nostatusupdate(\%newnodestatus); #print "newstatus" . Dumper(\%newnodestatus); xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1); } diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 805d93eb8..38b3de9ce 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -6237,6 +6237,8 @@ sub process_request { } } } + #donot update node provision status (installing or netbooting) here + xCAT::Utils->filter_nostatusupdate(\%newnodestatus); #print "newstatus" . Dumper(\%newnodestatus); xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1); } diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm.legacy b/xCAT-server/lib/xcat/plugins/ipmi.pm.legacy index 1313d8ee0..82b307fe5 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm.legacy +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm.legacy @@ -6203,6 +6203,8 @@ sub process_request { } } } + #donot update node provision status (installing or netbooting) here + xCAT::Utils->filter_nostatusupdate(\%newnodestatus); #print "newstatus" . Dumper(\%newnodestatus); xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1); } diff --git a/xCAT-server/lib/xcat/plugins/xen.pm b/xCAT-server/lib/xcat/plugins/xen.pm index c8468d656..daf520a3a 100644 --- a/xCAT-server/lib/xcat/plugins/xen.pm +++ b/xCAT-server/lib/xcat/plugins/xen.pm @@ -871,6 +871,8 @@ sub process_request { } } } + #donot update node provision status (installing or netbooting) here + xCAT::Utils->filter_nostatusupdate(\%newnodestatus); #print "newstatus" . Dumper(\%newnodestatus); xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1); }