OpenShift域状态失败
因此,我在open shift创建了一个帐户,创建了一个应用程序,并安装了命令行工具。当我执行命令rhc domain status时,它失败:OpenShift域状态失败,openshift,openshift-client-tools,Openshift,Openshift Client Tools,因此,我在open shift创建了一个帐户,创建了一个应用程序,并安装了命令行工具。当我执行命令rhc domain status时,它失败: Loaded suite /usr/bin/rhc-chk Started .E =============================================================================== Error: test_connectivity(Test1_Connectivity) ArgumentE
Loaded suite /usr/bin/rhc-chk
Started
.E
===============================================================================
Error: test_connectivity(Test1_Connectivity)
ArgumentError: too few arguments
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:204:in `sprintf'
201: message = sprintf(get_message(:errors,name),*(args.shift || ''))
202: solution = get_message(:solutions,name)
203: if solution
=> 204: message << "\n" << sprintf(solution,*(args.shift || ''))
205: end
206: message
207: end
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:204:in `error_for'
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:270:in `test_connectivity'
===============================================================================
F
===============================================================================
Failure:
You need to be able to connect to the server in order to test authentication.
<false> is not true.
test_authentication(Test2_Authentication)
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:280:in `test_authentication'
277: # Checking Authentication
278: #
279: def test_authentication
=> 280: assert $connectivity, error_for(:cant_connect)
281:
282: data = {'rhlogin' => $rhlogin}
283: response = fetch_url_json("/broker/userinfo", data)
===============================================================================
..F
===============================================================================
Failure: You must have an account on the server in order to test: whether you have a valid key loaded in your agent.
test_03_remote_ssh_keys(Test3_SSH)
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:317:in `require_login'
314: end
315:
316: def require_login(test)
=> 317: flunk(error_for(:no_account,test)) if $user_info.nil?
318: end
319:
320: def require_remote_keys(test)
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:321:in `require_remote_keys'
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:376:in `test_03_remote_ssh_keys'
===============================================================================
F
===============================================================================
Failure: You must have an account on the server in order to test: connecting to your applications.
test_04_ssh_connect(Test3_SSH)
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:317:in `require_login'
314: end
315:
316: def require_login(test)
=> 317: flunk(error_for(:no_account,test)) if $user_info.nil?
318: end
319:
320: def require_remote_keys(test)
/Library/Ruby/Gems/1.8/gems/rhc-0.94.8/bin/rhc-chk:383:in `test_04_ssh_connect'
===============================================================================
Finished in 2.403595 seconds.
7 tests, 8 assertions, 3 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
42.8571% passed
Loaded suite/usr/bin/rhc chk
起动
E
===============================================================================
错误:测试\u连接(测试1\u连接)
ArgumentError:参数太少
/Library/Ruby/Gems/1.8/Gems/rhc-0.94.8/bin/rhc-chk:204:in'sprintf'
201:message=sprintf(获取_消息(:错误,名称),*(args.shift | |“”)
202:solution=get_消息(:solutions,name)
203:如果解决方案
=>204:message 317:if$user\u info.nil不及格(错误为(:无账户,测试))?
318:完
319:
320:def需要遥控钥匙(测试)
/Library/Ruby/Gems/1.8/Gems/rhc-0.94.8/bin/rhc-chk:321:in“需要远程密钥”
/Library/Ruby/Gems/1.8/Gems/rhc-0.94.8/bin/rhc-chk:376:in'test\u 03\u remote\u ssh\u keys'
===============================================================================
F
===============================================================================
失败:您必须在服务器上有一个帐户才能测试:连接到您的应用程序。
测试\u 04\u ssh\u连接(测试3\u ssh)
/Library/Ruby/Gems/1.8/Gems/rhc-0.94.8/bin/rhc-chk:317:in“要求登录”
314:完
315:
316:def需要_登录(测试)
=>317:如果$user\u info.nil,则不及格(错误为(:无账户,测试))?
318:完
319:
320:def需要遥控钥匙(测试)
/Library/Ruby/Gems/1.8/Gems/rhc-0.94.8/bin/rhc-chk:383:in'test\u 04\u ssh\u connect'
===============================================================================
以2.403595秒完成。
7次测试,8次断言,3次失败,1次错误,0次挂起,0次遗漏,0次通知
42.8571%通过
不太明白为什么它不能连接。我能够使用:rhc域显示,没有问题
有人对如何解决这个问题有什么建议吗?这是一个需要在即将发布的版本中解决的问题。即使您看到此错误,也不应影响任何其他行为。现在已解决此问题-以前由“roc域状态”处理的检查现在在您运行“rhc安装”时自动进行