Merge pull request #10088 from travisn/osd-release-version

osd: Enable quincy osd release version
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-04-15 08:46:21 -06:00
commit 8176d129d4
1 file changed
+7 -7
+7 -7
View File
@@ -735,13 +735,13 @@ func (c *Cluster) applyUpgradeOSDFunctionality() {
logger.Warningf("failed to extract ceph version. %v", err)
return
}
// if the version of these OSDs is Octopus then we run the command
if osdVersion.IsOctopus() {
err = cephclient.EnableReleaseOSDFunctionality(c.context, c.clusterInfo, "octopus")
if err != nil {
logger.Warningf("failed to enable new osd functionality. %v", err)
return
}
// Ensure the required version of OSDs is set to the current consistent version,
// enabling the latest osd functionality and also preventing downgrades to a
// previous major ceph version.
err = cephclient.EnableReleaseOSDFunctionality(c.context, c.clusterInfo, osdVersion.ReleaseName())
if err != nil {
logger.Warningf("failed to enable new osd functionality. %v", err)
return
}
}
}