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

Bug 1229515

Summary: [beta4] new-app against a dockerfile repo results in an immediate attempt to deploy before anything is built
Product: OpenShift Container Platform Reporter: Erik M Jacobs <ejacobs>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.0.0CC: ccoleman, cewong, dmcphers, jcall, jokerman, libra-onpremise-devel, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-09 19:49:00 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:

Description Erik M Jacobs 2015-06-09 02:27:12 UTC
[alice@ose3-master beta4]$     osc new-app -l name=wordpress https://github.com/openshift/centos7-wordpress.git
imageStreams/centos
imageStreams/centos7-wordpress
buildConfigs/centos7-wordpress
deploymentConfigs/centos7-wordpress
services/centos7-wordpress
A build was created - you can run `osc start-build centos7-wordpress` to start it.
Service "centos7-wordpress" created at 172.30.135.252 with port mappings 22.
[alice@ose3-master beta4]$ 
[alice@ose3-master beta4]$ 
[alice@ose3-master beta4]$ 
[alice@ose3-master beta4]$ osc get pod
POD                         IP          CONTAINER(S)        IMAGE(S)                           HOST                                   LABELS                                                                             STATUS    CREATED      MESSAGE
centos7-wordpress-1-rlg0q   10.1.2.23                                                          ose3-node2.example.com/192.168.133.4   deployment=centos7-wordpress-1,deploymentconfig=centos7-wordpress,name=wordpress   Pending   32 seconds   
                                        centos7-wordpress   library/centos7-wordpress:latest                                                                                                                             Waiting                Error: image library/centos7-wordpress:latest not found


[alice@ose3-master beta4]$ osc version
osc v0.5.2.2-26-g701be15
kubernetes v0.17.1-804-g496be63

Comment 2 Fabiano Franz 2015-06-09 19:10:02 UTC
This is working as designed. The deployment config will try to deploy the image and won't succeed until one is available from the build.

Comment 3 Erik M Jacobs 2015-06-10 14:34:51 UTC
So the design is to fail with an error by default?

Doesn't that seem a bit... odd?

Comment 4 John Call 2015-09-28 06:10:32 UTC
I was also concerned when I first saw this behavior.  Is this decision/process documented somewhere in the Admin / Users's guide?

Comment 5 Red Hat Bugzilla 2023-09-14 03:00:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days