-
Notifications
You must be signed in to change notification settings - Fork 100
Redis deployment remains in "Provisioning" even after deployed #695
Comments
Azure Go SDK has a timeout on waiting for ARM template. The resource could be ready at the last meanwhile the ARM deployment already hits timeout... It is a known issue due to that new Redis Cache instance costs long time to be ready and sometimes even longer. |
Is there a workaround for this? It used to work (late last year). |
The lifecycle test for this service can pass with big chance. I suppose it is transient or maybe Azure location / tier related. Here is the lifecycle cases FYI: https://github.com/Azure/open-service-broker-azure/blob/master/tests/lifecycle/rediscache_cases_test.go#L18-L87 |
I haven't had it work in westus2 for at least the last couple of days, though I haven't tried it before that in a few weeks. Interestingly, the second time I tried today the actual redis cache resource allocated in Azure pretty quickly, but osba still didn't pick it up. |
Please also watch the provisioning state of the new Redis instance. You can also take a look at the "deployments" of the resource group. That's what Azure Go SDK waits for. |
Is there some workaround for this? Trying it again today the same behavior is happening. The Redis cache eventually enters a Running state, but it just sits in Pending even afterwards, eventually transitioning to "OrphanMitigation". The deployment took almost 50 minutes, but did eventually complete - osba just isn't ever picking that completion up. |
That's expected for OSBA. The max polling duration for an ARM deployment is set 45 mins: https://github.com/Azure/open-service-broker-azure/blob/master/pkg/boot/modules.go#L69. Does the creation performance of Azure Redis Cache get worse? |
It was over 50 minutes last time I tried it in westus2. It seems to vary quite a bit, but is consistently taking too long for OSBA to pick up the successful deployment once it does finish. |
That's not possible because a failure was already returned to Service Catalog. There is no "pick up" in the Open Service Broker Spec for service instances failed in polling. So Service Catalog doesn't do "pick up", then OSBA who is driven by Service Catalog doesn't do that, either. |
Sorry, I'm not completely familiar with the internals of how it works. Is there no way to fix this or work around it then? It seems like I can't rely on OSBA for this? |
We can just prolong max polling duration to solve it for now if we can confirm this is expected for Azure Redis Cache. What about submitting a support ticket in Portal to ask for it? Some services do have worse creation performance in some regions. |
My redis cache doesn't seem to want to deploy through osba 1.5.0 anymore. It seems to get stuck in the "Provisioning" state, even though the redis cache has been created and transitioned to "running" in Azure. There's not many logs, bug I did see this in the osba logs:
I've been trying again, but have waited over an hour for a couple deployments to transition out of provisioning (even though their Azure resources have transitioned to running), and they aren't changing and there are no new logs. I tried to deploy another resource type, and it works just fine.
The text was updated successfully, but these errors were encountered: