]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev: add section on interrupting a running suite 8116/head
authorNathan Cutler <ncutler@suse.com>
Tue, 15 Mar 2016 13:10:42 +0000 (14:10 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 15 Mar 2016 13:14:09 +0000 (14:14 +0100)
This commit adds a new section, entitled "Interrupt a running suite", to
the "Testing in the cloud" chapter.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
doc/dev/index.rst

index 0bd9e2ef0c8db0d79b3b399a6817101502637304..ca90c097d1504ff94a23b405e55579271238d090 100644 (file)
@@ -1097,6 +1097,29 @@ have to be built, first. Again, the packages so built are cached and
 `ceph-workbench ceph-qa-suite`_ will not build identical packages a second
 time.
 
+Interrupt a running suite
+-------------------------
+
+Teuthology suites take time to run. From time to time one may wish to
+interrupt a running suite. One obvious way to do this is::
+
+    ceph-workbench ceph-qa-suite --teardown
+
+This destroys all VMs created by `ceph-workbench ceph-qa-suite`_ and
+returns the OpenStack tenant to a "clean slate".
+
+Sometimes you may wish to interrupt the running suite, but keep the logs,
+the teuthology VM, the packages-repository VM, etc. To do this, you can
+``ssh`` to the teuthology VM (using the ``ssh access`` command reported
+when you triggered the suite -- see `Run the dummy suite`_) and, once
+there::
+
+    sudo /etc/init.d/teuthology restart
+
+This will keep the teuthology machine, the logs and the packages-repository
+instance but nuke everything else.
+
+
 .. WIP
 .. ===
 ..