]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: instructions for provisioning OpenStack VMs ad hoc 13368/head
authorNathan Cutler <ncutler@suse.com>
Sat, 11 Feb 2017 11:41:22 +0000 (12:41 +0100)
committerNathan Cutler <ncutler@suse.com>
Sat, 11 Feb 2017 17:57:33 +0000 (18:57 +0100)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
doc/dev/index.rst

index 27a28b24546298c4482fa85bf3f24208f5d29c9e..6f480f4b9a9e61e24197afe2faf325e2c7ecd2d8 100644 (file)
@@ -1297,6 +1297,33 @@ Even if you don't providing the ``--upload`` option, however, all the logs can
 still be found on the teuthology machine in the directory
 ``/usr/share/nginx/html``.
 
+Provision VMs ad hoc
+--------------------
+
+From the teuthology VM, it is possible to provision machines on an "ad hoc"
+basis, to use however you like. The magic incantation is::
+
+    teuthology-lock --lock-many $NUMBER_OF_MACHINES \
+        --os-type $OPERATING_SYSTEM \
+        --os-version $OS_VERSION \
+        --machine-type openstack \
+        --owner $EMAIL_ADDRESS
+
+The command must be issued from the ``~/teuthology`` directory. The possible
+values for ``OPERATING_SYSTEM`` AND ``OS_VERSION`` can be found by examining
+the contents of the directory ``teuthology/openstack/``. For example::
+
+    teuthology-lock --lock-many 1 --os-type ubuntu --os-version 16.04 \
+        --machine-type openstack --owner foo@example.com
+
+When you are finished with the machine, find it in the list of machines::
+
+    openstack server list
+
+to determine the name or ID, and then terminate it with::
+
+    openstack server delete $NAME_OR_ID
+
 Deploy a cluster for manual testing
 -----------------------------------