Jenkins Pipeline fails on the Image build step

2017-10-25 Thread Tien Hung Nguyen
Hello, I have a problem with setting up a Jenkins pipeline while carrying out this tutorial: https://blog.openshift.com/openshift-pipelines-jenkins-blue-ocean/ When I try to Start the pipeline, the build image stage fails witth the following log message in the Jenkins pod: ... INFO: Waiting for

Hard Disk is full because of OpenShift Origin

2017-10-26 Thread Tien Hung Nguyen
Hi everybody, I have a problem with my hard drive space. Since I'm using OpenShift locally with Docker, I have the problem that my hard drive space gets full very fast and I can't remove it. I have already run the commands 'oc cluster down' and the 'docker rmi [imageip] commands to deleted unused

Re: Hard Disk is full because of OpenShift Origin

2017-10-26 Thread Tien Hung Nguyen
een cleaned up properly. > >docker volume ls > > Maybe that is hanging onto space. > > Graham > >> On 27 Oct 2017, at 8:37 am, Tien Hung Nguyen >> wrote: >> >> Hi everybody, >> >> I have a problem with my hard drive space. Since I

Re: Hard Disk is full because of OpenShift Origin

2017-10-28 Thread Tien Hung Nguyen
y to remove old images is using “oadm prune….”[1] command. > I remember that there are two folders that increase a lot due to tmp files. > > - /var/lib/origin > - /var/lib/docker > > Try oadm prune and give some feedback > Regards, > > [1] https://docs.openshift.com/con

Re: Hard Disk is full because of OpenShift Origin

2017-10-30 Thread Tien Hung Nguyen
E & DEVOPS > > Red Hat Consulting, NA US WEST <https://www.redhat.com/> > > lpsan...@gmail.comM: 3236334854 > <https://red.ht/sig> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> > > On Sat, Oct 28, 2017 at 12:41 AM, Tien Hung Nguyen < > tien

Jenkins image build step stucks on Git cloning step

2017-11-01 Thread Tien Hung Nguyen
Hi, I tried to carry out this Tutorial: https://blog.openshift.com/openshift-pipelines-jenkins-blue-ocean/ However, the build is stucking at the step pulling the source from git: Cloning "https://github.com/siamaksade/jenkins-blueocean.git " ... Commit: 70cff8557908b592d291e6ea0b3a018069b61324 (u

Re: Jenkins image build step stucks on Git cloning step

