From 30fad527b2cf9503e0352d21da5c0d225171e8c9 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 28 Aug 2017 18:34:16 -0400 Subject: [PATCH] Updates to scheduling workflow doc There are a few updates here: 1. Fix the size of one of the existing boxes to fit the text. 2. Add a note at the top that anything about alternatives is future work since that didn't merge in Pike. 3. Add a box to note the call from scheduler to placement to make the "claim". Change-Id: I8b6468766f4924d009b2567fe71c2f5d2733a6e3 --- doc/source/reference/scheduling.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/source/reference/scheduling.rst b/doc/source/reference/scheduling.rst index f4631535f2..1dea07ab30 100644 --- a/doc/source/reference/scheduling.rst +++ b/doc/source/reference/scheduling.rst @@ -25,11 +25,15 @@ Overview The scheduling process is described below. +.. note:: This is current as of the 16.0.0 Pike release. Any mention of + alternative hosts passed between the scheduler and conductor(s) is future + work. + .. actdiag:: actdiag { build-spec -> send-spec -> send-reqs -> query -> return-rps -> - create -> filter -> return-hosts -> send-hosts; + create -> filter -> claim -> return-hosts -> send-hosts; lane conductor { label = "Conductor"; @@ -40,7 +44,7 @@ The scheduling process is described below. lane scheduler { label = "Scheduler"; - send-reqs [label = "Submit resource requirements to placement", height = 38]; + send-reqs [label = "Submit resource requirements to placement", height = 64]; create [label = "Create a HostState object for each RP returned from Placement", height = 64]; filter [label = "Filter and weigh results", height = 38]; return-hosts [label = "Return a list of selected host & alternates, along with their allocations, to the conductor", height = 89]; @@ -50,6 +54,7 @@ The scheduling process is described below. label = "Placement"; query [label = "Query to determine the RPs representing compute nodes to satisfy requirements", height = 64]; return-rps [label = "Return list of resource providers and their corresponding allocations to scheduler", height = 89]; + claim [label = "Create allocations against selected compute node", height = 64]; } }