Bug 1229515 - [beta4] new-app against a dockerfile repo results in an immediate attempt to deploy before anything is built
Summary: [beta4] new-app against a dockerfile repo results in an immediate attempt to ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-09 02:27 UTC by Erik M Jacobs
Modified: 2023-09-14 03:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-09 19:49:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.