All Questions

Tagged with
Filter by
Sorted by
Tagged with
104 votes
11 answers
55k views

Can I use my existing git repo with openshift?

Is it necessary to have git repo on openshift only? I already have bitbucket / github git repo and would prefer to push there only. Can I simply hook into it so that openshift gets intimation ? Or ...
Jigar Shah's user avatar
  • 2,604
37 votes
14 answers
159k views

Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift

I am having issues with committing changes to my gear. I have tried to run rhc setup, I also deleted my .ssh folder and executed rhc setup again but that also didnt work. Not sure what changed but ...
special0ne's user avatar
  • 6,173
24 votes
4 answers
13k views

Deploying a local django app using openshift

I've built a webapp using django. In order to host it I'm trying to use openshift but am having difficulty in getting anything working. There seems to be a lack of step by steps for this. So far I ...
Oliver Burdekin's user avatar
16 votes
1 answer
18k views

How to connect OpenShift with a private BitBucket Repository

I want to host a website on OpenShift but I want my code to synchronize automatically with a "free but private" service like Git, so I found BitBucket. I tried to connect it by my self by pasting ...
Kil'jaeden's user avatar
15 votes
2 answers
12k views

Deploy WAR file to Openshift without using GIT?

I want to upload a WAR file to my Openshift account , but it forces me to use GIT ot GITHUB (here). Please forgive me for saying this , but this is very very annoying . Is there any way upload a WAR ...
JAN's user avatar
  • 21.6k
13 votes
2 answers
211 views

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 ...
Kev's user avatar
  • 16.1k
10 votes
2 answers
3k views

How can I auto-deploy my git repo's submodules on push?

I have a PHP Cartridge that is operating normally, except I can't find a straightforward way to get OpenShift to (recursively) push the files for my git submodules when/after it pushes my core repo ...
Murray Rowan's user avatar
  • 3,647
10 votes
2 answers
28k views

"Peer's certificate issuer has been marked as not trusted by the user" in Openshift3

If S2I - "Source-to-image" resource in Openshift3 tries to connect to a TLS Gitlab repository shows the following message: "Peer's certificate issuer has been marked as not trusted by the user". How ...
Carlos Alberto's user avatar
10 votes
2 answers
2k views

How to inspect openshift build log?

I have an application, which is deployed to OpenShift via pushing the source code to the git repo. I need to troubleshoot a problem, which occurs during maven build, only when it is executed on ...
Andrew's user avatar
  • 2,763
9 votes
3 answers
3k views

Private Git on OpenShift

Is any way to configure a private git repository in OpenShift? Or OpenShift doesn't provide external access to Git repositories?
Berneck's user avatar
  • 255
8 votes
1 answer
17k views

How to use environment variables in init container args in kubernetes/openshift?

This is an excerpt of my deployment config: ... spec: containers: - env: - name: GIT_USERNAME valueFrom: secretKeyRef: key: username ...
wederer's user avatar
  • 550
8 votes
2 answers
2k views

How to add collaborators to openshift git repo

I have an application set up in redhat openshift and are able to commits and push. My question is, how do I include my teammates into this repository so that they can do the same as well. New to git ...
Mark Seah's user avatar
  • 532
7 votes
2 answers
2k views

Run git add and commit on Openshift Server

I'm working with a platform that creates a configuration.php file as part of the instillation process. Right now, the installation process is run as part of the build hook on the server. The problem ...
NicholasJohn16's user avatar
6 votes
2 answers
9k views

How to open DB connection in Openshift? [closed]

This is my dbcon file in PHP. Basically, I need to connect my PHP application with openshift MySQL DB. Here's what I did. <?php // Database Connection Setting $dbhost = "127.0.0.1"; // ...
Kakashi Hatake's user avatar
6 votes
5 answers
7k views

rhc ssh [No system SSH available] error

I want view my openshift application log in my cmd. I did try : rhc ssh appname that time i am getting: No system SSH available. Please use the --ssh option to specify the path to your SSH ...
nmkkannan's user avatar
  • 1,291
6 votes
4 answers
4k views

Ruby "bundle install" error on Openshift

I'am fairly new in Ruby and terms of deploying app through remote tools. I've tried to deploy my App on free openshift account. And I connot run application. When I run application i get this error: ...
Ssss Ppppp's user avatar
  • 4,234
6 votes
2 answers
976 views

Jenkins on Openshift cannot clone repo

I'm new to both Jenkins and Openshift so getting tied up a bit. I have set up Jenkins and pointed it to my github repo, but it can't clone it because I can't find anywhere to store my git credentials,...
alsandair's user avatar
  • 312
