Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1591003

Summary: error: unable to recognize /__internal, Kind=BuildConfig: no matches for /, Kind=BuildConfig
Product: OpenShift Container Platform Reporter: Robert Bost <rbost>
Component: BuildAssignee: Ben Parees <bparees>
Status: CLOSED NOTABUG QA Contact: Wenjing Zheng <wzheng>
Severity: high Docs Contact:
Priority: high    
Version: 3.9.0CC: aos-bugs, jokerman, mfojtik, mmccomas, rbost
Target Milestone: ---   
Target Release: 3.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-14 13:22:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Take a look none

Description Robert Bost 2018-06-13 21:43:45 UTC
Description of problem: Cannot create new app after fresh installation of OCP 3.9.30:

[root@registry-mstr-01 ~]# 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



Version-Release number of selected component (if applicable):
[root@registry-mstr-01 ~]# rpm -qa atomic-openshift
atomic-openshift-3.9.30-1.git.0.dec1ba7.el7.x86_64


How reproducible: Always


Steps to Reproduce:
1. New install of 3.9.30 
2. oc new-project mytest
3. oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

Comment 3 Michal Fojtik 2018-06-14 09:27:13 UTC
I can't reproduce this on latest master, moving this off the 3.10 blocker list.

Comment 8 Robert Bost 2018-06-14 13:23:50 UTC
Issue was that builds were disabled in master config:

# grep -A4 disabledFeatures /etc/origin/master/master-config.yaml
disabledFeatures:
- Builder
- S2IBuilder
- WebConsole
dnsConfig:

Linked new RH KCS solution to bz.

Comment 9 Michal Fojtik 2018-06-15 07:48:30 UTC
(In reply to Robert Bost from comment #8)
> Issue was that builds were disabled in master config:
> 
> # grep -A4 disabledFeatures /etc/origin/master/master-config.yaml
> disabledFeatures:
> - Builder
> - S2IBuilder
> - WebConsole
> dnsConfig:
> 
> Linked new RH KCS solution to bz.

Spawned https://github.com/openshift/origin/issues/20002 to make new-app report the missing builds more nicely.

Comment 10 Maryna Nalbandian 2018-06-27 06:56:00 UTC
Created attachment 1454927 [details]
Take a look

Comment 11 Ben Parees 2018-06-27 12:25:49 UTC
Maryna:  ?