core: disable exporter for Ceph v17.2.6
The expected ceph version for exporter is changed temporarily because
some regression was detected in Ceph version 17.2.6.
Thus, disabling ceph-exporter for now until all the regression are fixed.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 3e46522423)
This commit is contained in:
1 parent
c6d9caea16
commit
6969b459f7
2 files changed
+4
-2
No files matched your search
@@ -51,7 +51,9 @@ const (
|
||||
|
||||
// createOrUpdateCephExporter is a wrapper around controllerutil.CreateOrUpdate
|
||||
func (r *ReconcileNode) createOrUpdateCephExporter(node corev1.Node, tolerations []corev1.Toleration, cephCluster cephv1.CephCluster, cephVersion *cephver.CephVersion) (controllerutil.OperationResult, error) {
|
||||
if !cephVersion.IsAtLeast(cephver.CephVersion{Major: 17, Minor: 2, Extra: 5}) {
|
||||
// CephVersion change is done temporarily, as some regression was detected in Ceph version 17.2.6 which is summarised here https://github.com/ceph/ceph/pull/50718#issuecomment-1505608312.
|
||||
// Thus, disabling ceph-exporter for now until all the regression are fixed.
|
||||
if !cephVersion.IsAtLeast(cephver.CephVersion{Major: 18, Minor: 0, Extra: 0}) {
|
||||
logger.Infof("Skipping exporter reconcile on ceph version %q", cephVersion.String())
|
||||
return controllerutil.OperationResultNone, nil
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ func TestCreateOrUpdateCephExporter(t *testing.T) {
|
||||
}
|
||||
cephCluster.Spec.Labels = cephv1.LabelsSpec{}
|
||||
cephCluster.Spec.PriorityClassNames = cephv1.PriorityClassNamesSpec{}
|
||||
cephVersion := &cephver.CephVersion{Major: 17, Minor: 2, Extra: 5}
|
||||
cephVersion := &cephver.CephVersion{Major: 18, Minor: 0, Extra: 0}
|
||||
ctx := context.TODO()
|
||||
context := &clusterd.Context{
|
||||
Clientset: test.New(t, 1),
|
||||
|
||||
Reference in new issue
Block a user