OpenShift域状态失败

时间:2012-07-16 00:56:02

标签: openshift openshift-client-tools

所以我在开放班次创建了一个帐户,创建了一个应用程序,并安装了命令行工具。当我执行命令rhc域状态时,它失败:

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

不太明白为什么它无法连接。我能够使用:rhc domain show,没有任何问题。

有人对如何解决此问题有任何建议吗?

1 个答案:

答案 0 :(得分:2)

这是一个bug应该在即将发布的版本中修复。即使您看到此错误,也不应影响任何其他行为。