-
Notifications
You must be signed in to change notification settings - Fork 883
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
Azure SQL Migration Extension in Disconnected Environment #22558
Comments
Just to add to the above, I'm seeing the same behaviour in my environment.
Default behaviour throws an exception (different to above) because I'm not authenticating to the proxy. If I fully disable the proxy in Settings > Proxy Support > Off, I get the above exception encountered by pvandermaas-apriva. I got it to load the Azure SQL Migration window once (Proxy Support off, but I think the main app was successfully communicating with the proxy), but then I hung on 'Waiting for SqlMigrationProvider component to start.' Azure Data Studio is v1.42.0 (user setup, win 2016), Azure SQL Migration v1.4.2. Note: sorry for the brand new account. I made it specifically to comment on this. |
@alanrenmsft Have we tested the service downloader in a proxy environment? The comment from @cap-dm sounds like a separate issue where they have their proxy set up but it still doesn't download the service binaries. @cap-dm Can you confirm that other parts of ADS function with the proxy settings you have - a specific example would be the extension gallery loading and displaying the marketplace extensions. |
@cap-dm, FWIW I stumbled onto using DmaCmd.exe and SqlAssessment.exe, included with the Data Migration Assistant. I believe it will allow collection of perf metrics quick update: I was able to get the SKU recommendations from the within the disconnected environment; no need to copy down the perf data.
|
so just to confirm, the issue is resolved now, right? |
Oh I know I'm having proxy issues! It was more that I was seeing the same errors as pvandermaas-apriva while experiencing them, so I was throwing some weight behind the SQL Migration Extension (SME) having issues when it was in a disconnected environment. Now I'm going to have to apologise because I can't quite remember the sequence of events before finding this ticket.
I would suggest that both ADS and SME get some more graceful handling of connectivity and proxy issues, it was a pain to debug as those traces don't really tell the end user much. |
Not for me. I was able to get to my end goal a different way (CLI tools), but the issue with the Azure SQL Migration extension for ADS still exists. |
We're working on making this experience better, but for the time being these steps should work for getting the extension functioning:
Windows: https://github.com/Microsoft/sqltoolsservice/releases/download/*.*.*.*/microsoft.sqltools.migration-win-x64-net7.0.zip e.g. for Windows with version 4.5.0.37 it would be https://github.com/Microsoft/sqltoolsservice/releases/download/4.5.0.38/microsoft.sqltools.migration-win-x64-net7.0.zip
Note that you'll need to do this each time a new version of the service is available - so if you hit the error again follow the instructions above (there will likely be a new version you have to download but the rest of the steps are the same) |
@alanrenmsft @cssuh So two things we should be following up on:
|
There are different scenarios:
I will create issues to track these work items. |
@AkshayMata @alanrenmsft are we tracking any pending work for the May release with this issue? Or should we move or close it? Edit: nevermind, I see this is not in the May release milestone 😄 though please close if this is resolved. Thanks! |
I have a follow up work item. |
Hi , I have tried the above method but, still i am not able to use the migration extension. i don't have internet on VM. Cloud you please help me. |
@raymondtruong @brian-harris is this issue planned for the July release? Please move it out of the July milestone if it isn't. Thanks! |
@raymondtruong @brian-harris any updates on this issue? I'll move it to the backlog if there aren't any plans to work on this |
is there anything that can be done on the SQL-Migration extension side? or is this all ADS? |
@brian-harris the issue Alan linked above is completed. Is there anything else that needs to be done for this issue? |
I will assign to someone to verify it is fixed. |
@Ramudaykumar I moved this issue to November. Please close if this is complete or add details on what else needs to be done |
If source is in local/reachable from the machine ADS is running, we can do assessment and SKU recommendation without internet connection. Installing SQL Migration Extension in disconnected will need these steps: #22558 (comment) |
Issue Type: Bug
Attempting to run the Azure SQL Migration Extension in Azure Data Studio on an Azure VM in a restricted environment (no internet access) and witnessing the following behavior:
Steps:
Connect to Source Server
Right-click -> Manage
General -> Azure SQL Migration
Error in notification popup:
Failed to start Sql Migration Service: Error: Request error: Error
at ClientRequest. (c:\Users<userfolder>.azuredatastudio\extensions\microsoft.sql-migration-1.4.2\dist\main.js:2:7448)
at ClientRequest.emit (node:events:538:35)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Close tab, repeat
Connect to Source Server
Right-click -> Manage
General -> Azure SQL Migration
Azure SQL Migration tab now has content
New Migration (or, "Migrate to Azure SQL" link in welcome screen)
Hangs with "Waiting for SqlMigrationProvider component to start." in the notification popup. Never resolves or times-out.
Is this extension supported in a disconnected environment? If not, is there an available list of hostnames/domains that I can request from my network team to allow access? I am interested in the assessment information, including SKU recommendations. TIA.
Extension version: 1.4.2
Azure Data Studio version: azuredatastudio 1.42.0 (22f384e, 2023-03-17T18:15:48.982Z)
OS version: Windows_NT x64 10.0.17763
Restricted Mode: No
Preview Features: Enabled
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: