]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: handle setting required osd release with no OSDs during upgrade 56705/head
authorAdam King <adking@redhat.com>
Wed, 3 Apr 2024 18:34:08 +0000 (14:34 -0400)
committerAdam King <adking@redhat.com>
Thu, 4 Apr 2024 15:38:18 +0000 (11:38 -0400)
commit1033251fd3e021c92e0f407f63632b85073e4a36
treed8de291905b3284356293fd215908aa1c35a188d
parentbecfb26b80beb8e5e25e5d8f6a0e6eedab41aa10
mgr/cephadm: handle setting required osd release with no OSDs during upgrade

A change to the `ceph osd require-osd-release` command made it so
it fails if no OSDs are up unless --yes-i-really-mean-it is passed.
For real clusters this is likely not an issue, but it can be an
annoyance for trying upgrades on test clusters that may not have
OSDs deployed. This patch is to try and just pass the flag in cases
where we have no OSDs rather than failing the upgrade

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/upgrade.py