{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5391","labels_url":"https://api.github.com/repos/openshift/origin/issues/5391/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5391/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5391/events","html_url":"https://github.com/openshift/origin/issues/5391","id":113270453,"number":5391,"title":"ImageStreamTag possibly should not return 404 when a status exists and the image does not","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-26T01:48:57Z","updated_at":"2015-10-26T01:48:57Z","closed_at":null,"body":"An image stream that has only referential (but no import) tags currently returns 404 when you try to look up the tag\r\n\r\n```\r\n  apiVersion: v1\r\n  kind: ImageStream\r\n  metadata:\r\n    creationTimestamp: 2015-10-26T01:41:23Z\r\n    name: installable\r\n    namespace: default\r\n    resourceVersion: \"303\"\r\n    selfLink: /oapi/v1/namespaces/default/imagestreams/installable\r\n    uid: aa34c0dd-7b82-11e5-8dcb-080027c5bfa9\r\n  spec:\r\n    tags:\r\n    - annotations:\r\n        io.openshift.generate.job: \"true\"\r\n      from:\r\n        kind: DockerImage\r\n        name: openshift/origin:v1.0.6\r\n      name: installable\r\n    - from:\r\n        kind: ImageStreamTag\r\n        name: installable:installable\r\n      name: latest\r\n  status:\r\n    dockerImageRepository: \"\"\r\n    tags:\r\n    - items:\r\n      - created: 2015-10-26T01:41:23Z\r\n        dockerImageReference: openshift/origin:v1.0.6\r\n        image: \"\"\r\n      tag: installable\r\n    - items:\r\n      - created: 2015-10-26T01:41:23Z\r\n        dockerImageReference: openshift/origin:v1.0.6\r\n        image: \"\"\r\n      tag: latest\r\n```\r\n\r\n```\r\n$ oc get istag/installable:latest\r\nError from server: imageStreamTag \"installable:latest\" not found\r\n```\r\n\r\nI'm not sure it's correct to return a 404 for a tag that clearly exists.  We don't have a way to indicate the image has no metadata today, but we probably should."}}