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
1 answer

Openshift CronJob not starting for specific time schedule

I'm currently trying to create a CronJob in Openshift that starts every day at 3.00 am. Creating the CronJob using a schedule with step values (e. g. "0 */1 * * *") works fine and the Jobs start correctly, however when creating the CronJob with a…
erlDan
  • 131
  • 4
  • 14
0
votes
1 answer

OpenShift - Rollback not pointing to previous image

I am trying to do rollback for a deployment config. I am not finding the rollback pointing to older image. It always points to the latest image. I am trying out the following commands. oc rollout undo dc/ oc rollback dc/ oc rollback…
user3930151
  • 119
  • 1
  • 11
0
votes
0 answers

Connect to MongoDB remote on Openshift Online

I want to connect to my MongoDB hosted on Openshift Online (we have a Pro account) using only the database's Host IP, Port, db username, db password, db name. Currently I can do it using the Openshift client tools using the oc port-forward…
0
votes
1 answer

What is the concept of Service Affinity in OpenShift?

Situation When a deployment fails on our OpenShift 3.11 instance because of a Failed Scheduling error event, a message comparable to the following shown: Failed Scheduling 0/11 nodes are available: 10 CheckServiceAffinity, 2…
dajood
  • 3,758
  • 9
  • 46
  • 68
0
votes
2 answers

Ansible OpenShift shell command fails, but works outside of Ansible

I have an Ansible playbook that includes an OpenShift CLI login: - name: "OpenShift CLI login" shell: oc login -u kubeadmin -p $(cat /root/auth/kubeadmin-password) https://{{ groups['boot'][0] }}:6443 It fails with (hostname has been replaced…
cbarlock
  • 105
  • 10
0
votes
1 answer

How to migrate docker file to okd/openshift template?

I have the following working dockerfile, #using python3.6 image FROM python:3.6 ENV PYTHONUNBUFFERED 1 #Installing required packages RUN apt-get update RUN apt-get install libsasl2-dev libldap2-dev libssl-dev python3-dev psmisc -y #Installing a…
0
votes
1 answer

Deploying react app with nginx by using s2i strategy in OpenShift

I want to deploy my react app by using s2i strategy from local directory that includes build files to openshift.(OpenShift 3.11 version) Firstly, I created a build-config file by using oc-cli tool oc new-build…
fgul
  • 5,763
  • 2
  • 46
  • 32
0
votes
1 answer

Openshift online - no longer running collectstatic

I've got 2 Python 3.6 pods currently running. They both used to run collectstatic upon redeployment, but then one wasn't working properly, so I deleted it and made a new 3.6 pod. Everything is working perfectly with it, except it no longer is…
tw0shoes
  • 167
  • 2
  • 8
0
votes
1 answer

Openshift : Unable to add secret using file

I am unable to add secret from file using below command : oc create -f /tmp/config.json Output : error: unable to decode "/tmp/config.json": Object 'Kind' is missing in '{ # cat /tmp/config.json { "auths": { …
0
votes
1 answer

Does OpenShift 3.11 block any SSLv3 traffic on secure routes?

I have my system running in OpenShift 3.11. I have to implement an https/REST integration with a legacy Java 1.6 system, which supports SSLv3 only. Thus I had to enable SSLv3 encryption on my web server and I'm using passthrough mode for my…
Boris Burkov
  • 13,420
  • 17
  • 74
  • 109
0
votes
1 answer

Allowing my python code to read data from DB2 on openshift

I have a python code that needs to read data from a restricted DB2. I do know about secrets in build configs of Openshift,however I did not get any which can be useful like this. Also what should be the appropriate syntax in my code to read from…
sayan_sen
  • 345
  • 4
  • 15
0
votes
1 answer

Can Openshift templates create objects over multiple projects

If I create project 'A' and want to deploy a template from inside it that creates objects in project 'A' and also in another project 'B' how would I achieve this. I tried simply specifying the namespace of project 'B' in the template but got the…
0
votes
1 answer

Openshift installation on Ubuntu fails

I am trying to install openshift on Ubuntu by following the following article https://docs.openshift.com/container-platform/4.2/installing/installing_aws/installing-aws-default.html#installing-aws-default However, I am stuck at this command…
0
votes
1 answer

How can I upgrade to the latest Operator Lifecycle Manager on OpenShift 3.11?

I've found version 0.6.0 of the Operator Framework's Operator Lifecycle Manager (OLM) to be lacking and see that 0.12.0 is available with lots of new updates. How can I upgrade to that version? Also, what do I need to consider regarding this…
Josiah
  • 2,666
  • 5
  • 30
  • 40
0
votes
0 answers

In OpenShift, Deploy application from web console using image name

I can deploy a new app following command from OpenShift Container Platform Command Line Interface (oc CLI) //oc new-app --docker-image=:/ --name=customer --insecure-registry=true $ oc new-app…
fgul
  • 5,763
  • 2
  • 46
  • 32