Comments (12)
@nichochen do you know the root cause of this?
from aroworkshop.
@cloudmelon please verify the image in the dc is pointing to the old version.
oc describe dc jenkins -n cicd-aro
Before setting the image, we need to remove the image change trigger. I have updated the commands in this comment.
from aroworkshop.
@sjbylo I tried it out today with my ARO cluster, it works for me. Did you perform any other actions, or the error showed up right after deploying the demo?
$oc get pod -n cicd-aro
NAME READY STATUS RESTARTS AGE
che-5ffcb75f4b-fmhtg 1/1 Running 0 11m
cicd-demo-installer-kfcfl 0/1 Completed 0 10m
cicd-demo-installer-xjn2n 0/1 Error 0 12m
gogs-1-rlg9v 1/1 Running 2 11m
gogs-postgresql-1-xmd65 1/1 Running 0 11m
jenkins-2-m7nns 1/1 Running 0 12m
maven-bkwj5 1/1 Running 0 5m
nexus-2-hprgw 1/1 Running 0 11m
skopeo-3sp5w 0/1 ContainerCreating 0 29s
sonardb-1-ftfc9 1/1 Running 0 11m
sonarqube-1-b4f4z 1/1 Running 0 11m
Jenkins deployment config
$oc get dc jenkins -n cicd-aro -o yaml|grep -i stream -A 3
kind: ImageStreamTag
name: jenkins:2
namespace: openshift
lastTriggeredImage: docker-registry.default.svc:5000/openshift/jenkins@sha256:386f7a43af90a79eabe521be05fc6c2fad873c14b6dd53bbac38dc5418837f39
Jenkins image stream
$oc describe is -n openshift jenkins|tail
2 (latest)
tagged from registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11
prefer registry pullthrough when referencing this tag
Provides a Jenkins 2.X server on RHEL 7. For more information about using this container image, including OpenShift considerations, see https://github.com/openshift/jenkins/blob/master/README.md.
Tags: jenkins
* registry.redhat.io/openshift3/jenkins-2-rhel7@sha256:386f7a43af90a79eabe521be05fc6c2fad873c14b6dd53bbac38dc5418837f39
2 weeks ago
Jenkins pipeline build
$oc get build -n cicd-aro
NAME TYPE FROM STATUS STARTED DURATION
tasks-pipeline-1 JenkinsPipeline Complete 13 minutes ago
from aroworkshop.
I have reproduced the issue after recreating a new ARO cluster.
Jenkins image stream
$oc describe is -n openshift jenkins|tail
2 (latest)
tagged from registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11
prefer registry pullthrough when referencing this tag
Provides a Jenkins 2.X server on RHEL 7. For more information about using this container image, including OpenShift considerations, see https://github.com/openshift/jenkins/blob/master/README.md.
Tags: jenkins
* registry.redhat.io/openshift3/jenkins-2-rhel7@sha256:da3488fb622ca393bcdb635e4d824f57708a7dc11db01ab3171c0d38ccb98474
11 minutes ago
from aroworkshop.
A quick dirty work around is to change the jenkins deployment config, point the image to the old version of Jenkins.
$oc set triggers dc/jenkins --remove --from-image jenkins:2 -n cicd-aro
$oc set image dc/jenkins jenkins=registry.redhat.io/openshift3/jenkins-2-rhel7@sha256:386f7a43af90a79eabe521be05fc6c2fad873c14b6dd53bbac38dc5418837f39 -n cicd-aro
After the change you should see the dc is pointing to the new image
$oc get dc jenkins -o yam -n cicd-arol |grep image
image: registry.redhat.io/openshift3/jenkins-2-rhel7@sha256:386f7a43af90a79eabe521be05fc6c2fad873c14b6dd53bbac38dc5418837f39
from aroworkshop.
Hi @nichochen I've point to the elder version of Jenkins, didn't work out :
Logs :
Any thoughts ?
from aroworkshop.
@sabbour I will investigate this and update the workshop instructions accordingly.
from aroworkshop.
@nichochen The image change trigger is a great point, learn it ! Working now. thanks :)
@sabbour I've been tried some old images ( https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/openshift3/jenkins-2-rhel7 ) are working.
from aroworkshop.
Related bug https://bugzilla.redhat.com/show_bug.cgi?id=1754968
The working image is registry.redhat.io/openshift3/jenkins-2-rhel7:v3.11.141
. The bug report mentions this has been fixed in jenkins-2-rhel7:v3.11.152
, but the release of that image is expected to rollout October 21st.
from aroworkshop.
I have verified this today, the issue have been fixed, Jenkins started without error.
from aroworkshop.
from aroworkshop.
from aroworkshop.
Related Issues (20)
- Ratings API container exposes port 3000 not 8080 HOT 1
- Rating frontend shows S2I build strategy --strategy=docker
- This repo is missing important files
- Service port for ratings-api defaults to 8080 instead of 3000 HOT 5
- Issues with vue version mismatch HOT 4
- Issue with Eclipse CHE not getting deployed
- 2.5 & 2.6 -- Sample App code no longer matches instructions HOT 1
- Section 3.5 Persistent storage refers to incorrect directory named "/var/demo-files" HOT 2
- CI/CD pipeline stage "Build Image" fails (ARO 3.11) HOT 3
- Error in Cli Version
- create cluster CLI snippet to be corrected HOT 1
- CI/CD Lab 3 - che instructions not accurate
- Screenshots and Lab steps are still based on ARO 3.11 HOT 2
- Issue while setting environment variable
- Che pod is not deploying in "Deploy the CI\CD Demo" exercise
- info on how to scalce Worker Nodes (compute power)
- Unable to detect the builder image
- Issue with MongoDB template in ARO Workshop HOT 2
- WCAG 2.1.1: Elements that have scrollable content must be accessible by keyboard (pre)
- MongoDB cannot create Pod HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aroworkshop.