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
0
votes
2 answers

rhc and mongo "command not found" in openShift cartridge

My Java EE and mongo-application are up and running on openshift. Yet since today I cannot execute neither the mongo shell nor rhc commands when logged in via SSH. On both commands I just get bash: mongo: command not found and bash: rhc: command…
Locked
  • 186
  • 13
0
votes
1 answer

Openshift snapshot restore / file permission

I started with the Aerogear quickstart cartridge. Now I want to take a snapshot to edit the bin/control file, as I have no permission on this if I ssh into the cartridge. The problem is that the file in aerogear-push/bin/control is not restored and…
Torben
  • 13
  • 3
0
votes
0 answers

Openshift first steps

I'm really new about Openshift. I create a new wildfly application, make some change ("helloword" with static html) and push everything. The application build fine and restart, but when I try to access it, I'm always getting the Wildfly's welcome…
Francesco
  • 1,742
  • 5
  • 44
  • 78
0
votes
1 answer

Is there a limit to the number of aliases for a given openshift application?

I need to alias these and more domains: rhc alias add myapp www.abc.com rhc alias add myapp www.xyz.com etc. etc. Question: Is there a limit to the number of aliases for a given openshift application?
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Run "rhc alias" in Java

Using the Java SDK, I have my application that I need to input domain name from the UI. However my question is if it is possible for rhc alias to be called from Java code? rhc alias proxy www.xyz.com
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
2 answers

Unable to run "rhc setup"

I am unable to execute the command "rhc setup" after installation of gem. I used a windows installer from rubyinstallersr.org. Please see output below after executing rhc setup: > C:\Users\Admin>rhc setup > …
Johann
  • 923
  • 2
  • 8
  • 16
0
votes
1 answer

Using rhc snapshot-save Returns Empty File

I have a WordPress site on OpenShift and I'm attempting to backup the site. I've used commands: rhc tidy-app and rhc snapshot-save After reporting a snapshot is being pulled down, "Success" is displayed a few seconds later but only an empty tar.gz…
Catalyx
  • 435
  • 2
  • 7
  • 17
0
votes
1 answer

How can I get SSH hosts of gears (uid@host) in Openshift scalable app?

I know about the command that I should use from my machine: rhc app show |app name| --gears I need the same command of any other way to know SSH hosts from any gear. There is possibility for main gear: cat ~/haproxy/conf/haproxy.cfg and look at the…
chicout
  • 937
  • 7
  • 16
0
votes
2 answers

openshift create app ask for passwd

all. when I try 'rhc create-app demo python-2.7', I meet an issue not able to check out the git repo. system will ask for the password of the cartridge or something. but in fact I have upload the default key from openshift console. here is what I…
wiwengweng
  • 352
  • 1
  • 4
  • 16
0
votes
1 answer

'Unknown response from agent' from Openshift rhc port-forward

I am trying to run Openshift's rhc port forward command as following: rhc port-forward -a ligatures -n dawningstreams but I get the following error message: Checking available ports…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
0
votes
1 answer

rhc can only be used from the command line

I installed the rhc toolkit from openshift on a windows 7 machine. I am also running git on this machine. However, after installation the rhc toolkit is only found in the cmd of windows and not in the git console: $ rhc sh.exe": /c/Program Files…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
0
votes
1 answer

OpenShift ONLINE: rhc setup errors out

When trying to get a new OpenShift ONLINE app(actually two of them) setup I get: You can add more servers later using 'rhc server'. DEBUG: Running login_stage DEBUG: Connecting to https://MYAPP.rhcloud.com/broker/rest/api DEBUG: Client supports API…
Andrew
  • 511
  • 3
  • 7
0
votes
1 answer

Why won't RHC tell me what all apps are available?

I write rhc apps and the reply is... ... Deployment: auto (on git push) php-5.4 (PHP 5.4) ----------------- Gears: 1 small ←[32mYou have access to 2 applications.←[0m but it won't tell me their names. How can I get a verbatim list of…
ni37osllb
  • 92
  • 1
  • 1
  • 9
0
votes
2 answers

How to add monit cartridge to OpenShift?

I'm trying to add the monit cartridge to my OpenShift app using the following syntax: rhc cartridge add https://github.com/openshift-cartridges/openshift-origin-cartridge-monit/blob/master/metadata/manifest.yml -a -n…
0
votes
1 answer

Openshift: Fail to start cloned app after creating it with --from-app option

I successfully created a new application using the --from-app option, but it refuses to start. The creation process has completed without any error. This is what I get when I execute rhc app-start mobservicebkp: Failed to execute: 'control start'…
Trein
  • 3,658
  • 27
  • 36