pluralith-cli icon indicating copy to clipboard operation
pluralith-cli copied to clipboard

reading cache from disk failed

Open 2Daeyoung opened this issue 2 years ago • 8 comments

Can you check what it means below?

Is it because the terraform state code is big? Please let me know and fix plz.

→ Plan ✔ Execution Plan Generated ✔ Plan Cache Created ✔ Secrets Stripped

  • Cost Calculation Skipped

→ Graph ✔ Diagram Generated ✘ Posting Run To Pluralith Dashboard Failed reading cache from disk failed -> PostGraph: open /Users/dae/Desktop/test/ucmp-terraform-dev/UCMP-RESOURCE/.pluralith/pluralith.cache.json: no such file or directory

2Daeyoung avatar Dec 14 '22 10:12 2Daeyoung

pluralith.plan.bin pluralith.state.json files have been created except for cache file

2Daeyoung avatar Dec 14 '22 10:12 2Daeyoung

@2Daeyoung yes you guessed correctly, this usually happens when the state is rather large and our graphing algorithm silently fails.

Would you be open to run pluralith strip in your current project, inspect the hashed state and share it with @PhiWeber via [email protected] if you deem it safe? That would be super helpful in finding the exact issue that causes the graphing algorithm to fail.

DanThePutzer avatar Dec 14 '22 11:12 DanThePutzer

I'm so sorry. This code is for our company, so it should not be send out. T_T

2Daeyoung avatar Dec 14 '22 11:12 2Daeyoung

@2Daeyoung the pluralith strip command hashes all identifiable information locally and only keeps the general structure of the state the same, so no sensitive data would be shared with us, but of course please only share if you feel comfortable with it! :)

We'll keep improving the graphing algorithm in the meantime and the issue might disappear with one of the improvements we release 👍

DanThePutzer avatar Dec 14 '22 11:12 DanThePutzer

Experiencing the same issue.

Is there a workaround for this?

dsfrederic avatar May 12 '23 09:05 dsfrederic

I am facing the same issue.

I'm facing the exact same problem.

T-MOTOSEKO avatar Jul 12 '23 02:07 T-MOTOSEKO