} else if (prefix == "osd crush set-device-class") {
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using crush device classes";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using crush device classes";
err = -EPERM;
goto reply;
}
goto reply;
}
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using crush device classes";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using crush device classes";
err = -EPERM;
goto reply;
}
goto reply;
}
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using crush device classes";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using crush device classes";
err = -EPERM;
goto reply;
}
goto reply;
}
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using crush device classes";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using crush device classes";
err = -EPERM;
goto reply;
}
prefix == "osd set-backfillfull-ratio" ||
prefix == "osd set-nearfull-ratio") {
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using the new interface";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using the new interface";
err = -EPERM;
goto reply;
}
return true;
} else if (prefix == "osd set-require-min-compat-client") {
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using the new interface";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using the new interface";
err = -EPERM;
goto reply;
}
prefix == "osd pg-upmap-items" ||
prefix == "osd rm-pg-upmap-items") {
if (osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
- ss << "you must complete the upgrade and set require_osd_release ="
- << "luminous before using the new interface";
+ ss << "you must complete the upgrade and 'ceph osd require-osd-release "
+ << "luminous' before using the new interface";
err = -EPERM;
goto reply;
}