The issue seems to affect only the single node clusters. Since, I am no longer using single node clusters. I am having success in my deployments.
Service Fabric app deployment from Visual Studio stuck at "Copying application to image store...."
Hi,
I am testing a Service Fabric app. I am trying to deploy it on a single node Azure Service Fabric cluster running Windows. The cluster was created successfully and I was able to RDP into one of the VMs as well. However, when I try to deploy my app, it is stuck at "Copying application to image store.....". Please suggest.
2 answers
Sort by: Newest
-
-
vipullag-MSFT 24,206 Reputation points Microsoft Employee
2020-05-11T15:53:07.197+00:00 Below are few suggestions you can try and see if they are helpful.
As you mentioned that the issue seems to be ‘copy to Image store’ from the Visual Studio. Can you please try copying the package using PowerShell outside the VS just to isolate the issue?
You can try something like this:Copy-ServiceFabricApplicationPackage -ApplicationPackagePath .\MyApplicationType -ApplicationPackagePathInImageStore MyApplicationType -ImageStoreConnectionString fabric:ImageStore -CompressPackage -TimeoutSec 5400 -ShowProgress -ShowProgressIntervalMilliseconds 3000
Please note adding -ShowProgress -ShowProgressIntervalMilliseconds 3000 as parameters to Copy-ServiceFabricApplicationPackage command. This will give more details on where the deployment is spending maximum time. Also, I have set the timeout value to 90 minutes.
You can find complete details on this here. Sample application deployment command can be found here.Use package compression to reduce the size of the package and decrease the time it takes to be deployed, check this document on compressing.
Also, try to create a new folder and copy the package and then try publishing the application, to rule out any access issues.
Thanks.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.