]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Add documentation for teuthology.yaml 400/head
authorZack Cerza <zack@redhat.com>
Tue, 6 Jan 2015 20:57:11 +0000 (13:57 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 6 Jan 2015 21:14:47 +0000 (14:14 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
docs/contents.rst
docs/siteconfig.rst [new file with mode: 0644]

index 5bf830f3d100b24bd3f8646d48679ea03f2bdccc..0920ac1d4fc0c54b419a36ea9bba266c70b4cadd 100644 (file)
@@ -5,6 +5,7 @@ Content Index
    :maxdepth: 2
 
    index.rst
+   siteconfig.rst
    INSTALL.rst
    LAB_SETUP.rst
    ChangeLog.rst
diff --git a/docs/siteconfig.rst b/docs/siteconfig.rst
new file mode 100644 (file)
index 0000000..a8621c3
--- /dev/null
@@ -0,0 +1,62 @@
+.. _site_config:
+
+Site and Client Configuration
+=============================
+
+Teuthology requires several configuration options to be set, and provides many other optional ones. They are looked for in ``~/.teuthology.yaml`` if it exists, or ``/etc/teuthology.yaml`` if it doesn't.
+
+Here is a sample configuration with many of the options set and documented::
+
+    # lab_domain: the domain name to append to all short hostnames
+    lab_domain: example.com
+
+    # The root directory to use for storage of all scheduled job logs and 
+    # other data.
+    archive_base: /home/teuthworker/archive
+
+    # The default machine_type value to use when not specified. Currently 
+    # only used by teuthology-suite.
+    default_machine_type: awesomebox
+
+    # The host and port to use for the beanstalkd queue. This is required 
+    # for scheduled jobs.
+    queue_host: localhost
+    queue_port: 11300
+
+    # The URL of the lock server (paddles). This is required for scheduled 
+    # jobs.
+    lock_server: http://paddles.example.com:8080/
+
+    # The URL of the results server (paddles).
+    results_server: http://paddles.example.com:8080/
+
+    # This URL of the results UI server (pulpito). You must of course use 
+    # paddles for pulpito to be useful.
+    results_ui_server: http://pulpito.example.com/
+
+    # Email address that will receive job results summaries.
+    results_email: ceph-qa@example.com
+
+    # Email address that job results summaries originate from
+    results_sending_email: teuthology@example.com
+
+    # Gitbuilder archive that stores e.g. ceph packages
+    gitbuilder_host: gitbuilder.example.com
+
+    # Where all git repos are considered to reside.
+    ceph_git_base_url: https://github.com/ceph/
+
+    # Where teuthology and ceph-qa-suite repos should be stored locally
+    src_base_path: /home/foo/src
+
+    # Whether or not teuthology-suite, when scheduling, should update 
+    # itself from git. This is disabled by default.
+    automated_scheduling: false
+
+    # How often, in seconds, teuthology-worker should poll its child job 
+    # processes
+    watchdog_interval: 120
+
+    # How long a scheduled job should be allowed to run, in seconds, before 
+    # it is killed by the worker process.
+    max_job_time: 259200