Openshift的rhc设置正在等待一段时间

时间:2016-03-14 12:57:57

标签: openshift

等待一段时间什么都不做。这是正常的吗?当我使用Chrome转到上一个调试消息的链接时,将打开一个带有登录对话框的页面。但是我的命令行正在等待而没有做任何事情。

(我安装了this tutorial

以下是输出:

arjempagan@arjempagan-o-e-m:~$ rhc setup --debug
DEBUG: Using config file /home/arjempagan/.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 server_stage

If you have your own OpenShift server, you can specify it now. Just hit
enter to use the server for OpenShift Online: openshift.redhat.com.


You can add more servers later using 'rhc server'.
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 httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG:    code 200  919 ms
DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG:    Using API version 1.7
DEBUG: Client API version 1.7 is not current. Refetching API
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG:    code 200  207 ms
DEBUG: Getting user info
DEBUG: Request GET https://openshift.redhat.com/broker/rest/user

有趣的输出:

$ rhc --version
rhc 0.0.0

2 个答案:

答案 0 :(得分:3)

我发现了一些有关它的错误。

您可以看到herehere

解决方案的引用:

  

使用Ubuntu 15.10和rhc 1.35.4-3时,rhc --version给出0.0.0并且设置在GET(...)/ broker / rest / user之后挂起。卸载软件包(sudo apt-get remove rhc),安装gem(sudo gem install rhc),清除bash的路径缓存(hash -d rhc)确实有效。

答案 1 :(得分:1)

我在Ubuntu 16.04上遇到了同样的问题,我无法使用@Interesting Knox的解决方案

以下是采取的步骤,对我有用,我希望对某人有所帮助。

// removing debian package
sudo apt-get remove rhc

// installing rhc with gems
sudo gem install rhc

// version installed is rhc-1.38.4
// navigate to /var/lib/gems/2.3.0/gems/rhc-1.38.4

cd /var/lib/gems/2.3.0/gems/rhc-1.38.4

// run setup
rhc setup