The error message 'Unable to load data: error getting cached app state: cache: key is missing' in Argo CD indicates an issue with the caching mechanism used by Argo CD, specifically related to Redis. This error can occur due to a mis-synchronization between Argo CD components and the Redis instance that stores application states. Users may experience this issue frequently throughout the day, disrupting CI/CD workflows reliant on live diffs of applications. The root cause often lies in how data is being cached or retrieved from Redis, possibly exacerbated by issues like network latency, Redis configuration settings, or mismatches between component versions.
- Argo CD v3.0.12
- Argo Helm Chart 8.2.7
- Upgrade Argo CD to the latest version using the command: helm upgrade argocd argo/argo-cd --version=3.0.13 -n argocd --set image.tag=v3.0.13,server.image.tag=v3.0.13
- Check Redis configuration for optimal settings and ensure compatibility with Argo CD version by reviewing the Redis config file located at /etc/redis/redis.conf.
- Monitor network latency between Argo CD components and Redis to identify and mitigate any potential issues affecting synchronization.
This issue can affect homelab stacks that use Argo CD for CI/CD workflows, particularly when relying on live diffs of applications. The impact is minimal if no critical operations are dependent on the real-time state retrieved from Redis.