Skip to content

Commit

Permalink
Merge pull request rook#10088 from travisn/osd-release-version
Browse files Browse the repository at this point in the history
osd: Enable quincy osd release version
  • Loading branch information
travisn authored Apr 15, 2022
2 parents 35427f9 + 03b0546 commit 8176d12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/operator/ceph/cluster/osd/osd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 8176d12

Please sign in to comment.