From 6d675203f6dd9180fd667253bf1f681e6b08911c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dato=20Sim=C3=B3?= <dato@google.com> Date: Mon, 14 Jan 2013 20:41:46 +0000 Subject: [PATCH] design-autorepair.rst: separate list of jobs with plus sign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commas are not valid characters in tags, hence they can't be use to separate the different job IDs; plus signs (+) are available, and not too bad. Signed-off-by: Dato SimΓ³ <dato@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- doc/design-autorepair.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/design-autorepair.rst b/doc/design-autorepair.rst index cf2b866ca..5ab446b15 100644 --- a/doc/design-autorepair.rst +++ b/doc/design-autorepair.rst @@ -134,8 +134,8 @@ to this instance for this ``id`` (we will "update" the tag by adding a the timestamp will never change for the same repair) ``jobs`` is the list of jobs already run or being run to repair the -instance. If the instance has just been put in pending state but no job -has run yet, this list is empty. +instance (separated by a plus sign, *+*). If the instance has just +been put in pending state but no job has run yet, this list is empty. This tag will be set by ganeti if an equivalent autorepair tag is present and a a repair is needed, or can be set by an external tool to @@ -150,8 +150,8 @@ ganeti:watcher:autorepair:result:<type>:<id>:<timestamp>:<result>:<jobs> (instance) If this tag is present a repair of type ``type`` has been performed on the instance and has been completed by ``timestamp``. The result is -either ``success``, ``failure`` or ``enoperm``, and jobs is a comma -separated list of jobs that were executed for this repair. +either ``success``, ``failure`` or ``enoperm``, and jobs is a +*+*-separated list of jobs that were executed for this repair. An ``enoperm`` result is returned when the repair was brought on until possible, but the repair type doesn't consent to proceed further. -- GitLab