Questions tagged [openshift-3]

Redhat rolled out Openshift version 3 which is having a totally different architecture than its earlier version referred as 'Openshift' or 'Openshift V2'.

Please check the details here.

All the queries on Openshift V2 or earlier are commonly tagged as 'openshift'. However, the same is no longer valid for Openshift V3. While Openshift V2 and V3 would co-exist for some time, it is more appropriate to tag all V3 related queries under this tag (Openshift-3).

215 questions
0
votes
3 answers

MySQL environment variables don't get populated on Openshift V3

I'm setting up a MySQL service on an Openshift container, but I can't access it from the rest of the services. According to the documentation…
GCarbajosa
  • 236
  • 1
  • 4
  • 13
0
votes
1 answer

Usage of OpenShift ConfigMaps in DeploymentConfigurations

On the OpenShift Documentation for ConfigMaps (https://docs.openshift.com/enterprise/3.2/dev_guide/configmaps.html) is only an example of usage within Pods. But can I use ConfigMaps also inside DeploymentConfig? The parameter declarations inside…
Jan Franta
  • 1,691
  • 2
  • 16
  • 25
0
votes
1 answer

How to open an internal port in Openshift 3 Online?

Say if I want to open two ports, one for the public at 8080, and another one to process some public request but was forwarded by the 8080 port like such: const http = require('http'); const publicServer = http.createServer(...).listen(8080); const…
Aero Wang
  • 8,382
  • 14
  • 63
  • 99
0
votes
1 answer

Mongodb EHOSTUNREACH on Openshift Online 3 starter

I was working on my Openshift app today and without changing anything related to mongodb connection I started getting this message: /opt/app-root/src/node_modules/mongodb/lib/server.js:242 process.nextTick(function() { throw err; }) …
0
votes
1 answer

How to canary Services in Openshift?

I am experimenting to do a canary release of a service in Openshift. I understand and know how to canary a service if it is registered to a route. But there are situations that we often end up not registering every service with a route. Is there an…
zeagord
  • 2,257
  • 3
  • 17
  • 24
0
votes
1 answer

Un-hardcode deploy config image tag name

Right now our DC (deployment config) has this hardcoded it it: /// dc.yaml image: containers.nabisco.com/cdt-org/cdt-dev:latest then we roll out the dc with: $ oc rollout latest dc/cdtcae-prod-deployment however one problem I am noticing is that…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

openshift: each successful build creating new pod

I'm new to openshift and I have created new openshift app using s2i strategy. But my problem is with each successful build its creating new pod instead of overriding the image on current running pod. Can someone please let me know the configuration…
Thrinath Reddy
  • 280
  • 1
  • 4
  • 12
0
votes
0 answers

Creating Openshift template app - NodeJS

I am trying to setup an Openshift application but it stays on build "pending" forever. I noticed that no images were added to the imagestream. I followed all the steps on this link but it didn´t work. Can someone help me identify what is missing?
0
votes
1 answer

Openshift Online Pro health check doesn't connect when the http url is valid

We are using OpenShift Online Pro. I have an app where I want to add a readiness health check. If I check the URL from my laptop it is good: simon$ curl --head http://x.y.pro-eu-west-1.openshiftapps.com/api/ready HTTP/1.1 200 OK If I use the…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
0
votes
0 answers

Initialize MySQL DB in Dockerfile for OpenShift

I am deploying MySQL on OpenShift from a Dockerfile. Everything went well and I am able to initialize and populate the database by using oc rsh. But now, I want to automate all the manual steps in my Dockerfile. Here's the commands I run manually…
redhatter
  • 63
  • 2
  • 4
0
votes
0 answers

javax.security.sasl.SaslException: Authentication failed: the server presented no authentication mechanisms in Wildfly 10.1

I am new to EJBs, and I am trying to perform remote invocations on stateless and stateful beans that I have deployed on a pod in my project that is based on Wildfly 10.1 in the new OpenShift 3 (Origin). The code that I am using for initializing the…
0
votes
1 answer

I cannot find my previous applications and I cannot make a new one

I received an upgrade notification and afterward I cannot find my running application nor can I start a new one (this account cannot start more than 1 project). How can I find my old project? This is what my console looks like…
Aero Wang
  • 8,382
  • 14
  • 63
  • 99
0
votes
1 answer

Openshift fails and stops building node js application, when trying to deploy

I'm trying to deploy a nodejs application on openshift but it fails after about a minute and when I check the log it stops at the line: ---> Building your Node application from source without logging any error.
user4092086
  • 986
  • 3
  • 12
  • 24
0
votes
1 answer

Test domain name for Openshift

I am new in cloud platforms I wanted to test openshift on AWS / GKE (I have working accounts on both the cloud) All tutorials pointing in pre-requisite that I need a domain name. sins domain names are not free and I just want to try this, how I can…
Guru
  • 1,303
  • 18
  • 32
0
votes
1 answer

Symbolic link to persistent storage dissappears

On Openshift v3 (free) I manually created a symbolic link in my app working directory (opt/app-root/src) to a mounted persistent storage in /data. After I have to rebuild or if Openshift decides to restart, this link is deleted. How do I make this…