Questions tagged [openshift]

This tag doesn't currently have an excerpt. Help contribute by writing one

7609 questions
2
votes
0 answers

RHC not working on OpenShift instance

I am just getting started with Node, so I created an instance on OpenShift and am trying to install rhc so that I can setup aliases for my domain name. I ran the following and the installation was successful for rhc (1.25.2). gem install rhc The…
Leon
  • 194
  • 1
  • 1
  • 10
2
votes
1 answer

Unable to install Openshift RHC tools

I am new to OpenShift and I'm trying to install RHC gems with: $ sudo gem install rhc which show up are successfully installed, however by the time it installs the documentation the process does not seem to end. By this point I rum $ sudo rhc…
HGB
  • 2,157
  • 8
  • 43
  • 74
2
votes
2 answers

openshift client tools for windows, rhc setup error

C:\files\ruby>rhc setup --debug DEBUG: Using config file C:/Users/files/.openshift/express.conf DEBUG: Running greeting_stage OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application…
Shanthi
  • 637
  • 2
  • 7
  • 17
2
votes
1 answer

Deploying SailsJS to Openshift

I managed to deploy application to Openshift, set port/host/db. But my app isn't working still, and it looks like my Gruntfile isn't run properly. I have created hook inside openshift/action_hooks called pre_start_nodejs, with following…
Ned
  • 3,961
  • 8
  • 31
  • 49
2
votes
1 answer

Deploying NodeJS application to Openshift

I have working SailsJS app that I want to deploy to Openshift, but as usual it doesn't go smoothly. Here's what I did so far: rhc app create myApp nodejs-0.10 rhc cartridge add mongodb-2.4 After these two, I can see that app is created and when I…
Ned
  • 3,961
  • 8
  • 31
  • 49
2
votes
2 answers

OpenShift Status 404 - Tomcat local working fine

I have been trying without success so far.... Any help is appropriated. I created a sample webservice and deployed locally and is working fine. I have an OpenShift account with tomcat and deployed the package through eclipse. Build is good and…
Chinta
  • 85
  • 1
  • 8
2
votes
2 answers

how to merge and remove conflicts in git when pull from server

We are working as a team of 4 peoples, our project deployed in openshift and we are commit,push and pull with git repository.. When some one commit more changes other have to pull it for make a update in our system.. But while pull from the server…
2
votes
0 answers

OpenShift installing scipy with pip - Connection closed by remote host

I'm having trouble deploying an app on OpenShift. The app requires scipy but every time I try to pip install scipy the ssh connection invariably ends in "Connection to closed by remote host." I've tried a few things : export…
mtourne
  • 440
  • 1
  • 6
  • 13
2
votes
1 answer

Can dependencies be installed with yum in .openshift/action_hooks/build?

I am using a DIY cartridge, and would like to use yum to install a dependency in the install stage (.openshift/action_hooks/build). Is this possible? When I try, it fails with "Error: rpmdb open failed", and permission to use sudo is denied.
flightlessbird
  • 413
  • 3
  • 9
2
votes
1 answer

Define a context in tomcat server.xml in openshift

I want to define a context in my tomcat server on openshift cloud. I have done it successfully in my local tomcat server but I don't know how to do it on openshift. I did it in local by adding :
hamid
  • 43
  • 7
2
votes
1 answer

Jenkins on openshift " Cartridge for not found"

I tried to create a very simple Jenkins setup on openshift. Here are the steps I followed: 1. Create a new openshift app using the "Jenkins Server" cartridge. 2. Log in to the new Jenkins server using the supplied username and password. 3. Create a…
pgier
  • 107
  • 1
  • 10
2
votes
2 answers

Run a simple Java program in the OpenShift cloud

what is the easiest method to run a Java program inside a gear on OpenShift? I don't need a complex framework or web server. I just need a container to which I can upload my Java Files, compile and execute them in the cloud. The application I have…
Ciri
  • 371
  • 1
  • 6
  • 19
2
votes
2 answers

http to https redirect on openshift rails app

I want my rails 4.0 app on Openshift Online to serve content only over https. There is a guide which tells to use a .htaccess in the web-root: RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule .*…
nuxxxx
  • 223
  • 2
  • 13
2
votes
1 answer

run an OpenShift gear on-demand

I have a gear with JBoss Fuse and Apache Camel consuming a considerable amount of memory that needs to run a nightly task, i.e. it needs to be activated only at a specific time of the day, run its routes, and then shutdown. Is there a way to…
David Riccitelli
  • 7,491
  • 5
  • 42
  • 56
2
votes
1 answer

Wrong visualization of Sails.js project deployed on Openshift

I deployed my Sails project on Openshift. It works but I receive errors with websockets and I don't able to load pages built on ejs. I found these links enough explanatory about grunt/openshift, but I am not able to solve the problem. Deploying…
AlexB
  • 81
  • 1
  • 6