From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [OSSTEST PATCH 15/13] Plan reporting: Provide get-last-plan queuedaemon command Date: Thu, 3 Sep 2015 16:51:48 +0100 Message-ID: <21992.27796.878613.279161@mariner.uk.xensource.com> References: <1441208719-31336-1-git-send-email-ian.jackson@eu.citrix.com> <1441280951-8076-1-git-send-email-ian.jackson@eu.citrix.com> <1441280951-8076-2-git-send-email-ian.jackson@eu.citrix.com> <1441285511.26292.368.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZXWoX-0005Zx-BR for xen-devel@lists.xenproject.org; Thu, 03 Sep 2015 15:52:37 +0000 In-Reply-To: <1441285511.26292.368.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 15/13] Plan reporting: Provide get-last-plan queuedaemon command"): > On Thu, 2015-09-03 at 12:49 +0100, Ian Jackson wrote: > > This allows retrieval, by monitoring clients which are not > > participating in the planning queue, of the finished projection, or > > the unfinished plan as it was at the time of last restart. ... > > + file copy -force data-$w.pl data-$wo-final.pl > > IIRC there was code earlier which did smth like "cp data-plan.pl data > -projection.pl" during the take over and that if no resources come > available during a plan walk then no projection walk would happen. Yes. After patch 13 we have this: proc queuerun-finished/plan {} { runneeded-ensure-will 0 report-plan plan plan report-plan plan projection } report-plan X Y generates resource-Y.html from data-Y.pl. In 15/13 we make it also copy data-Y.pl to data-Y-final.pl. > It might be nicer to arrange for data-plan-final.pl to be copied > to data-projection-final.pl at the same time as data-plan.pl becomes data > -projection.pl? So this is already taken care of. Ian.