Service Fabric app deployment from Visual Studio stuck at "Copying application to image store...."

Nishant Sharma 1 Reputation point
2020-05-11T07:07:32.017+00:00

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.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 24,026 Reputation points Microsoft Employee
    2020-05-11T15:53:07.197+00:00

    @Nishant Sharma

    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.

    1 person found this answer helpful.
    0 comments No comments

  2. Nishant Sharma 1 Reputation point
    2020-05-13T03:24:47.8+00:00

    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.

    0 comments No comments