Reputation: 15
I have created a standalone unsecured one node cluster.I am trying to do package deployment from powershell. What i have done so far:
In package, in Deploy-FabricApplication.ps1
i replaced service fabric sdk reference and included ps1 files needed to deply inside my package itself.
I dot sourced those files in Deploy-FabricApplication.ps1 like this
. F:\pkg\Debug\Scripts\New-ServiceFabricApplicationPackage.ps1 . F:\pkg\Debug\Scripts\Utilities.ps1 . F:\pkg\Debug\Scripts\Publish-NewServiceFabricApplication.ps1 4.Now when i run .\Deploy-FabricApplicatin.ps1 from powershell like this
.\Deploy-FabricApplication.ps1 -ApplicationPackagePath 'F:\pkg\Debug' -PublishProfileFile 'f:\pkg\Debug\PublishProfiles\Cloud.xml' Now I am getting this error The error message screen shot
I tried opening ports but still im getting this error. The error vanishes and im able to deploy after two or three tries...but everytime when i deploy for the first few times after standalone cluster creation. Why is this error is happening and how do i rectify it. Thankyou
Upvotes: 0
Views: 208