Skip to content

Failed to resolve ImageStreamTag in deployment #6934

@mfojtik

Description

@mfojtik

Reproduce on latest master:

$ oc new-project stage
$ oc create -f https://raw.githubusercontent.com/arilivigni/openshift-ci-pipeline/master/sample-app/sample-app-template.json
$ oc start-build sample-app --wait --follow
$ oc deploy sample-app --latest

What I see, is this error in the Pod event log:

Failed to pull image "sample-app:latest": Error: image library/sample-app:latest not found

Additionally:

$ oc describe istag/sample-app:latest
Name:       sha256:79bd15f334544d39d726c1b5e178085bb48425a9a7d4dfbf2dc4d376cb192e24
Created:    12 minutes ago
Docker Image:   172.30.167.193:5000/stage/sample-app@sha256:79bd15f334544d39d726c1b5e178085bb48425a9a7d4dfbf2dc4d376cb192e24
...

$ oc describe dc/sample-app
Name:       sample-app
Created:    15 minutes ago
Labels:     app=sample-app
Annotations:    openshift.io/generated-by=OpenShiftNewApp
Latest Version: 2
Triggers:   Config, Image(sample-app@latest, auto=false)
Strategy:   Rolling
Template:
  Selector: app=sample-app,deploymentconfig=sample-app
  Replicas: 1
  Containers:
  NAME      IMAGE           ENV
  sample-app    sample-app:latest

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions