Questions tagged [openshift-client-tools]

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

329 questions
2
votes
1 answer

Openshift : Difference between BuildConfig and DeploymentConfig

I am trying to understand whats is the difference between BuildConfig and DeploymentConfig? I need to set some environment vairiables (DB details) to the container and the values should be picked from ConfigMap. So, where should this piece go? …
jack
  • 803
  • 3
  • 15
  • 26
2
votes
2 answers

Permissions problems with openshift client on minishift

I have installed minishift with cask and openshift client with homebrew. However, as developer user, I am not able to create a project from openshift cli, trigger a build, etc. I always have permissions errors : Error from server (Forbidden): User…
rico
  • 1,843
  • 2
  • 24
  • 41
2
votes
1 answer

Can I run oc commands in openshift pod terminals?

Is there any way that I can run the oc commands on pod terminals? What I am trying to do is let the user login using oc login Then run the command to get the token. oc whoami -t And then use that token to call the REST APIs of openshift. This way…
2
votes
2 answers

Openshift Backup - Server Not Reachable

I had openshift 2 starter account where I had my application running. Openshift 2 been shut down and now I got mail to migrate it to 3 But I don't have backup of an application I am getting following errors Upon rhc save-snapshot myapp I am getting…
2
votes
1 answer

Can I still use rhc port-forward with openshift 3?

With rhc port-forward I can connect to the remote database of openshift, and with openshift 2 being discontinued soon, I'm moving to openshift 3. But I could not find a way to get rhc port-forward working with openshift 3 ande I'm not able to…
Denny
  • 1,766
  • 3
  • 17
  • 37
2
votes
2 answers

"User "system" cannot get securitycontextconstraints at the cluster scope" in Openshift3

If I try to add a security constraint to a local OpenShift all-in-one cluster running in Windows10 Pro and Hyper-V, openshift client receives the following message: c:\openshift\oc.exe adm policy add-scc-to-user anyuid -z default Error from server…
2
votes
1 answer

Openshift 3 , 503 Error (No server is available to handle this request)

I have created a web application using jsp/tiles/struts/mysql/tomcat. I created new project on Openshift 3 console (Openshift online) https://console.preview.openshift.com/console/ then added tomcat/mySql. I was getting 503 error sometimes and other…
2
votes
1 answer

Unable to login in open shift from eclipse

I'm trying to login to open shift server from eclipse but getting this error "The server type, credentials, or auth scheme might be incorrect." But I'm able to login to my account from web with the same credentials.
2
votes
0 answers

Using Portable git and ssh with Openshift's rhc Windows

I use a portable installation of Git on my Windows. To be able to call 'git' from anywhere, I have added it's directory to the PATH. Now when I use rhc git-clone, it shows this error You do not have git installed. In order to fully interact with…
Avi
  • 1,341
  • 1
  • 18
  • 28
2
votes
1 answer

Custom ssh key location for rhc

I am using rhc cli tool for OpenShift projects and have encountered a problem with default rhc ssh key. On any ssh related action (setup, app-create, etc..) rhc creates ~/.ssh/id_rsa key if it does not exist. I do not like that behaviour, and I…
AlexMakII
  • 43
  • 5
2
votes
2 answers

openshift rhc you do not have git installed

I am trying to setup the rhc client for openshift. I followed the tutorial precisely. After installing ruby, git and the rhc gem, the setup went perfect. But it wont clone my app to my computer. When I type rhc git-clone it says that git is not…
2
votes
2 answers

How to change location of ssh keys for openshift

I am in the process of setting up the rhc client tools to connect to OpenShift. During 'rhc setup', it is suppose to generate the ssh keys under: ~/.ssh/ However, this .ssh folder is being used for another connection and my preference is not to…
mk3lai
  • 43
  • 3
2
votes
1 answer

OpenShift: How to upload a directory?

I am using OpenShift with Tomcat 7. I am trying to scp a directory into webapps. I search online and the recursion option is -r. However, when I type rhc help scp, the -r option is -r, --remote-path file_path Remote filesystem…
CodeHelp
  • 1,328
  • 5
  • 21
  • 37
2
votes
3 answers

java.lang.IllegalStateException: The driver executable does not exist

I'm trying to run a phantomjs program on Openshift server. But I'm getting this error from one month :( Error: java.lang.IllegalStateException: The driver executable does not exist:…