From: Kefu Chai Date: Tue, 23 Jun 2020 07:25:00 +0000 (+0800) Subject: suite/run.py: check config['verify_ceph_hash'] before verifying ceph packages X-Git-Tag: 1.1.0~82^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4d498683c452334e613ccf09ff449fd33cbb1cec;p=teuthology.git suite/run.py: check config['verify_ceph_hash'] before verifying ceph packages there is chance that we don't have ceph packages built for the combination of specified os_type and os_version, for instance, in the case of rados/thash_old_clients, older ceph clients are installed on el7, but the ceph cluster is deployed using cephadm, which in turn pull ceph container images built using the ceph being tested and el8. since we've dropped the build of master on el7, there is no need to verify if ceph package is available if cephadm is used for deploying the cluster. Signed-off-by: Kefu Chai --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 67b60564..e63fb562 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -429,7 +429,8 @@ class Run(object): ) sha1 = self.base_config.sha1 - if config.suite_verify_ceph_hash: + if parsed_yaml.get('verify_ceph_hash', + config.suite_verify_ceph_hash): full_job_config = copy.deepcopy(self.base_config.to_dict()) deep_merge(full_job_config, parsed_yaml) flavor = util.get_install_task_flavor(full_job_config)