Сбой статуса домена OpenShift

Поэтому я создал учетную запись в открытую смену, создал приложение и установил инструмент командной строки. когда я выполняю команду rhc domain status, она терпит неудачу:

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, без проблем.

У кого-нибудь есть предложения, как это исправить?


person asawilliams    schedule 16.07.2012    source источник


Ответы (1)


Это ошибка, которая должна быть исправлена ​​в следующем выпуске. Даже если вы видите эту ошибку, она не должна влиять на другое поведение.

person user1532893    schedule 17.07.2012
comment
Теперь это устранено — проверка, которая ранее выполнялась с помощью «статуса домена roc», теперь выполняется автоматически при запуске «настройки rhc». - person Clayton; 31.05.2013