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

Re: S2i Build in NEW status a long time



It looks like there is in fact a build pod running, can you run oc get pods to confirm that, and oc logs <build-pod> to see what the build pod is doing?

I think you might be hitting a known issue we had where the build status isn't updated correctly, but the build is in fact running (if that were the case, though, you should eventually see the build complete).


On Fri, Mar 17, 2017 at 8:53 AM, 邓高谋 <denggaomou 163 com> wrote:
I start a new build, and run "oc describe build “
First just like this 

Name: spring-boot-application-13
Namespace: testbiz
Created: 50 seconds ago
Labels: app=spring-boot-application
buildconfig=spring-boot-application
template=spring-boot-application

Status: New
Duration: waiting for 50s
Build Config: spring-boot-application
Build Pod: spring-boot-application-13-build

Strategy: Source
URL: git git xxxxx/xxx/xxx/xxx.git
Ref: develop
Source Secret: cljsec
Pull Secret Name: builder-dockercfg-qqh1z
Force Pull: yes
Output to: ImageStreamTag spring-boot-application:latest
Push Secret: builder-dockercfg-qqh1z

Build trigger cause: Manually triggered

No events.

And after a moment, it comes like  this

Name: spring-boot-application-13
Namespace: testbiz
Created: 2 minutes ago
Labels: app=spring-boot-application
buildconfig=spring-boot-application
template=spring-boot-application

Status: New
Started: Fri, 17 Mar 2017 20:47:15 CST
Duration: running for 10s
Build Config: spring-boot-application
Build Pod: spring-boot-application-13-build

Strategy: Source
URL: git git xxxxx/xxx/xxx/xxx.git
Ref: develop
Source Secret: cljsec
Pull Secret Name: builder-dockercfg-qqh1z
Force Pull: yes
Output to: ImageStreamTag spring-boot-application:latest
Push Secret: builder-dockercfg-qqh1z

Build trigger cause: Manually triggered

No events.



[root ocmaster01 ~]# oc get build spring-boot-application-13
NAME                         TYPE      FROM          STATUS    STARTED              DURATION
spring-boot-application-13   Source    Git develop   New       About a minute ago   1m16s 
On web console

Status

Status:
 New
Started:
a few seconds ago  Mar 17, 2017 8:52 PM
Duration:
waiting for 8 minutes, 38 seconds
Triggered By:
Manual build





在 2017年3月17日,下午8:36,Ben Parees <bparees redhat com> 写道:

oc describe




--
Ben Parees | OpenShift


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