]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: migrate nvmeof specs without group field
authorAdam King <adking@redhat.com>
Thu, 25 Jul 2024 17:36:07 +0000 (13:36 -0400)
committerAlexander Indenbaum <aindenba@redhat.com>
Wed, 19 Nov 2025 18:41:52 +0000 (20:41 +0200)
commit8816fb5911659245a12c91bc79cfba10a8bf2bb3
tree966b9627515e4296628db119f017ded57c903c15
parent73272a93b3847300c6b816bdaf036b2671102655
mgr/cephadm: migrate nvmeof specs without group field

As we have added the group field as a requirement for new
nvmeof specs and check for it in spec validation, we need
a migration to populate this field for specs we find that
don't have it.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d7b00eab08b006c5d10268a5aab7bc8dfc146c08)
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/cephadm/tests/test_migration.py