siamaksade / openshift-jenkins-demo

CI/CD Demo on OpenShift
http://www.openshift.com
530 stars 928 forks source link

Need your help regarding Jenkins pod is not deployed #136

Open lyu015 opened 4 years ago

lyu015 commented 4 years ago

Dear developers,

Our OCP version is 3.11. And I performed with "oc new-app -n cicd -f c:\cicd-template.yaml" but I found there is jenkins pod is not deployed in cicd project. Could you please kindly verify and give me some solution or guide?? Refer to the following messages. Thanks in advance.

[root@krman1 openshift-cd-demo]# oc get pod NAME READY STATUS RESTARTS AGE cicd-demo-installer-hwc8n 0/1 Completed 0 14m cicd-demo-installer-pc4rs 0/1 Error 0 16m ---------> Error msg gogs-1-7czkb 1/1 Running 0 16m gogs-postgresql-1-hntzb 1/1 Running 0 16m nexus-1-fdbq6 1/1 Running 0 16m sonardb-2-bqbsh 1/1 Running 0 16m sonarqube-2-94qxl 1/1 Running 0 16m [root@krman1 openshift-cd-demo]# [root@krman1 openshift-cd-demo]# oc logs cicd-demo-installer-pc4rs -------> Error pod's log

Name: wildfly Namespace: dev Created: 19 hours ago Labels: Annotations: openshift.io/image.dockerRepositoryCheck=2019-12-17T09:38:11Z Image Repository: docker-registry.default.svc:5000/dev/wildfly Image Lookup: local=false Unique Images: 1 Tags: 1

latest tagged from openshift/wildfly-120-centos7

Image Name: wildfly:latest Docker Image: openshift/wildfly-120-centos7@sha256:a1fbd1b235102ae18344527b44201c34ad4c2181b0b4cbf295b1a8f0cbde8e73 Name: sha256:a1fbd1b235102ae18344527b44201c34ad4c2181b0b4cbf295b1a8f0cbde8e73 Created: Less than a second ago Annotations: image.openshift.io/dockerLayersOrder=ascending Image Size: 616MB in 12 layers Layers: 75.4MB sha256:8ba884070f611d31cb2c42eddb691319dc9facf5e0ec67672fcfa135181ab3df 9.674MB sha256:c3dca185eb1482e83381d99881430ebc179e91f0969bc905207cd1e2312e5b57 4.832kB sha256:ee720ba20823ba4560916cf32bc06c5e31c230cb76f641be4a5fbfc7754d7574 180.9kB sha256:497ef6ea0fac8097af3363a9b9032f0948098a9fa2b9002eb51ac65f2ed29cf6 90.4MB sha256:ebf1fb961f612b70f32c7d9184c8b3e06b9f427dff8c77385a489a4f2fbfac12 268.2MB sha256:bb1a7feb861e029fa9bcf6df26e9763bfa86bc9469efbd11858ca1ba8c362bc6 1.598MB sha256:e3446df0bb493dd808eb4b0aeac24070de733d72c542d5a1704bc14bb12037f5 2.668kB sha256:0023fa333699651a511fae27367d2e40bf7e522f7114a2f3ea0d9e08da0e2a9a 5.763kB sha256:073e90eecb4dfc611f7a93ca1b247a63a25088f03fc750b6dce7002335cb8230 964B sha256:4dda2c43ec8702a827f5d77b295c561f052d0a2ef19f29f766c13282cbe1c331 5.192kB sha256:f3003e6af02082d259e32094d3495a793546900c3cf916f52c11ff6bc9b3a444 170.6MB sha256:40cd856a9498140c76f3ea0cb6d858ef9ee96d15b14ced2e00a7c3794f62ee5b Image Created: 6 months ago Author: Ben Parees bparees@redhat.com Arch: amd64 Entrypoint: container-entrypoint Command: /bin/sh -c $STI_SCRIPTS_PATH/usage Working Dir: /opt/app-root/src User: 1001 Exposes Ports: 8080/tcp Docker Labels: com.redhat.component=s2i-base-container com.redhat.deployments-dir=/wildfly/standalone/deployments description=The s2i-base image, being built upon s2i-core, provides any images layered on top of it with all the tools needed to use source-to-image functionality. Additionally, s2i-base also contains various libraries needed for it to serve as a base for other builder images, like s2i-python or s2i-ruby. io.k8s.description=Platform for building and running JEE applications on WildFly 12.0.0.Final io.k8s.display-name=WildFly 12.0.0.Final io.openshift.builder-version=ec1407a io.openshift.expose-services=8080:http io.openshift.s2i.assemble-input-files=/wildfly/standalone/deployments;/wildfly/standalone/configuration;/wildfly/provided_modules io.openshift.s2i.destination=/opt/s2i/destination io.openshift.s2i.scripts-url=image:///usr/libexec/s2i io.openshift.tags=builder,wildfly,wildfly12 io.s2i.scripts-url=image:///usr/libexec/s2i maintainer=Ben Parees bparees@redhat.com name=centos/s2i-base-centos7 org.label-schema.build-date=20190305 org.label-schema.license=GPLv2 org.label-schema.name=CentOS Base Image org.label-schema.schema-version=1.0 org.label-schema.vendor=CentOS summary=Base image with essential libraries and tools used as a base for builder images like perl, python, ruby, etc. version=1 Environment: PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SUMMARY=Base image with essential libraries and tools used as a base for builder images like perl, python, ruby, etc. DESCRIPTION=The s2i-base image, being built upon s2i-core, provides any images layered on top of it with all the tools needed to use source-to-image functionality. Additionally, s2i-base also contains various libraries needed for it to serve as a base for other builder images, like s2i-python or s2i-ruby. STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PLATFORM=el7 BASH_ENV=/opt/app-root/etc/scl_enable ENV=/opt/app-root/etc/scl_enable PROMPT_COMMAND=. /opt/app-root/etc/scl_enable NODEJS_SCL=rh-nodejs10 WILDFLY_VERSION=12.0.0.Final MAVEN_VERSION=3.5.4

--> Creating resources with label build=tasks ... error: imagestreamtag.image.openshift.io "tasks:latest" already exists --> Failed error: buildconfigs.build.openshift.io "tasks" already exists

--> Creating resources ... --> Failed error: deploymentconfigs.apps.openshift.io "tasks" already exists

--> Creating resources ... --> Failed error: deploymentconfigs.apps.openshift.io "tasks" already exists

--> Creating resources ... error: serviceaccounts "gogs" already exists error: services "gogs-postgresql" already exists deploymentconfig.apps.openshift.io "gogs-postgresql" created error: services "gogs" already exists error: routes.route.openshift.io "gogs" already exists error: routes.route.openshift.io "gogs-ssh" already exists deploymentconfig.apps.openshift.io "gogs" created error: imagestreams.image.openshift.io "gogs" already exists configmap "gogs-config" created --> Failed

--> Creating resources ... error: imagestreams.image.openshift.io "sonarqube" already exists error: secrets "sonardb" already exists error: secrets "sonar-ldap-bind-dn" already exists deploymentconfig.apps.openshift.io "sonardb" created deploymentconfig.apps.openshift.io "sonarqube" created error: routes.route.openshift.io "sonarqube" already exists error: services "sonardb" already exists error: services "sonarqube" already exists --> Failed

--> Creating resources ... error: imagestreams.image.openshift.io "nexus" already exists deploymentconfig.apps.openshift.io "nexus" created error: services "nexus" already exists error: routes.route.openshift.io "nexus" already exists --> Failed

404


Application Version: 0.11.34.1122

If you think this is an error, please open an issue on GitHub.