5 votes
2 answers
5k views

SSH to Openshift server fails

I am working with jboss catridge on a openshift server. I am looking to share this instance with another person and added the other user' s public key(id_rsa.pub). When the other person tries to ...
randominstanceOfLivingThing's user avatar
5 votes
2 answers
252 views

Git - How to commit a local repository to a subfolder of another local repository?

I have a Django project that I've started some time ago and I was hosting it at bitbucket. Now I need to host it at openshift, and the way to do that is that they provide you with a git repository and ...
ibrabeicker's user avatar
  • 1,798
5 votes
3 answers
6k views

How to cleanup disk space on openshift when 'rhc tidy' has not enough disk space?

My quota on openshift has exceeded: Filesystem blocks quota limit grace files quota limit grace /dev/mapper/EBSStore01-user_home01 1048572 0 1048576 6890 ...
cremersstijn's user avatar
  • 2,395
4 votes
3 answers
3k views

Externalize configuration node js

I am gonna deploy a node js service in openshift and there are few properties such as database configs and app properties which I need to externalize. I have java applications running as part of ...
Ganesh Shenoy's user avatar
4 votes
2 answers
667 views

Use a real git repo during an Openshift build?

When Openshift builds from a git repository, the source is cloned/exported in such a way that the clone is not a git repo, i.e. there's no .git directory. Anyone know how to change this behaviour to a ...
Adrian's user avatar
  • 1,136
4 votes
3 answers
4k views

How to keep file sync'd in OpenShift?

For OpenShift: I created a test directory in ~ app-root/repo/data. I also have locally 'myapp'/data directory. I can push up to OpenShift with git. My test files upload fine which I can check with ...
Merlin's user avatar
  • 25.2k
4 votes
1 answer
2k views

openshift + wordpress + git

I read the other related questions but do not find a satisfying answer for a good git + wordpress + openshift workflow with the official openshift wordpress example. The plugin and theme directory are ...
niklas's user avatar
  • 2,933
4 votes
2 answers
3k views

OpenShift action_hooks are not executable

When I created a test DIY application in OpenShift, the action_hooks worked fine, but now I created an actual application and they just don't fire when I push changes. I did some investigating, and I ...
Idan Arye's user avatar
  • 12.5k
4 votes
1 answer
212 views

An exception occurred while creating local git repository -Openshift

we are developing the project and upload and run it in Openshift from past 4 months. our project in JAVA platform and using phpmyadmin database of openshift and using eclipse kepler IDE and we ...
Hala Rowan's user avatar
3 votes
1 answer
5k views

issue with rhc setup and openshift

This is my first time trying out openshift or similar services and I have been running into problems with rhc setup. I have installed Ruby, Git and rhc according to the documentation here, but when I ...
Richie378's user avatar
  • 115
3 votes
1 answer
3k views

Openshift redhat for Windows: rhc command error

I installed ruby and git for Windows as described in the OpenShift Windows client tools installation guide. When I run an rhc command, I get this error: C:/Ruby23/lib/ruby/gems/2.3.0/gems/commander-...
macha devendher's user avatar
3 votes
2 answers
2k views

Pushing changes to OpenShift

I'm following the tutorial below to push a change to my OpenShift application. $ git clone <git_url> <directory_to_create> # Within your project directory # Commit your changes and push ...
cagatayodabasi's user avatar
3 votes
4 answers
3k views

Run Grunt Build before OpenShift Build

My grunt build task creates a /dist/ which my project depends on. I don't want to include built file in my repository. I would rather use Jenkins to allow for continuous integration builds on my ...
kentcdodds's user avatar
  • 28.1k
3 votes
1 answer
1k views

How do I specify a particular branch other than master in my OpenShift deployment?

My objective is to build a container image from git, but only from a specific branch. In order to do that, in my build.yaml, I have to specify the uri of the git branch: spec: output: to: ...
Aviral Srivastava's user avatar
3 votes
1 answer
2k views

Create Openshift app using branch from existing repository (with `rhc create`)

The OpenShift web console allows to create a new app using a branch/tag from an existing remote repository which I do not know how to use through rhc create. The relevant command line option --from-...
timo.rieber's user avatar
  • 3,822
3 votes
3 answers
3k views

How to resolve jbossews on openshift: Failed to execute: 'control restart'?

When I push my app at Openshift it was upload and final messages are remote: Starting jbossews cartridge remote: jbossews process failed to start remote: Git Post-Receive Result: failure remote: ...
Mohan Kumar Bai's user avatar
3 votes
1 answer
2k views

