ceph / ceph/ceph-csi-operator

Helm: ceph-csi-operator pod logs errors for missing drivers that are disabled in ceph-csi-drivers

Open
#594 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
63
Forks
59
Avg merge
1d 19h
Merged PRs (30d)
19

Description

# Describe the bug #

Helm: ceph-csi-operator pod logs errors for missing drivers that are disabled in ceph-csi-drivers

# Environment details #

- Image/version of ceph-csi-operator : 1.0.4
- Image/version of Ceph-CSI driver : 1.0.4
- Kubernetes cluster version : 1.36
- Ceph cluster version : N/A

# Steps to reproduce #

Disable drivers in the ceph-csi-drivers values.yaml:
```
drivers:
rbd:
enabled: true
cephfs:
enabled: true
nfs:
enabled: false
nvmeof:
enabled: false
```

# Actual results #

ceph-csi-operator pod generates numerous error messages for the drivers that are disabled.

# Expected behavior #

ceph-csi-operator pod should not generate error message since the drivers were disabled.

# Logs #

```
2026-08-31T01:32:46Z ERROR Reconciler error {"controller": "driver", "controllerGroup": "csi.ceph.io", "controllerKind": "Driver", "Driver": {"name":"nvmeof.csi.ceph.com","namespace":"ceph-csi-operator-system"}, "namespace": "ceph-csi-operator-system", "name": "nvmeof.csi.ceph.com", "reconcileID": "70d9ab29-e1db-4f50-828a-34f9c635e88a", "error": "Driver.csi.ceph.io \"nvmeof.csi.ceph.com\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:495
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:438
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func1.1
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:313
2026-08-31T01:32:56Z ERROR CSI Driver reconciliation failed {"controller": "driver", "controllerGroup": "csi.ceph.io", "controllerKind": "Driver", "Driver": {"name":"nfs.csi.ceph.com","namespace":"ceph-csi-operator-system"}, "namespace": "ceph-csi-operator-system", "name": "nfs.csi.ceph.com", "reconcileID": "50492981-5d4e-41e1-a3b7-75e02feb83ec", "error": "Driver.csi.ceph.io \"nfs.csi.ceph.com\" not found"}
github.com/ceph/ceph-csi-operator/internal/controller.(*DriverReconciler).Reconcile
/workspace/internal/controller/driver_controller.go:229
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:222
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:479
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:438
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func1.1
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.3/pkg/internal/controller/controller.go:313
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the ceph-csi-drivers values.yaml configuration that disables nfs and nvmeof. Start in internal/controller/driver_controller.go around line 229 and trace how disabled drivers reach reconciliation. Done means the operator no longer logs missing-driver reconciliation errors for disabled drivers while enabled drivers continue to reconcile normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.