-
Notifications
You must be signed in to change notification settings - Fork 30
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
Deleting a secret that is referenced by some revision results in a long running update operation timing out #395
Comments
@ruslany @ahmelsayed , is this still an active issue? |
This has been fixed and fix has been deployed. Now when attempting to delete a secret that is referenced by an active revision the API call with fail with http 400 error and error description similar to this "Container App 'appname' has an active revision referencing a secret you are trying to delete. Please add secrets: 'secretname' or deactivate the revisions: 'revisionname' referencing this secret." Also when attempting to activate an inactive revision that references a non-existent secret the API call will fail with http 400 error and error description: "Revision 'revision name' you are trying to activate has secrets with references that do not exist. Please add secret for: 'secretname'." |
This function is no longer needed, the issue it was addressing has been resolved by MS microsoft/azure-container-apps#395
I received this message after almost every change related to the container app. The same happens when I simply add a value to the unrelated AppConfig, etc.
|
@oshimish could you send your sub and appname and this error to [email protected] so we can investigate further? Thank you! |
@oshimish Sorry for the delay in reply. I have received your email with additional info, thank you for sending it to us. The logs you provided us and this error you are receiving You will have to open the issue with terraform directly, I apologize. |
any further updates on this? cant rebuild my container apps using terraform without this being addressed. making it not practical atm imo... |
The underling [issue](microsoft/azure-container-apps#395) has been fixed; hence the check is no longer needed.
* Remove the 'cannot remove secrets' check The underling [issue](microsoft/azure-container-apps#395) has been fixed; hence the check is no longer needed. * Re-add updated tests for container app secrets
This issue is a: (mark with an x)
Issue description
Attempt to delete a secret that is referenced by some revision results in a long running update operation to time out.
Steps to reproduce
Expected behavior The Update API call for step #2 should fail with an error explaining that the secret cannot be removed from the secrets collection because there are revisions that reference it.
Actual behavior The LRO times out after 10 minutes with the error details: "Operation expired"
Additional context
This was originally reported in this issue: Azure/azure-rest-api-specs#19285
The text was updated successfully, but these errors were encountered: