]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: add a new cephadm_from_container feature to cephadm task 59421/head
authorJohn Mulligan <phlogistonjohn@asynchrono.us>
Fri, 9 Aug 2024 18:37:43 +0000 (14:37 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 23 Aug 2024 18:35:55 +0000 (14:35 -0400)
commit0baf2e4f19b445a08c4aac16a694a7e5671c8fbc
treeec2cf6e692bc140144e0ea644ac3d5b62a5fa0ff
parentbc103d87027a0eec67d2361ac67f4af6207c4a76
qa/tasks: add a new cephadm_from_container feature to cephadm task

The cephadm_from_container allows one to do a single container build
and then point teuthology at that image as the "single source of truth".
I find this extremely convenient when running teuthology locally and
I keep carrying this patch around - I figure having it upstream will
simplify my workflow. Maybe someday it'll benefit others too.

To use it I set up a yaml overrides file with the following content:
```yaml
overrides:
  cephadm:
    image: "quay.io/phlogistonjohn/ceph:dev"
    cephadm_from_container: true
  verify_ceph_hash: false
verify_ceph_hash: false
```

This let's me test my custom builds fairly easily!

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
qa/tasks/cephadm.py