]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: require --image is passed to inspect-image 51172/head
authorAdam King <adking@redhat.com>
Fri, 21 Apr 2023 14:07:09 +0000 (10:07 -0400)
committerAdam King <adking@redhat.com>
Tue, 2 May 2023 21:16:06 +0000 (17:16 -0400)
commit110fcb04adf31881f2f41bd0c27f7ce25438f3b9
tree4965b4c2a13f0c548a0073d22ac3c9007284abfa
parent9dd845732da867104d7b32d3ba5220faf5719118
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>
doc/man/8/cephadm.rst
src/cephadm/cephadm.py
src/cephadm/tests/test_cephadm.py