From: Zack Cerza Date: Tue, 24 May 2022 19:02:56 +0000 (-0600) Subject: Replace non-branch occurrences of 'master' X-Git-Tag: 1.2.0~169^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5d1da588a140a38d81827a6680048755c94c58e;p=teuthology.git Replace non-branch occurrences of 'master' Signed-off-by: Zack Cerza --- diff --git a/docs/COMPONENTS.rst b/docs/COMPONENTS.rst index 4356f912b..7c3dd03b6 100644 --- a/docs/COMPONENTS.rst +++ b/docs/COMPONENTS.rst @@ -4,8 +4,8 @@ Ceph Lab Components The distinct hardware/software components that a lab is composed of and the way they interact between them is described here. In general, a lab is composed of -a scheduler (a.k.a. master node), worker(s), package builder -(`gitbuilder `__), job database (`paddles +a scheduler, worker(s), package builder (`gitbuilder +`__), job database (`paddles `__), job archive, a web UI (`pulpito `__) and test nodes. @@ -31,8 +31,7 @@ failed, etc.). All this information can be visualized in ``pulpito``, the web UI. For an example, see Ceph community's Lab `here `__. Test nodes can be grouped in classes (referred to as ``machine-type``), -allowing teuthology schedule jobs across multiple hardware setups, -provided they're visible to the master node. +allowing teuthology schedule jobs across multiple hardware setups. Life of a Teuthology Job ======================== @@ -44,8 +43,8 @@ prepared and queued (``teuthology-schedule`` is implicitly invoked). When a job is created (or whenever the status of a job is changed, e.g. from queued to started), information about the job is recorded in ``paddles``'s internal database. Depending on the priority of the job, the scheduler eventually -determines when a job can get executed. At this point, the master communicates -with ``teuthology-dispatcher``, checks the lock status of the requested +determines when a job can get executed. At this point, +``teuthology-dispatcher`` checks the lock status of the requested machines by querying ``paddles``, acquires locks of the nodes if they are available, and invokes ``teuthology-dispatcher`` in ``supervisor`` mode. ``supervisor`` reimages the target machines and invokes diff --git a/docs/conf.py b/docs/conf.py index 09ae1e692..bce967b1e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,8 +43,8 @@ source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The root toctree document. +root_doc = 'index' # General information about the project. project = u'teuthology' diff --git a/roles/overrides.yaml b/roles/overrides.yaml index f6188573e..e93a2b239 100644 --- a/roles/overrides.yaml +++ b/roles/overrides.yaml @@ -4,8 +4,6 @@ kernel: overrides: ceph: branch: BRANCH_NAME - log-whitelist: - - 'clocks not synchronized' log-ignorelist: - 'clocks not synchronized' tasks: diff --git a/teuthology/suite/placeholder.py b/teuthology/suite/placeholder.py index 30f9283e5..37f538e6f 100644 --- a/teuthology/suite/placeholder.py +++ b/teuthology/suite/placeholder.py @@ -73,8 +73,6 @@ dict_templ = { } }, 'flavor': Placeholder('flavor'), - 'log-whitelist': ['\(MDS_ALL_DOWN\)', - '\(MDS_UP_LESS_THAN_MAX\)'], 'log-ignorelist': ['\(MDS_ALL_DOWN\)', '\(MDS_UP_LESS_THAN_MAX\)'], 'sha1': Placeholder('ceph_hash'), diff --git a/teuthology/suite/test/test_build_matrix.py b/teuthology/suite/test/test_build_matrix.py index 1d72771c8..d7d2c051b 100644 --- a/teuthology/suite/test/test_build_matrix.py +++ b/teuthology/suite/test/test_build_matrix.py @@ -649,7 +649,7 @@ class TestBuildMatrix(object): 'debug': {'mds_client.yaml': None}, 'fs': {'btrfs.yaml': None}, 'msgr-failures': {'none.yaml': None}, - 'overrides': {'whitelist_wrongly_marked_down.yaml': None}, + 'overrides': {'allowlist_wrongly_marked_down.yaml': None}, 'tasks': {'cfuse_workunit_suites_fsstress.yaml': None}, }, } diff --git a/teuthology/task/selinux.py b/teuthology/task/selinux.py index 582cb3390..de4314822 100644 --- a/teuthology/task/selinux.py +++ b/teuthology/task/selinux.py @@ -24,7 +24,7 @@ class SELinux(Task): fail for other denials one can add the overrides with appropriate escapes overrides: selinux: - whitelist: + allowlist: - 'name="cephtest"' - 'dmidecode' - 'comm="logrotate"' @@ -138,9 +138,9 @@ class SELinux(Task): 'comm="sss_cache"', 'context=system_u:system_r:NetworkManager_dispatcher_t:s0', ] - se_whitelist = self.config.get('whitelist', []) - if se_whitelist: - known_denials.extend(se_whitelist) + se_allowlist = self.config.get('allowlist', []) + if se_allowlist: + known_denials.extend(se_allowlist) ignore_known_denials = '\'\(' + str.join('\|', known_denials) + '\)\'' for remote in self.cluster.remotes.keys(): proc = remote.run(