]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerAdam King <adking@redhat.com>
Tue, 13 Aug 2024 15:54:45 +0000 (11:54 -0400)
commitd7b00eab08b006c5d10268a5aab7bc8dfc146c08
tree7c206d859769a6c1c174ad542a09be51c13c9ae3
parentf6d552d7c777f1160545188dcffa6b685b05ca8a
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>
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/cephadm/tests/test_migration.py