2017-11-04 Thread Tien Hung Nguyen
nal connectivity? (oc rsh into > the jenkins pod and see if you can reach external addresses from it). > > If not (and i suspect you can't), you have a networking issue or perhaps > you need to go through a proxy? > > > On Wed, Nov 1, 2017 at 6:17 PM, Tien Hung Nguyen >

OpenShift Docker build strategy using Dockerfiles & MongoDB Database creation

2017-11-14 Thread Tien Hung Nguyen
Hello everybody, I'm new to OpenShift Origin and I have a few questions: My goal is to run an existing DevOps Dashboard Project on OpenShift Origin. The project does already workes on Docker (with Docker-compose.yaml and Dockerfile), consisting of the following 3 containers: 1. MongoDB 2. API 3.

Re: OpenShift Docker build strategy using Dockerfiles & MongoDB Database creation

2017-11-15 Thread Tien Hung Nguyen
36","itemId":"36","rating":3.0,"count":123}); I tried to adapt this example for my own project, however, it doesn't work. It seems that I'm providing a wrong SERVICE_HOST, which might be the reason why I can't connect to the mongodb ho

No persistent volumes available in OpenShift Origin 3.7.1

2018-02-03 Thread Tien Hung Nguyen
Hello, I'm using OpenShift Origin v3.7.1 Client and Server installed on my local Computer (Mac) via Docker on Mac. I started OpenShift using the command oc cluster up --host-data-dir /Users/username/oc-data and tried to deploy my appliocations using a .yml template. However, the deployment stucks

Re: No persistent volumes available in OpenShift Origin 3.7.1

2018-02-07 Thread Tien Hung Nguyen
may want >> to check that that job ran successfully. I don’t remember exactly what >> namespace it was created it in >> >> On Feb 3, 2018, at 1:10 PM, Tien Hung Nguyen >> wrote: >> >> Hello, >> >> I'm using OpenShift Origin v3.7.1 Client a

OpenShift Jenkins OAuth2 Authentication using Spring Boot

2018-02-09 Thread Tien Hung Nguyen
Hello everyone, I'm having a Spring Boot Rest Microservice and I'm trying to pull some information with a Rest call from my Jenkins Server, which is running in an OpenShift pod (based on the default openshift/jenkins image), to display the information from Jenkins in a unified dashboard. However,

Re: OpenShift Jenkins OAuth2 Authentication using Spring Boot

2018-02-09 Thread Tien Hung Nguyen
; > > On Fri, Feb 9, 2018 at 1:45 PM, Tien Hung Nguyen > wrote: > >> Hello everyone, >> >> I'm having a Spring Boot Rest Microservice and I'm trying to pull some >> information with a Rest call from my Jenkins Server, which is running in an >> Open

Re: OpenShift Jenkins OAuth2 Authentication using Spring Boot

2018-02-10 Thread Tien Hung Nguyen
idea was to retrieve the token from that file to execute a rest call in my java code to retrieve the jenkins information from another OpenShift pod for my dashboard. 2018-02-09 23:22 GMT+01:00 Ben Parees : > > > On Fri, Feb 9, 2018 at 5:16 PM, Tien Hung Nguyen > wrote: > >&g

Re: OpenShift Jenkins OAuth2 Authentication using Spring Boot

2018-02-11 Thread Tien Hung Nguyen
o the Jenkins Pod is forbidden for my Rest Service. Please, could you tell me how to fix that? 2018-02-11 0:47 GMT+01:00 Ben Parees : > > > On Sat, Feb 10, 2018 at 6:14 AM, Tien Hung Nguyen < > tienhng.ngu...@gmail.com> wrote: > >> I have found the token in the file

OpenShift All in One Cluster

2018-03-21 Thread Tien Hung Nguyen
Hello everyone, I'm trying to install OpenShift Origin (3.7.2) All in One Cluster using the method 2 of this link https://docs.openshift.org/latest/install_config/install/prerequisites.html#install-config-install-prerequisites in order to install it on my Ubuntu Server, which has been set up as a

[no subject]

2018-04-30 Thread Tien Hung Nguyen
Hi, I'm trying to start OpenShift Origin on Docker Toolbox (Boot2Docker) which uses VirtualBox to start Docker. However, I'm getting the following error: $ oc cluster up Starting OpenShift using openshift/origin:v3.6.1 ... -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- C

Using RMI Protocol to connect to OpenShift from external application

2018-05-02 Thread Tien Hung Nguyen
Hi, we have a application, which is actually running on Wildfly 12.0.0.Final via Docker. Now, we would like to put our application on OpenShift with the existing Dockerfile. However, our client is using RMI to connect connect to the server. Is it still possible to run our application on OpenShift

Re: Using RMI Protocol to connect to OpenShift from external application

2018-05-02 Thread Tien Hung Nguyen
Service or something like that. > The Router is generally only really for HTTP, but with passthrough SSL/TLS > just about anything could be running in the pod. > > On Wed, May 2, 2018 at 10:52 PM Tien Hung Nguyen > wrote: > >> Hi, >> >> we have a application, which is

Re: Using RMI Protocol to connect to OpenShift from external application

2018-05-02 Thread Tien Hung Nguyen
s will be > easier. Otherwise I think there might be other Ingress options. But I’ve > never used them. > On Thu, 3 May 2018 at 12:14 am, Tien Hung Nguyen > wrote: > >> Thank you for the response. >> >> How can I set up SSL/TLS as a connection method on OpenShif

OpenShift cluster up --host-data-dir on Docker for Windows on a shared Drive

2018-05-09 Thread Tien Hung Nguyen
Hi, I have a problem regarding OpenShift Origin 3.9 running on Docker for Windows locally: When I try to run oc cluster up --host-data-dir=/ocdata in order to persist my data on the Hyper-V Docker (following https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md), the data is not

IBM WebSphere Application Server on OpenShift Origin

2018-05-23 Thread Tien Hung Nguyen
Hi, I'm trying to install IBM WebSphere Application Server on OpenShift Origin running on my local computer (Docker for Windows). Normally, when I'm running IBM WebSphere Application Server on Docker, I just use an URL like this to retrieve the Admin console on the browser: https://10.0.75.1:9043

Error: RPC failed; result=22, HTTP code = 504 - Build error

2018-06-22 Thread Tien Hung Nguyen
Hi, somehow, all my builds on OpenShift fail when my buildconfig tries to clone the source code (config files for IBM WebSphere Application Server) to build the image. The error message is as follows: Cloning "http://bitbucket-server-sls-coba-berlin-ffm.10.0.75.2.nip.io/scm/slscob/sls-coba-berli

Re: Error: RPC failed; result=22, HTTP code = 504 - Build error

2018-06-22 Thread Tien Hung Nguyen
becomes so slow on my local Docker OpenShift Origin cluster after starting the buildconfig? Furthermore, is it possible to restart a Container/Pod on OpenShift to make changes taking effect without deleting the container? 2018-06-22 11:20 GMT+02:00 Tien Hung Nguyen : > Hi, > > somehow, all

Re: IBM WebSphere Application Server on OpenShift Origin

2018-06-29 Thread Tien Hung Nguyen
Hi Thomas, thank you for your response! I have tried your approach and set the host of the admin_host virtual host to my routers name called "sls-coba-was-admin-sls-coba- berlin-ffm.10.0.75.2.nip.io" and pointed it to the ports 9043, 9060, 443, 80 Furthermore, I have set the router to use TLS T