openshift-client-tools

RHC client tool for windows error while setup

故事扮演 提交于 2019-12-11 12:57:03
问题 I followed all the steps as mentioned on the openshift page for guide on installing the client tool. after doing gem install rhc , when i give the command rhc setup following error is shown. C:\Users\me>rhc setup --debug C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require': cannot load such file -- dl/import (LoadError) from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib

openshift client tools for windows, rhc setup error

混江龙づ霸主 提交于 2019-12-11 02:04:36
问题 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 namespace, and check that other programs like Git are properly installed. DEBUG: Running login_stage DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 DEBUG: Created new

Error with rhc-create-domain on command line (Openshitft)

与世无争的帅哥 提交于 2019-12-08 06:02:09
问题 First I do not know much about Ruby, but, the Openshit command line uses the 'rhc' to manage my apps on cloud. Nice!...but the 'rhc' program its based on Ruby, Rubygems....something. Ok, i'm installed theses programs with apt-get on Linux Mint (Ubuntu based): sudo apt-get install ruby1.8 sudo apt-get install gem sudo apt-get install rubygems gem install json_pure gem install rake gem install rhc Nice!..rhc its visible in my console, but when i try execute any rhc command, the console returns

How to ssh into openshift app using the 'rhc' command on windows?

为君一笑 提交于 2019-12-07 02:28:53
问题 I am trying to ssh (from windows) into my Openshift app using the 'rhc' command rhc app-ssh <app name> I have followed the Openshift instruction here: https://www.openshift.com/forums/openshift/how-to-rhc-app-ssh-command Putty is returning the error "Putty Command Line Error: unknown option "-V" and then fails. My google searches indicate putty has a "-v" (lowercase) option for turning on Verbose. I'm not sure if it's one in the same. If I use the Putty GUI everything works fine. I would like

rhc port forward - open shift issue

不问归期 提交于 2019-12-06 15:27:05
I am trying to port forward a particular application that I am developing for. In open shift I have the following applications available; If i choose hotornot then i get the following when running this command in the terminal rhc port-forward -a jbossas if i run the same command but replace hotornot with the other application name (jbossas) - i get the following Does anyone know why i can't port forward the second application but i can the first? Thanks turns out i had to first login with a terminal via ssh then via another terminal i needed to run port forward but not just with the

OpenShift 4.2 Rest API documentation

 ̄綄美尐妖づ 提交于 2019-12-06 07:23:17
Is there any link to find OpenShift 4.2 Rest API documentation? I could see latest that we have is for 3.11 https://docs.openshift.com/container-platform/3.11/rest_api/index.html . OpenShift Rest API documentation is expected to be available once 4.3 is released. In the meantime, OpenShift 4.2 is built on top of Kubernetes 1.14; the 1.14 Rest API documentation is available at https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/ . For OpenShift specific resources, if you're looking for the resource definitions, you can use oc explain <RESOURCE> --recursive from the cli to see a

Cannot git-clone an OpenShift application

时光总嘲笑我的痴心妄想 提交于 2019-12-05 08:20:16
I just opened an OpenShift account, and went through this tutorial: https://www.openshift.com/blogs/any-version-of-nodejs-you-want-in-the-cloud-openshift-does-it-paas-style When I got to creating the app, I got the following error: erelsgl@erelsgl-H61MLC:~/mynode$ sudo rhc create-app mynode nodejs-0.6 Application Options ------------------- Namespace: erel Cartridges: nodejs-0.6 Gear Size: default Scaling: no Creating application 'mynode' ... done Waiting for your DNS name to be available ... done Cloning into 'mynode'... Warning: Permanently added the RSA host key for IP address '23.22.156.99

How to ssh into openshift app using the 'rhc' command on windows?

﹥>﹥吖頭↗ 提交于 2019-12-05 07:05:10
I am trying to ssh (from windows) into my Openshift app using the 'rhc' command rhc app-ssh <app name> I have followed the Openshift instruction here: https://www.openshift.com/forums/openshift/how-to-rhc-app-ssh-command Putty is returning the error "Putty Command Line Error: unknown option "-V" and then fails. My google searches indicate putty has a "-v" (lowercase) option for turning on Verbose. I'm not sure if it's one in the same. If I use the Putty GUI everything works fine. I would like to figure out how to ssh into my openshift app using the command line. How do I ssh into my openshift

Can't use rhc after installation , for openshift

妖精的绣舞 提交于 2019-12-05 05:03:37
I'm running into a weird issue after installing rhc and vmc. None of the below seems to be working. For Openshift: https://openshift.redhat.com/app/getting_started For Cloudfoundry: http://docs.cloudfoundry.com/tools/vmc/installing-vmc.html I'm using Ubuntu 10.04 root@bose-Vostro-1540:/home/bose# gem install rhc Successfully installed parseconfig-0.5.2 Successfully installed rhc-0.88.9 2 gems installed Installing ri documentation for parseconfig-0.5.2... Installing ri documentation for rhc-0.88.9... Installing RDoc documentation for parseconfig-0.5.2... Installing RDoc documentation for rhc-0

How to download a file/folder from remote (openshift) to local system

試著忘記壹切 提交于 2019-12-04 21:12:46
问题 How to download or backup or to save a copy of a file from openshift remote folder into my local-system folder using rhc client tool? or is there any other way other than rhc client tool to make a backup of it to my local system? Also, Is there a way to copy an entire folder from remote(openshift) to local? 回答1: Use winscp (if on windows) to ssh into your openshift app. Navigate to your folder. Drag and drop folder or files to local machine. Filezilla - using filezilla and sftp with openshift