Dear Forum,
it’s my pleasure join this group as a member.
I’ve a question regarding installation of K10 in an Openshift enviromnent.
The cluster is made of VM, with local storage, and also making use of a NFS share provided by a FreeNAS deployed in the same environment.
Installation of the operator was smooth, grafic, from OCP console, before using a “local-storage” storage class (that, from K8s docs, didn’t allowed a dynamic claim) and then using the shared NFS, configuring the driver nfs-csi, and then also the relative VolumeSnapshotClasses.
The issue occured when creating the operand: preflight check was successfully completed, PVC and relative PV also successful, but the pods below were in a “CrashLoopBackOff” state:
- catalog
- job
- logging
- k10-grafana
- metering
Just the last one has logs. The main error I could see was the following:
{"File":"kasten.io/k10/kio/tracing/tracing.go","Function":"kasten.io/k10/kio/tracing.StartProfileBuffers","Line":109,"cluster_name":"d860d358-46c5-43c1-aa25-c373ec0808da","hostname":"metering-svc-5f98d9df58-d7kgp","level":"info","msg":"no profile buffers configured","time":"2024-04-09T10:18:03.817Z","version":"6.5.10"}
2{"File":"kasten.io/k10/kio/kube/openshift.go","Function":"kasten.io/k10/kio/kube.IsOSAppsGroupAvailable","Line":36,"available":true,"cacheValid":true,"cluster_name":"d860d358-46c5-43c1-aa25-c373ec0808da","hostname":"metering-svc-5f98d9df58-d7kgp","level":"info","msg":"Result cached","time":"2024-04-09T10:18:03.842Z","version":"6.5.10"}
3{"File":"kasten.io/k10/rest/srv/meteringserver/kio_metering_handler.go","Function":"kasten.io/k10/rest/srv/meteringserver.configureHandlers","Line":66,"cluster_name":"d860d358-46c5-43c1-aa25-c373ec0808da","hostname":"metering-svc-5f98d9df58-d7kgp","level":"info","msg":"Not operating in cloud metering license mode.","time":"2024-04-09T10:18:03.905Z","version":"6.5.10"}
4{"File":"kasten.io/k10/kio/assert/assert.go","Function":"kasten.io/k10/kio/assert.NoError","Line":16,"cluster_name":"d860d358-46c5-43c1-aa25-c373ec0808da","error":{"message":"error creating cluster grace period manager","function":"kasten.io/k10/kio/metering/graceperiod.NewRunnerManager","linenumber":73,"file":"kasten.io/k10/kio/metering/graceperiod/cluster_grace_mgr.go:73","cause":{"message":"error creating cluster grace period db dir","function":"kasten.io/k10/kio/metering/graceperiod.NewManager","linenumber":105,"file":"kasten.io/k10/kio/metering/graceperiod/cluster_grace_mgr.go:105","cause":{"message":"mkdir /var/reports/clustergraceperiod: permission denied"}}},"hostname":"metering-svc-5f98d9df58-d7kgp","level":"panic","msg":"Failed to start cluster grace period daemon","time":"2024-04-09T10:18:03.912Z","version":"6.5.10"}
5panic: (*logrus.Entry) 0xc0002c6cb0
I apologize…. a bit long… but needed to perform a correct troubleshooting.
Thank you for any help you can provide.
Cheers
Raff