Questions tagged [openshift-online]

OpenShift Online is a hosted version of OpenShift, a distribution of Kubernetes for the enterprise, provided by Red Hat.

For more information of OpenShift Online see:

43 questions
6
votes
1 answer

route to application stopped working in OpenShift Online 3.9

I have an application running in Openshift Online starter, which worked for the last 5 months. A single pod behind a service with a route defined that does edge tls termination. Since Saturday, when trying to access the application, I get the error…
P.J.Meisch
  • 18,013
  • 6
  • 50
  • 66
3
votes
1 answer

Can't push an image to Openshift (unauthorized: authentication required)

I'm new to Openshift and Docker. I created a new project on Openshift, and a new image stream as well so I can push a docker image I created to the docker repository inside my Openshift project. After login in with docker to the registry as…
ChemiCalChems
  • 612
  • 12
  • 31
2
votes
1 answer

Openshift : Difference between BuildConfig and DeploymentConfig

I am trying to understand whats is the difference between BuildConfig and DeploymentConfig? I need to set some environment vairiables (DB details) to the container and the values should be picked from ConfigMap. So, where should this piece go? …
jack
  • 803
  • 3
  • 15
  • 26
2
votes
1 answer

Error: update acceptor rejected

I switched my project (node.js + mongodb) from Openshift v2 to v3. Also I'm using Starter version of v3 for my project and web console for all configurations. Deploy results in failed status with following error: --> Scaling tmo-9 to 1 error: update…
tmowojtek
  • 43
  • 1
  • 3
  • 7
2
votes
2 answers

Openshift 3 Starter failed to push image

I tried to previously successfully built projects and both got the same error message: error: build error: Failed to push image: Get https://docker-registry.default.svc:5000/v1/_ping: x509: certificate is valid for …
Aero Wang
  • 8,382
  • 14
  • 63
  • 99
2
votes
0 answers

Cannot deploy apps in Openshift Online: `Error syncing pod: FailedSync`

So I'm new to Openshift Online, and I'm looking to deploy a test image that when run simply runs a C++ native executable that says Hello world!. After pushing the built docker image to the docker hub and creating an app that uses that image, I've…
ChemiCalChems
  • 612
  • 12
  • 31
2
votes
3 answers

openshift v3 online pro volume and memory limit issues

I am trying to run an sonatype/nexus3 on openshift online v3 pro. If I just use the web console to create a new app from image it assigns it only 512Mi and it dies with OOM. It did get created though and logged a lot of java output before it died of…
simbo1905
  • 6,321
  • 5
  • 58
  • 86
1
vote
1 answer

How to use node package dotenv to access local development environment variables in Red Hat OpenShift application?

I'm revisiting a project which hasn't been updated for a while. In production/online environment, it uses environment variables defined at: openshift online console > applications > deployments > my node app > environment In development/offline…
user1063287
  • 10,265
  • 25
  • 122
  • 218
1
vote
1 answer

How to view previous wildfly server.log in openshift environment

Trying to identify the cause of restart of the wildfly application in a openshift POD: POD Describe shows no restart for the POD. oc logs xxx --previous does not find any entry. Wildfly log directory holds entry for the current server.log. I…
1
vote
1 answer

OpenShift "cannot setup source secret"

When I try to build my project I get the following error as the only thing in the console error: cannot setup source secret: no auth handler was found for secrets in /var/run/secrets/openshift.io/source Immediately after the event "Build Started". …
Aidan
  • 413
  • 3
  • 22
1
vote
0 answers

Can't annotate secret for OpenShift private git repo deployment

I tried to follow this guide on deploying an app on OpenShift from my private repository on GitLab. I tried using an SSH authentication key as a deploy key, GitLab personal access token with api scope and entering my GitLab credentials…
Nik333
  • 58
  • 1
  • 8
1
vote
0 answers

Openshift online error - "Zero nodes available"

I am not able to bring up pods (Location: Canada - central) I am getting following error; it seems that the nodes are not available. But cannot figure out the cause. 0/133 nodes are available: 1 node(s) were not ready, 126 node(s) had taints that…
Pritesh Mhatre
  • 3,847
  • 2
  • 23
  • 27
1
vote
1 answer

Unable to connect to openshift using Intellij Idea

Openshift throws an InvalidCredentialsOPenShiftException saying that I'm not authorized to access "https://openshift.redhat.com/broker/rest/user". Does anybody know how to deal with this in Intellij. Thanks
1
vote
1 answer

Pull image from Docker Hub in OpenShift online

I want to test an ubuntu desktop image from docker hub. The problem is the image runs as the 'root' user which is not permitted by the cluster administrator. How to resolve this problem? Thank you.
yasmine
  • 81
  • 1
  • 2
  • 3
1
vote
2 answers

Openshift Configmap : create and update command

I am writing sample program to deploy into Openshift with configmap. I have the following configmap yaml in the source code folder so when devops is setup, Jenkins should pick up this yaml and create/update the configs. apiVersion: v1 kind:…
jack
  • 803
  • 3
  • 15
  • 26
1
2 3