deis / dockerbuilder

Deis dockerbuilder builds your app from a Dockerfile inside a Kubernetes pod, used by Deis Workflow.
https://deis.com
MIT License
17 stars 27 forks source link

Dockerfile apps fail to deploy on beta3 #52

Closed mboersma closed 8 years ago

mboersma commented 8 years ago

The Docker image isn't successfully pulled from the reigstry and "deis info" shows it as "initializing" forever:

$ kubectl --namespace=yearly-gatepost describe pod yearly-gatepost-v2-cmd-jue7v
Name:       yearly-gatepost-v2-cmd-jue7v
Namespace:  yearly-gatepost
Node:       192.168.64.2/192.168.64.2
Start Time: Tue, 26 Apr 2016 15:05:46 -0600
Labels:     app=yearly-gatepost,heritage=deis,type=cmd,version=v2
Status:     Pending
IP:     172.17.0.15
Controllers:    ReplicationController/yearly-gatepost-v2-cmd
Containers:
  yearly-gatepost-cmd:
    Container ID:   
    Image:      10.100.22.197:80/yearly-gatepost:git-196eb718
    Image ID:       
    Port:       
    QoS Tier:
      cpu:      BestEffort
      memory:       BestEffort
    State:      Waiting
      Reason:       ImagePullBackOff
    Ready:      False
    Restart Count:  0
    Environment Variables:
      DEIS_APP:     yearly-gatepost
      DEIS_RELEASE: v2
Conditions:
  Type      Status
  Ready     False 
Volumes:
  default-token-66ocg:
    Type:   Secret (a volume populated by a Secret)
    SecretName: default-token-66ocg
Events:
  FirstSeen LastSeen    Count   From            SubobjectPath               Type        ReasonMessage
  --------- --------    -----   ----            -------------               --------    -------------
  46s       46s     1   {default-scheduler }                        Normal      Scheduled   Successfully assigned yearly-gatepost-v2-cmd-jue7v to 192.168.64.2
  46s       20s     2   {kubelet 192.168.64.2}  spec.containers{yearly-gatepost-cmd}    Normal      BackOfBack-off pulling image "10.100.22.197:80/yearly-gatepost:git-196eb718"
  46s       20s     2   {kubelet 192.168.64.2}                      Warning     FailedSync  Error syncing pod, skipping: failed to "StartContainer" for "yearly-gatepost-cmd" with ImagePullBackOff: "Back-off pulling image \"10.100.22.197:80/yearly-gatepost:git-196eb718\""

  46s   8s  3   {kubelet 192.168.64.2}  spec.containers{yearly-gatepost-cmd}    Normal  Pulling     pulling image "10.100.22.197:80/yearly-gatepost:git-196eb718"
  46s   8s  3   {kubelet 192.168.64.2}  spec.containers{yearly-gatepost-cmd}    Warning Failed      Failed to pull image "10.100.22.197:80/yearly-gatepost:git-196eb718": Error: image yearly-gatepost:git-196eb718 not found
  46s   8s  3   {kubelet 192.168.64.2}                      Warning FailedSync  Error syncing pod, skipping: failed to "StartContainer" for "yearly-gatepost-cmd" with ErrImagePull: "Error: image yearly-gatepost:git-196eb718 not found"