Open agardnerIT opened 1 year ago
kubectl -n dynatrace get pods
shows the cs-driver pods.
kubectl -n dynatrace logs dynatrace-oneagent-csi-driver-5bmrg
gives the following (where abc12345
is the tenant ID):
{"level":"info","ts":"2023-01-30T05:57:57.190Z","logger":"csi-gc","msg":"running OneAgent garbage collection","namespace":"dynatrace","name":"dynakube"}
{"level":"info","ts":"2023-01-30T05:57:57.199Z","logger":"csi-gc","msg":"dynakube metadata is in a unfinished state, checking later"}
{"level":"info","ts":"2023-01-30T05:58:49.395Z","logger":"csi-provisioner","msg":"reconciling DynaKube","namespace":"dynatrace","dynakube":"dynakube"}
{"level":"info","ts":"2023-01-30T05:58:49.402Z","logger":"csi-provisioner","msg":"checking dynakube","tenantUUID":"abc12345","version":""}
{"level":"info","ts":"2023-01-30T05:58:49.402Z","logger":"csi-provisioner","msg":"csi directories exist","path":"/data/abc12345"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"csi-provisioner","msg":"updating agent","target version":"","target directory":"/data/abc12345/bin"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"oneagent-url","msg":"agent already installed","target dir":"/data/abc12345/bin"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"csi-provisioner","msg":"updating ruxitagentproc.conf on latest installed version"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"processmoduleconfig","msg":"updating ruxitagentproc.conf","targetDir":"/data/abc12345/bin"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"processmoduleconfig","msg":"saving original ruxitagentproc.conf to _ruxitagentproc.conf"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"csi-provisioner","msg":"error when updating agent","error":"stat /data/abc12345/bin/agent/conf/ruxitagentproc.conf: no such file or directory"}
{"level":"info","ts":"2023-01-30T05:58:49.774Z","logger":"csi-gc","msg":"running OneAgent garbage collection","namespace":"dynatrace","name":"dynakube"}
{"level":"info","ts":"2023-01-30T05:58:49.790Z","logger":"csi-gc","msg":"dynakube metadata is in a unfinished state, checking later"}
Hmm, this seems to error and hold up pods starting (I've seen for up to 3 mins) but then it resolves.
Will leave this open, keep an eye on it and see if I can figure it out.
$ kubectl -n argocd get pods NAME READY STATUS RESTARTS AGE argocd-application-controller-0 0/1 Init:0/1 0 4m29s