Questions tagged [openshift-nextgen]

11 questions
33
votes
31 answers

django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded

The scenario is, I cloned the Django code for OpenShift-V3 from here . When I ran the code with python manage.py runserver, I got this error: django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded; Error…
user7139313
5
votes
0 answers

The pod has been stuck in the pending state for more than five minutes

Hello I new to openshift online . Tried to deploy mysql pod and got this Error n command line error: update acceptor rejected mysql-8: pods for deployment "mysql-8" took longer than 600 seconds to become ready MY pod has an orange circle around it…
henrybbosa
  • 1,139
  • 13
  • 28
2
votes
0 answers

Build Error after creating project with nodejs example provided by openshift

I am trying to create a project on openshift for the first time, but there seems to be a problem with it. I am following the exact steps provided here : https://docs.openshift.com/online/getting_started/basic_walkthrough.html. I am using the sample…
2
votes
0 answers

OpenShift Next Gen fails to mount persistent volume

I'm trying to set up an app on OpenShift Online Next Gen and I need to store a small file at runtime and read it again during startup. The content of the file changes, so I cannot simply add it to my source code. My project is already up and…
Zagorax
  • 11,440
  • 8
  • 44
  • 56
1
vote
1 answer

How to interact with MongoDB via shell in OpenShift Online 3 Dev Preview?

I've got multiple issues with an application which I suspect are related to permissions on the database. Everything seems locked down however and I can't complete basic commands such as show dbs in order to troubleshoot the problems further and…
user1063287
  • 10,265
  • 25
  • 122
  • 218
1
vote
2 answers

How to define location of app.py in OpenShift Next Gen Developer Preview?

It seems that a Python 2.7 application in OpenShift requires an app.py file in the top level directory of the associated repo. My application structure, however, is like this: wsgi - application (which solely contains from mybottleapp import…
user1063287
  • 10,265
  • 25
  • 122
  • 218
1
vote
1 answer

How to create a requirements.txt file for OpenShift Online Next Gen Developer Preview?

tl;dr I am trying to create a requirements.txt file for an existing application that is running locally. I want to know what contents should go in the requirements.txt file. I'm doing this in order to get the local application running…
user1063287
  • 10,265
  • 25
  • 122
  • 218
0
votes
1 answer

OpenShift Nextgen cannot connect postgresql to java project

Hi everyone I created a project with Spring+Hibernate+Postgresql on Tomcat. Locally it works fine. Now I try run it on openshift. I create project and connect with github there no broblem, but when I can't connect project with databse Postgresql. My…
eluuu
  • 390
  • 3
  • 17
0
votes
1 answer

TypeError while uploading image using REST api in OpenShift V3

I have a Django App that accept images through REST-api. I tested the api using POSTMAN locally, it's working perfect with image uploads. Later I deployed it on OpenShift V3 and when I tried the same for uploading process using POSTMAN , it's saying…
user7139313
0
votes
1 answer

createsuperuser django openshift v3

How can I do some managing works such as createsuperuser ,makemigrations, migrate ect in OpenShift-NextGen for a Django Application ? (Step-by-Step) In OpenShift-V2, I did the same by login to shell by rhc ssh app_name and run the command python…
user7139313
0
votes
1 answer

How to create new Building Configuration in OpenShift (for Django app)

I need to create a customized building configuration for my OpenShift(NextGen) Django application .Currently I am having django-psql-persistent configuration, which is comes with OpenShift(NextGen)-Django by default.
user7139313