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
Copy-ServiceFabricApplicationPackage fails regularily when trying to run SF application on local cluster #583
Comments
@MicahMckittrick-MSFT This is the post I have now transferred from the MSDN forums to github :) Right now, it is happening 100% of the time again. This has been the case about a week ago, but back then I noticed that my app was running "Refresh application" on a 5 node cluster, I changed it to 1 node and this only occured like 10% of the time anymore. However, I don't know if there's a relation between these or if it's just a coincidence. Right now I can't get to debug or deploy my app at all anymore. Resetting cluster is of no help. If you want, I can therefore reliably attach logs for you to check. |
FYI We are also experiencing the above issue quite frequently. I suspect the issue is due to network reliability/dropouts between our Build agent (Azure DevOps build agent running in Azure VM) and our on-premise Service Fabric cluster. Note: Using the Azure DevOps task "Deploy Service Fabric Application". Cluster secured via gMSA. SF Cluster version: 6.4.637.9590 Here's an example of what I'm seeing - sometimes issue is fixed by retrying immediately and/or at a different time of day (hence reason I think it relates to network)
|
I've changed our Azure DevOps deployment task to SF PowerShell script and invoking copy package manually - and, like before, still PERIODICALLY getting same error above. This is the command I'm invoking from Powershell:
|
I have the same issue as well on local cluster manager. Any update on this issue? |
This looks like issue with local file copy. We have seen similar issues where anti-virus was holding the files in those folders causing these issues. Could you exclude the folders you are trying to copy and try it out. |
we are facing the same issue on on prem cluster. I am using Octopus deploy, and running powershell script to copy the package. Script is running on Target Machine. Package is valid and I am able to connect on the cluster, just while copying it fails. The script works fine if RDP on machine and run the script. Any Idea why this is happening, We are using GMSA (Windows Security). Copy-ServiceFabricApplicationPackage |
Hi, Hope it will help you as well :) |
found a better solution for this... |
I am developing a Service Fabric application locally, and I, seemingly randomly, tend to see the following error message when trying to start from VS2017:
Apparently something goes wrong here, but I don't really know what the problem is.
Running
Get-ServiceFabricApplicationType
through powershell shows me the following errorcode:FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR
. However, I can barely find any kind of documentation.I can't really say what might be the cause of this as well, as it tends to appear here and there, but it often goes away after rebooting my computer / resetting the local cluster.
Is there any information you can provide me? Documentation is really scarce regarding what happens in the Publish-NewServiceFabricApplication.ps1
Edit: I was able to run it with -Verbose flags, this is what I got now:
During the script run I notices that the application is indeed copied from from my pkg/Debug to the ImageStoreShare, but then disappears again. I'm not sure if this is due to the error and clean up in the background or whether something else could have deleted this.
The text was updated successfully, but these errors were encountered: