Merge pull request #9758 from Madhu-1/remove-rbd-default
ceph: remove rbd_default_features setting
This commit is contained in:
2 files changed
-14
No files matched your search
@@ -138,10 +138,6 @@ func SetOrRemoveDefaultConfigs(
|
||||
}
|
||||
}
|
||||
|
||||
if err := monStore.SetAll(DefaultLegacyConfigs()...); err != nil {
|
||||
return errors.Wrapf(err, "failed to apply legacy config overrides")
|
||||
}
|
||||
|
||||
// Apply Multus if needed
|
||||
if clusterSpec.Network.IsMultus() {
|
||||
logger.Info("configuring ceph network(s) with multus")
|
||||
|
||||
@@ -80,16 +80,6 @@ func DefaultCentralizedConfigs(cephVersion version.CephVersion) []Option {
|
||||
return overrides
|
||||
}
|
||||
|
||||
// DefaultLegacyConfigs need to be added to the Ceph config file until the integration tests can be
|
||||
// made to override these options for the Ceph clusters it creates.
|
||||
func DefaultLegacyConfigs() []Option {
|
||||
overrides := []Option{
|
||||
// TODO: move this under LegacyConfigs() when FlexVolume is no longer supported
|
||||
configOverride("global", "rbd_default_features", "3"),
|
||||
}
|
||||
return overrides
|
||||
}
|
||||
|
||||
// LegacyConfigs represents old configuration that were applied to a cluster and not needed anymore
|
||||
func LegacyConfigs() []Option {
|
||||
return []Option{
|
||||
|
||||
Reference in new issue
Block a user