Skip to content

suite/run.py: check config['verify_ceph_hash'] before verifying ceph …#1520

Merged
tchaikov merged 3 commits intoceph:masterfrom
tchaikov:wip-check-per-job-verify_ceph_hash
Jun 24, 2020
Merged

suite/run.py: check config['verify_ceph_hash'] before verifying ceph …#1520
tchaikov merged 3 commits intoceph:masterfrom
tchaikov:wip-check-per-job-verify_ceph_hash

Conversation

@tchaikov
Copy link
Contributor

…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 kchai@redhat.com

…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 <kchai@redhat.com>
tchaikov added 2 commits June 23, 2020 17:00
Signed-off-by: Kefu Chai <kchai@redhat.com>
…abled

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov requested a review from jdurgin June 23, 2020 11:49
@tchaikov
Copy link
Contributor Author

Copy link
Member

@jdurgin jdurgin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a check for cephadm to see whether the containers it uses exist as well, in a future PR

@tchaikov tchaikov merged commit 53afe25 into ceph:master Jun 24, 2020
@tchaikov tchaikov deleted the wip-check-per-job-verify_ceph_hash branch June 24, 2020 01:35
@tchaikov
Copy link
Contributor Author

We should add a check for cephadm to see whether the containers it uses exist as well, in a future PR

i checked podman manifest and docker manifest inspect. podman manifest was added couple months ago. i think we need wait a bit, before that feature is packaged in downstream. while docker manifest inspect requires user to enable experimental features. guess the same applies to it.

so, in short, let's revisit it after, probably 6 months.

@kshtsk
Copy link
Contributor

kshtsk commented Jun 24, 2020

@tchaikov this PR is breaking install.repos mechanism

or (overrides and 'install' in overrides and 'repos' in overrides.get('install'))
if not ('redhat' in config or having_repos):
overrides = config.get('overrides', {})
having_repos = ('repo' in config.get('install', {}) or
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is unfortunate typo, this should be 'repos' instead of 'repo'.

@kshtsk
Copy link
Contributor

kshtsk commented Jun 24, 2020

Related fix #1521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants