Open DerekTBrown opened 4 months ago
This looks similar to the following issues, but those are fixed:
Hi @DerekTBrown we're working on a smoother way to handle this, but for now you should be able to delete and recreate the persistent volume and restart the pod to get out of this state.
Hi @DerekTBrown we're working on a smoother way to handle this, but for now you should be able to delete and recreate the persistent volume and restart the pod to get out of this state.
Done, and that did seem to resolve the issue.
Is the plan to just have something that deletes the cache if it becomes corrupted?
@cliffcolvin we're pretty sure this is getting addressed in 2.3+ right?
I had the same issue, but it started working after I recreated the aggregator-db
persistent volume.
Confirmed same issue with v2.2.4.
Hey there, this should be resolved in our 2.3 release. We're planning on releasing 2.3.2 sometime today or tomorrow and recommend upgrading to that when it's ready!
Not sure if this is the same exact issue, but we've hit something similar with 2.3.5:
panic: failed to create ingestor: Ingestor: error creating db: setting up migrations: opening '/var/configs/waterfowl/duckdb/v0_10_3/kubecost.duckdb.write': database/sql/driver: could not open database: duckdb error: IO Error: Corrupt database file: computed checksum 4178360413824115490 does not match stored checksum 16005271743778032503 in block at location 34877440
Could you try and recreate the aggregator db volume and let me know if that works @timchenko-a
Kubecost Version
2.2.5
Kubernetes Version
1.25
Kubernetes Platform
Other (specify in description)
Description
After a 2.2.5 upgrade, I see the
aggregator
container failing to start with the following message:Steps to reproduce
kubecost
and wait.Expected behavior
Impact
No response
Screenshots
No response
Logs
No response
Slack discussion
No response
Troubleshooting