Confused about deplyoing application on openshift server using git

I am using openshift server to host my php application. I have added files to my server using sftp to ~/app-root/runtime/repo directory. The same files are accesible over the web. But when I git clone ...
Sanks's user avatar
  • 141
3 votes
2 answers
2k views

How can I composer update on OpenShift?

I am trying to use Slim on OpenShift with a free node. I can run composer update from the SSH sessions without any problem. The only problem is every time I want to commit files through git I have ...
cardeol's user avatar
  • 2,238
3 votes
1 answer
4k views

Compilation error - package com.google.gson not found in Redhat "Openshift" application

I am devleoping application in openshift using Eclipse Luna which make use of gson jars. I added gson jar files in the Web-inf/lib folder and it is not showing any error in eclipse. But when I Push ...
Parth Pithadia's user avatar
3 votes
2 answers
545 views

Git Install Script How to enter shell command

This is more of a git related question than openshift. When I push files to the git server using git, I see that the file permissions of my perl index.cgi file gets changed to 700 in my openshift repo....
Ron Abraham's user avatar
3 votes
2 answers
477 views

How to get an earlier commit to display on openshift?

So I have my local repository, and I have an earlier commit which I want to revert my production site to. I can check it out and make it a branch and push it to openshift. The branch then shows in ...
Joff's user avatar
  • 11.8k
3 votes
2 answers
840 views

404 Not Found error after commit changes on PHP application Openshift

I'm having problems with my PHP applications, I have created and deleted several of them because everytime I commit changes my application crushes and it shows the "404 Not Found" error. I'm sure ...
Christhian 's user avatar
3 votes
2 answers
470 views

OpenShift WordPress Theme Developer workflow

I create a application with Cartridges, PHP 5.4 MySQL 5.5 phpMyAdmin 4.0 I commit my WP file, plugin and themes into GIT. In my .gitignore, i added wp-content/uploads I did go through ...
Tom Kim's user avatar
  • 536
3 votes
1 answer
1k views

Openshift: After modifying code and Git push. Changes dont show

I created a new app in OpenShift. App got created successfully and cloned to the local directory also. I modified and changed the default index.html all also add web.xml to put index.html in welcome-...
Irshad's user avatar
  • 1,074
3 votes
1 answer
586 views

delete openshift git/objects folder

I am trying to clean up openshift git repo. objects folder in .git seems huge. I can ssh into application and execute the commands git reflog expire --expire=now --all git gc --prune=now --aggressive ...
Balu Vyamajala's user avatar
3 votes
2 answers
3k views

git clone : no address associated with name [duplicate]

I know there are many question asked about this but i found them not working in my case As I'm not very known to git I'm facing a problem cloning a repo from openshift server. I have my ssh URL for my ...
Anand's user avatar
  • 114
3 votes
1 answer
4k views

Private Key authentication failed error in Eclipse for openshift

In Eclipse, when I am trying to import the existing application from openshift, it gives me following error - Could not clone the repository. Authentication failed. Please make sure that you added ...
ankit rai's user avatar
  • 334
3 votes
0 answers
1k views

git clone in openshift fails "no user exists with uid"

I would like to test and build a Python module which has further dependencies in a gitlab runner (docker) on an openshift cluster. I get my Python module checked out from git as expected. The ...
user5580578's user avatar
  • 1,284
2 votes
2 answers
4k views

How to pull all data from openshift via git

I created an wordpress application on openshift.com, after installing I downloaded and installed plugins and themes from admin panel. Now when I try to clone the app on my local machine it only ...
Mukesh Yadav's user avatar
  • 2,346
2 votes
1 answer
2k views

How can i connect openshift git repository to bitbucket

I've created a project on Red Hat openshift now i want to know about how can i connect it with my bit-bucket account to maintain and handle my openshift Project with bit-bucket
asb14690's user avatar
  • 1,817
2 votes
2 answers
2k views

OpenShift action hook deploy issues

I have a symfony 2 project I am trying to launch on OpenShift online. I created the directory as required and running symfony locally works perfect. However, when I deploy to my OpenShift ...
Jason M.'s user avatar
  • 643
2 votes
3 answers
175 views

Git total reset. Remove all files. Remove history

I have an existing repository (at ssh://[email protected]/~/git/dev.git/) which isn't cloned to my computer. It's too big and messy and I don't want to download it, I don't need it anymore. I want ...
grabantot's user avatar
  • 2,130

1
2 3 4 5
8