]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: require --image is passed to inspect-image 51649/head
authorAdam King <adking@redhat.com>
Fri, 21 Apr 2023 14:07:09 +0000 (10:07 -0400)
committerAdam King <adking@redhat.com>
Sun, 21 May 2023 19:45:14 +0000 (15:45 -0400)
commitd55c797877dc6035b6a042aeb4aee2bdef4a3e46
tree21f5f9fd40cdd18a2f000cfaf039e06d1d4434b6
parentbec53a5f29f0dd7516fd061d4caddf66bc0bf085
cephadm: require --image is passed to inspect-image

The selection of an image by default was likely unused and
has always been a bit of a flaky thing, especially if multiple
clusters are making use of the host where this is run. It seems
preferable to just require this argument. Additionally, the
command without the image specified is currently untested
and prone to being broken. All uses of inspect-image done
through the cephadm mgr module specify the image.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 110fcb04adf31881f2f41bd0c27f7ce25438f3b9)
doc/man/8/cephadm.rst
src/cephadm/cephadm.py
src/cephadm/tests/test_cephadm.py