-
Notifications
You must be signed in to change notification settings - Fork 21
Download of container image from ACR fails #732
Comments
I'm having the exact same issue. Only difference is that I created a SF cluster on Azure. |
The issue seems to be related to the size of the container image. I was able to successfully deploy a Linux container app in SF cluster on Azure that is based on a container image about 300Mb in size. I used exact same commands to deploy my Linux container as I used for Windows container. At this point the differences I see are SF cluster type (Linux vs Windows) and container images size ~300Mb for Linux and ~6Gb for Windows. |
I'm facing similiar issue too. Any help will be appreciated on how to debug this issue. |
What version of docker are you running on? |
17.09.1-ce-win42 (14687) |
sfmskywalker, you mentioned that you deployed the cluster on Azure? Which gallery image did you use for the cluster? SF requires "ee" version of docker which is installed on Azure gallery images with "*-with containers" in image name. |
Is it possible to run Linux container in Service Fabric cluster on Windows? I'm getting:
|
No, this is not supported. Running Linux containers need a Service Fabric Linux cluster at this time. |
Same issue with windows image. I have deployed a SF cluster (win server 16 with containers, version 6.0.232.9494) with one node & trying to host an image from ACR. Getting same error as below. I have provided password correctly. Also I tried to point to public docker hub image too, same issue. Error event: SourceId='System.Hosting', Property='Download:1.0:1.0'. The image (simple asp.net core api app) is build for windows OS in a win 10 machine & published to docker hub & ACR Update: If I go inside the VM and try to execute the below command (for public docker hub) I get folder not found error after extracting. Seems somehow folders are getting deleted after extract! PS C:\Users\sanjayd> docker run dsanjay/quotesgenerator:latest Update 2: Got the issue. SF deploys old win server 16 OS version, so need to use '2.0.5-2.1.4-nanoserver-sac2016' tag to build the image, I was using latest for fall creator's update (1709). |
I'm running SF runtime version 6.0.232.9494 on Windows Server 2016 VM. I created Container type SF project that points to a container image hosted in Azure Container Registry (ACR). My container image is based on
microsoft/windowsservercore:1709
image and has .NET Framework app in it.ServiceManifest
ApplicationManifest
I tried to deploy my SF Container app to both local (1 Node) cluster and SF cluster (3 Node) hosted in Azure. With both clusters I get the same error message indicating that download of container image has failed. Unfortunately I cannot find more details than this output:
I've tried to use all available passwords for ACR that got via CLI command:
az acr credential show --name myregistry
When using local SF cluster I see a bunch of warnings in Event Viewer -> MSFT-Service Fabric -> Admin log:
How do I troubleshoot image download error?
What do the Event Viewer warnings mean? Are they related to image download error I'm getting or that's different issue(s)?
The text was updated successfully, but these errors were encountered: