Remove obsolete TODO
authorKlaus Aehlig <aehlig@google.com>
Thu, 27 Jun 2013 13:59:15 +0000 (15:59 +0200)
committerKlaus Aehlig <aehlig@google.com>
Mon, 1 Jul 2013 07:52:10 +0000 (09:52 +0200)
Originally, hroller started as a tool for offline maintenance only.
There it made sense to warn about instances still running. By now,
default planning is to migrate instance off the nodes to be rebooted,
with options for other behavior (like pretending that all instances
will be shut down before the actual reboots start). In that scenario
instances running is the normal situation, not something to be warned
about.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>

src/Ganeti/HTools/Program/Hroller.hs

index e0f56b0..44411bc 100644 (file)
@@ -239,8 +239,6 @@ main opts args = do
                    then Node.mkNodeGraph
                    else Node.mkRebootNodeGraph nlf
 
-  -- TODO: fail if instances are running (with option to warn only)
-
   nodeGraph <- case mkGraph nodes ilf of
                      Nothing -> exitErr "Cannot create node graph"
                      Just g -> return g