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>
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>
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/11883Fixes: #11883
Signed-off-by: Loic Dachary <loic@dachary.org>
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>
Add documentation for the ~/.teuthology.yaml OpenStack configuration
values and set reasonable defaults.
Signed-off-by: Loic Dachary <loic@dachary.org>
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/11830Fixes: #11830
Signed-off-by: Loic Dachary <loic@dachary.org>
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>