This tag doesn't currently have an excerpt. Help contribute by writing one
Questions tagged [openshift]
7609 questions
14
votes
2 answers
how do I tail logs in open shift using oc client
From the question you can tell I'm a newb.
At the moment to get the logs of my pod I'm doing a ...
oc logs -f api-myapp-v1-48-cdrs2
This shows me everything in the log. How can I tail them instead?
Also I was wodering if someone could point me out…

Richie
- 4,989
- 24
- 90
- 177
14
votes
1 answer
Can't send email through openshift
I have website hosted at OpenShift. I tried to send mail using mail function of php. It just returned true, but no mail is received to whom I had sent.
Please tell me procedure for sending the mail.
I searched a lot but none of the options worked.

aagam94
- 613
- 1
- 6
- 20
13
votes
2 answers
OpenShift Service Proxy timeout
I have an application deployed on OpenShift Container Platform v3.6. It consists of multiple services interconnected to each other.
The frontend service calls a time consuming function of the backend service (through a REST call), but after 30…

Maverik
- 179
- 1
- 1
- 9
13
votes
2 answers
What is resetting the PATH variable at the last second during an OpenShift v2 push hook?
TL;DR: Working app, cloned it, clone doesn't start correctly from push hook (but works fine manually if I ssh in.) PATH has correct Node version added to it, but somewhere right in the last step, the incorrect Node version is prepended to the PATH…

Kev
- 15,899
- 15
- 79
- 112
13
votes
2 answers
Moving a docker-compose container to openshift V3
I would like to move the Omnibus gitlab docker image to openshift V3,
so I've got the dockerfile and docker-compose files @ https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/docker.
What is the best way for having a scalable openshift v3 pod…

Herve Meftah
- 1,011
- 1
- 9
- 17
13
votes
2 answers
Openshift java.net.SocketException: Permission denied
I am using Java8 and have a Chat Server that works perfectly on my localhost, but when I deploy it to an OpenShift server, I get the following error:
java.net.SocketException: Permission denied
2016-09-05 10:36:11,300 INFO [stdout] (Thread-125)…

Richard
- 8,193
- 28
- 107
- 228
13
votes
1 answer
openshift and let's encrypt certificates
Is there any integration for Let's Encrypt in OpenShift (or, is this planned)? Let's encrypt are going to issue certs that expire in 90 days[1] -- and a big part of their plan is to have automation setups via people who use their certs so that…

gopher
- 129
- 7
13
votes
2 answers
Openshift rhc setup "The OpenShift server is not responding correctly."
I would like to setup access to my open shift application. I have rhc client installed and wanted to run
rhc setup
I'm asked about providing server hostname:
Enter the server hostname: |openshift.redhat.com|
so I enter the hostname of my…

Jakub
- 3,129
- 8
- 44
- 63
13
votes
3 answers
ERROR: column "id" is of type uuid but expression is of type bytea
My entity looks like
@Entity
public class Member {
@Id
private UUID id;
@Column(name = "member_external_id", unique = true, nullable = false)
private String memberExternalId;
@Column(name = "client_id", unique = true, nullable…

daydreamer
- 87,243
- 191
- 450
- 722
13
votes
4 answers
how to connect to the database in openshift application
I did as following
MySQL 5.1 database added. Please make note of these credentials:
Root User: xxxxxxx
Root Password: xxxxxxx
Database Name: php
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
You can…

Sami
- 141
- 1
- 1
- 4
13
votes
4 answers
How can I add private information to OpenShift environment variables?
Authentication information such as database connection strings or passwords should almost never be stored in version control systems.
It looks like the only method of specifying environment variables for an app hosted on OpenShift is to commit them…

drzax
- 1,675
- 1
- 16
- 20
12
votes
4 answers
Oc get pods - Command to just print pod names
I want to get a list of just the pod names and the Result should not include the status, number of instances etc.
I am using the command
oc get pods
It prints
Pod1-qawer Running 1/1 2d
Pod2g-bvch Running …

lr-pal
- 339
- 2
- 6
- 20
12
votes
1 answer
Request vs limit cpu in kubernetes/openshift
I have some dilemma to choose what should be the right request and limit setting for a pod in Openshift. Some data:
during start up, the application requires at least 600 millicores to be able to fulfill the readiness check within 150…

bLaXjack
- 780
- 2
- 11
- 23
12
votes
1 answer
How to use image stream in deploy configuration for OpenShift
I want my deploy configuration to use an image that was the output of a build configuration.
I am currently using something like this:
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by:…

Zhao Li
- 4,936
- 8
- 33
- 51
12
votes
1 answer
Symfony2: You have requested a non-existent parameter
I have checked similar questions on SO, but they did not solve my issue.
I am deploying a Symfony2 application on Openshift. It works well on my Windows 10 laptop, but I am getting the following error message on Openshift:
Fatal error: Uncaught…

Jérôme Verstrynge
- 57,710
- 92
- 283
- 453