Cannot create new applications in OpenShift due to: unable to recognize /__internal, Kind=BuildConfig: no matches for /, Kind=BuildConfig
Issue
The oc new-app ... command is failing due to unrecognizable BuildConfig resource:
[user@master01 ~]# oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
--> Found Docker image e42d0dc (12 days old) from Docker Hub for "centos/ruby-22-centos7"
Ruby 2.2
--------
Ruby 2.2 available as container is a base platform for building and running various Ruby 2.2 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible.
Tags: builder, ruby, ruby22
* An image stream will be created as "ruby-22-centos7:latest" that will track the source image
* A source build using source code from https://github.com/openshift/ruby-ex.git will be created
* The resulting image will be pushed to image stream "ruby-ex:latest"
* Every time "ruby-22-centos7:latest" changes a new build will be triggered
* This image will be deployed in deployment config "ruby-ex"
* Port 8080/tcp will be load balanced by service "ruby-ex"
* Other containers can access this service through the hostname "ruby-ex"
--> Creating resources ...
imagestream "ruby-22-centos7" created
imagestream "ruby-ex" created
error: unable to recognize /__internal, Kind=BuildConfig: no matches for /, Kind=BuildConfig
deploymentconfig "ruby-ex" created
service "ruby-ex" created
--> Failed
Environment
- Red Hat OpenShift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.