We are trying to migrate an OpenShift cluster from application-only monitoring mode to cloud-native full-stack mode, but when doing so, we encountered this error:
FailedMount: MountVolume.SetUp failed for volume ‘osagent-storage’ : kubernetes.io/csi: mounter. SetUpAt failed to get CSI client: driver name csi.oneagent.dynatrace.com not found in the list of registered CSI drivers
It is as if the operator cannot install the CSI drivers in the worker nodes. If this is the case, it would be advisable to migrate to classic full-stack instead of cloud-native full-stack?
The requirement is monitor the Openshift routes and services that are hosted on the infra nodes using OneAgent ingestion.
Looks like your deployment misses the Dynatrace CSI driver. What exact steps did you do? How did you deploy the operator on particular? CSI is optional with applicationOnly but mandatory with cloudNativeFullstack.
When we deployed the operator, we did so in app-only mode and also deployed the CSI driver at the cluster level. The problem seems to be that when changing from monitoring mode to full-stack mode, since the csi driver is not installed on those nodes, this error occurs.
We also have some nodes isolated by taints, but we don’t know where to apply the tolerations. In dynakube.yml, in csi-driver.yml?