-
Notifications
You must be signed in to change notification settings - Fork 146
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
Airlock fails due to DNS timeout - returns "Request failed due to an unknown reason." #3767
Comments
In the logs I can see various events, including two separate creates with the same FQDN but different IPs on the same DNS zone.
The second one is with the airlock import review workspace. This is why we get 403s, or when the review workspace is deleted the A record is deleted. We cannot have two records in the same zone with the same fqdn. |
Looks like the issue has been seen before - #3215 @tamirkamara any thoughts? I'm not sur eon the best approach to resolve this. This is the code: AzureTRE/templates/workspaces/airlock-import-review/terraform/import_review_resources.terraform Lines 25 to 46 in 6d589c4
I'm also confused as to why this has been working. Maybe if two addresses it sues the IP in the appropriate subnet, and its the delete that is deleting both? |
https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns
|
This is how export is handled: AzureTRE/templates/workspaces/base/terraform/airlock/storage_accounts.tf Lines 126 to 136 in 6d589c4
I propose we do the same in the core deployment to allow access to the import in progress account from the airlock processor subnet and then leave the private endpoint in the import review workspace. |
Reason started seeing this in our tests is that we now have airlock review workspace being installed and deleted in the extended e2e tests #3704 |
This won't work, as if are two review workspaces and one gets deleted, the record will disappear. Could leave the core private endpoint as is. Add a private dns zone specific to the import in progress storage account in the airlock review workspace. |
…unknown reason." Fixes microsoft#3767
* Airlock fails due to DNS timeout - returns "Request failed due to an unknown reason." Fixes #3767 * Update changelog description * Word smithing * Add HACK comment to more easily id items pending delete --------- Co-authored-by: Sven Aelterman <17446043+SvenAelterman@users.noreply.github.com>
Seen this a few times on multiple deployments, seen in tests today.
In this code:
AzureTRE/airlock_processor/shared_code/blob_operations.py
Lines 26 to 34 in 6d589c4
Root cause is the DNS record does not appear in the DNS zone, although it says it is there on the private endpoint:
The text was updated successfully, but these errors were encountered: