]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add option to fix up ruleset-* to crush-* for ec profiles 18945/head
authorSage Weil <sage@redhat.com>
Wed, 15 Nov 2017 14:55:33 +0000 (08:55 -0600)
committerSage Weil <sage@redhat.com>
Sun, 19 Nov 2017 02:30:14 +0000 (20:30 -0600)
commit0f7332e9259b320777770f0312233a31103bfeda
tree8acca23dc1db49deaca47d54570047074e265be7
parent5c9b93dadd8f05b1a146e3a19f7480ae4019815f
mon/OSDMonitor: add option to fix up ruleset-* to crush-* for ec profiles

The jewel->luminous upgrade test will fail if we finish the upgrade while
a workload setting old-style ec profiles is running.  Add option to
automatically fix them up.  Warn to the cluster log when this happens.

For now, enable this option to ease upgrades and whitelist the warning.

Only include this option in luminous so that we implicitly sunset this
compatibility kludge immediately.

Fixes: http://tracker.ceph.com/issues/22128
Signed-off-by: Sage Weil <sage@redhat.com>
qa/releases/luminous-with-mgr.yaml
qa/releases/luminous.yaml
qa/workunits/cephtool/test.sh
src/common/options.cc
src/mon/OSDMonitor.cc