mirror of
https://github.com/ceph/ceph
synced 2025-03-10 10:19:26 +00:00
Ceph is a distributed object, block, and file storage platform
Most of the flavor, sha1, tag etc. selection logic as implemented in the packaging module of teuthology relies on remote hosts. This is complex to tests and inconvenient because hosts must be provisionned even before trying to figure out which packages need to be installed. Using remote hosts is necessary when bare metal targets are used because teuthology must adapt to the operating system already installed. The selection logic in the context of dynamically provisionned targets is simpler because it is defined by the job being run. The buildpackages is refactored to use only the job configuration to figure out which packages must be built. It makes it specific to targets that are dynamically provisionned. It would have to be modified to query the remote host in the case of bare metal targets. Signed-off-by: Loic Dachary <loic@dachary.org> |
||
---|---|---|
ceph-deploy-overrides | ||
clusters | ||
config_options | ||
debug | ||
distros | ||
erasure-code | ||
fs | ||
machine_types | ||
overrides | ||
releases | ||
rgw_pool_type | ||
suites | ||
tasks | ||
timezone | ||
.gitignore | ||
README | ||
tox.ini |
ceph-qa-suite ------------- clusters/ - some predefined cluster layouts suites/ - set suite The suites directory has a hierarchical collection of tests. This can be freeform, but generally follows the convention of suites/<test suite name>/<test group>/... A test is described by a yaml fragment. A test can exist as a single .yaml file in the directory tree. For example: suites/foo/one.yaml suites/foo/two.yaml is a simple group of two tests. A directory with a magic '+' file represents a test that combines all other items in the directory into a single yaml fragment. For example: suites/foo/bar/+ suites/foo/bar/a.yaml suites/foo/bar/b.yaml suites/foo/bar/c.yaml is a single test consisting of a + b + c. A directory with a magic '%' file represents a test matrix formed from all other items in the directory. For example, suites/baz/% suites/baz/a.yaml suites/baz/b/b1.yaml suites/baz/b/b2.yaml suites/baz/c.yaml suites/baz/d/d1.yaml suites/baz/d/d2.yaml is a 4-dimensional test matrix. Two dimensions (a, c) are trivial (1 item), so this is really 2x2 = 4 tests, which are a + b1 + c + d1 a + b1 + c + d2 a + b2 + c + d1 a + b2 + c + d2 Symlinks are okay. The teuthology code can be found in https://github.com/ceph/teuthology.git