Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: RedisCache can be Provisioned and FailedProvisioning #1394

Closed
babbageclunk opened this issue Mar 18, 2021 · 0 comments · Fixed by #1395
Closed

Bug: RedisCache can be Provisioned and FailedProvisioning #1394

babbageclunk opened this issue Mar 18, 2021 · 0 comments · Fixed by #1395
Labels
bug 🪲 Something isn't working

Comments

@babbageclunk
Copy link
Member

Describe the bug
We've had reports of RedisCache being in the state Provisioned=true, FailedProvisioning=true.
From reading the code this can happen because it initially failed (possibly a temporary error that we aren't checking for), and then on a subsequent periodic reconciliation the ARM query reported that it was deployed successfully. The code that updates the state to Provisioned=true doesn't unset FailedProvisioning.

To Reproduce
Steps to reproduce the behavior:

  • Deploy a RedisCache and hit a transient (but unknown to us) error
  • The cache will be marked as failed
  • Wait for the error to go away and the cache to be reconciled
  • The cache will be marked as Provisioned=true, FailedProvisioning=true

Expected behavior
Ideally the transient error should be recognised so that the cache stays in provisioning until it passes, but at the least when it goes to provisioned the failed provisioning flag should be unset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
1 participant