[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 24/29] Manual allocation: Report better info in plan for rogue tasks



(This will only take effect as such tasks appear in the plan for the
first time.  Ie, once a rogue task is found, the plan is populated by
whatever version of the planner is running at that time.  So the
effect will not be immediately visible.)

Signed-off-by: Ian Jackson <iwj@xxxxxxxxxxxxxxxxxxxxxx>
---
v2: New patch
---
 ms-planner |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ms-planner b/ms-planner
index 47e0ea7..1f996a6 100755
--- a/ms-planner
+++ b/ms-planner
@@ -291,7 +291,10 @@ END
            $info= "(preparing)";
        } else {
            print DEBUG "rogue $reso $shareix: $arow->{owntaskid}\n";
-           $info= "rogue task $arow->{subtask}";
+           $info= "rogue task";
+           $info .= " $arow->{type} $arow->{refkey}";
+           $info .= " ($arow->{comment})" if defined $arow->{comment};
+           $info .= " $arow->{subtask}";
        }
        $plan->{Allocations}{$reskey}= {
             Task => $arow->{owntaskid},
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.