[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: BuildConfig+ImageStream question

On Fri, Apr 1, 2016 at 9:13 AM, Tomas Nozicka <tnozicka redhat com> wrote:

let's say we have an ImageStream with the following definition:
  dockerImageRepository: centos/ruby-22-centos7

There is also an BuildConfig referencing this ImageStream by:
    kind: ImageStreamTag
    name: ruby-22-centos7:latest

If you start build from this BuildConfig you get:
Error from server: imageStreamTag "ruby-22-centos7:latest" not found

​what is the output of "oc get is <imagestream name> -n <namespace>" ?​


There are intentionally no tags yet in the ImageStream. But it knows
where to get them. Should not have openshift downloaded the image in
the first place or is it correct to get this error?

​it looks like you created the imagestream in a namespace named "import", is that also where you defined the buildconfig?  if not, you need to specify the namespace in your "from" definition in the buildconfig, and ensure you have view access to the import namespace.


Tomas Nozicka

dev mailing list
dev lists openshift redhat com

Ben Parees | OpenShift

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]