Commit Graph

29 Commits

Author SHA1 Message Date
Loic Dachary
98e6d9c860 suite: add config.suite_verify_ceph_hash when no gitbuilder
The suite_verify_ceph_hash configuration option is added to disable the
gitbuilder package verifications.

If True, teuthology-suite verifies that a package matching the ceph
branch exists in the gitbuilder. If False, no verification is done and
teuthology-suite assumes the packages are either not necessary to run
the task or they are created on demand.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-31 11:13:14 +09:00
Loic Dachary
8264a88dea openstack: revert to zero volumes default
Volumes are rarely needed, having no volumes by default is sane.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-10-23 21:29:26 +02:00
Zack Cerza
6e5e47208f Merge pull request #640 from dachary/wip-13249-package-signatures
config: ~/teuthology.yaml check_package_signatures hint
2015-10-09 10:14:43 -06:00
Loic Dachary
e6915f3795 config: ~/teuthology.yaml check_package_signatures hint
If check_package_signatures is false, the tasks installing
packages (install, ceph-deploy, ...) are authorized to skip the package
signatures verifications.

Set this as the default for a cluster dynamically generated by the
OpenStack backend.

http://tracker.ceph.com/issues/13249 Refs: #13249

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-09 12:36:03 +02:00
Loic Dachary
2591f43f5f config: add ceph_git_url and ceph_qa_suite_git_url
The ~/.teuthology.yaml ceph_git_base_url configuration does not allow to
modify the URL of the Ceph repository without also modifying the URL of
the teuthology repository. Although it is frequently needed to point to
an alternate ceph or ceph-qa-suite repository, it is rarely necessary to
point to an alternate teuthology repository.

This is not a blocker: it is enough to mirror the teuthology,
ceph-cm-ansible, ceph-deploy and maybe a few other repositories to
satisfy this requirement. This is however inconvenient because the
exact list of repositories that need to be mirrored is not easily
accessible. In addition, unless the user is careful about updating the
mirrors prior to running teuthology, there is a good chance that an
obsolete version of the repository will be used and this may lead to
problems difficult to diagnose.

The git_ceph_url and git_ceph_qa_suite_url configuration variables are
added to specify the URL of the ceph and ceph-qa-suite repositories
without modifying the git_ceph_base_url value so that all other
repositories retain their default location.

For easier consumption within teuthology and ceph-qa-suite, the
get_git_ceph_url() and get_git_ceph_qa_suite_url() accessors are added
to the config class. They use the user provided value, if available, and
otherwise fallback to constructing the URL with git_ceph_base_url which
is the legacy behavior.

http://tracker.ceph.com/issues/11883 Fixes: #11883

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-07 00:41:16 +02:00
Loic Dachary
63c8e54ff5 openstack: clone from the teuthology master
Do not clone from an obsolete development branch by default.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-14 14:21:56 +02:00
Loic Dachary
a4f27bffaa openstack: make git clone configurable
When teuthology-openstack clone theuthology for the purpose of creating
the cluster, use the clone configuration value instead of a hardcoded value.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-03 00:02:39 +02:00
Loic Dachary
5cd8f8dd9e openstack: set config default and documentation
Add documentation for the ~/.teuthology.yaml OpenStack configuration
values and set reasonable defaults.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-03 00:02:39 +02:00
Zack Cerza
2742e98ed7 Merge pull request #572 from ivotron/doc-enhancement-on-lab-components
Documentation on lab components
2015-08-19 10:01:30 -06:00
Ivo Jimenez
e5bdf368d5 Adds documentation about components of a Ceph Lab 2015-08-18 18:15:41 -07:00
Loic Dachary
b0895a3629 implement teuthology_path similar to suite_path
In case we want to reference a local directory instead of reseting from
a clone of teuthology.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-07-19 08:37:19 +02:00
Loic Dachary
31bbe1e8ac expose the install._get_baseurl template in .teuthology.yaml
Instead of hardcoding the template used by _get_baseurl to build the URL
of the repository where packages are to be found, make it a

   baseurl_template

configuration parameter in the teuthology.yaml file.

_update_rpm_package_list_and_install did not call _get_baseurl and hard
coded another template identical to the one used by _get_baseurl. The
only difference was {distro_release} instead of {dist} but they are
expected to be identical for rpm based distributions.

http://tracker.ceph.com/issues/11830 Fixes: #11830

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-06-02 11:30:31 +02:00
Yuan Zhou
dd27bc86c1 Make the number machines to be reserved configurable
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-05-04 11:17:11 +08:00
Zack Cerza
b6e6e932c6 Fix a couple bugs and mark down hosts as down
Signed-off-by: Zack Cerza <zack@redhat.com>
2015-03-04 08:48:37 -07:00
Zack Cerza
29242971f6 Change default results_timeout to 12h
Signed-off-by: Zack Cerza <zack@redhat.com>
2015-01-20 10:33:22 -07:00
Zack Cerza
200c65f53a Add documentation for teuthology.yaml
Signed-off-by: Zack Cerza <zack@redhat.com>
2015-01-06 14:14:47 -07:00
Andrew Schoen
66cf8b716a fixed broken links to worker_start.sh and create_nodes.py
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-12-09 09:05:29 -06:00
Andrew Schoen
8d762af73e add a reference so we can link installation and setup from readme
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-12-08 12:49:48 -06:00
Zack Cerza
e76a681bea Reorganize documentation and Sphinx files
This should allow a more consistent experience between reading
Sphinx-generated HTML docs and just using GitHub's renderer.

Signed-off-by: Zack Cerza <zack@redhat.com>
2014-12-02 09:37:14 -07:00
Zack Cerza
40e661ab73 Remove fancy source file handling
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-12-01 14:37:59 -07:00
Zack Cerza
c1ab48d901 Add stub source files linking to canonical documents
Now we can drop the Makefile magic.

Signed-off-by: Zack Cerza <zack@redhat.com>
2014-12-01 14:37:59 -07:00
Zack Cerza
7999587109 Add LAB_SETUP.rst to Sphinx build
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-25 15:10:46 -07:00
Zack Cerza
a19e1cf63c Add reference configs
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-25 15:10:38 -07:00
Zack Cerza
6b10e203b1 Add INSTALL.rst to sources
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-10-24 16:02:08 -06:00
Zack Cerza
53069a5f7f Add 'prep' step that copies docs into docs/source/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
89acc6e855 Abstract source path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
0b1c75c396 Remove reference to static path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
4610ba431c create the Makefile for sphinx docs generation
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
dc04d4c946 create the source dir for sphinx
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00