Hi everybody.
I’m a newbie of K10.
I had installed K10 on my Kubernetes cluster onpremise. Everything is running well, except crypto-svc pod. The pod’s errors as below:
{"File":"kasten.io/k10/kio/cryptosvc/masterkey.go","Function":"kasten.io/k10/kio/cryptosvc.storeEncryptedMasterKeyArtifact","Line":174,"cluster_name":"e3c6e5e0-3281-4265-a59f-cce80c1a7a9c","error":{"message":"Failed to add new encryption key artifact to catalog","function":"kasten.io/k10/kio/cryptosvc.addEncryptionKeyHelper","linenumber":231,"file":"kasten.io/k10/kio/cryptosvc/masterkey.go:231","cause":{"message":"ePOST /artifacts]c400] addArtifactBadRequest \u0026{Message:Bad Request. Cause: file resize error: truncate /mnt/k10state/kasten-io/catalog/model-store.db: bad file descriptor.}"}},"hostname":"crypto-svc-64f897699b-s7rxm","level":"error","msg":"Failed to add sealed master key to catalog","time":"20220718-04:24:52.227Z","version":"5.0.2"}
{"File":"kasten.io/k10/kio/cryptosvc/masterkey.go","Function":"kasten.io/k10/kio/cryptosvc.(*CryptoSvc).initializeK10MasterKeyAfterCatalogHealthy","Line":45,"cluster_name":"e3c6e5e0-3281-4265-a59f-cce80c1a7a9c","error":{"message":"Failed to add new encryption key artifact to catalog","function":"kasten.io/k10/kio/cryptosvc.addEncryptionKeyHelper","linenumber":231,"file":"kasten.io/k10/kio/cryptosvc/masterkey.go:231","cause":{"message":"ePOST /artifacts]c400] addArtifactBadRequest \u0026{Message:Bad Request. Cause: file resize error: truncate /mnt/k10state/kasten-io/catalog/model-store.db: bad file descriptor.}"}},"hostname":"crypto-svc-64f897699b-s7rxm","level":"error","msg":"Failed to initialize service","time":"20220718-04:24:52.228Z","version":"5.0.2"}
Please help me to check !! Many thanks.