Chef infra 厨师长服务器ctl测试抛出错误“;验证失败";

Chef infra 厨师长服务器ctl测试抛出错误“;验证失败";,chef-infra,Chef Infra,运行chef server ctl测试时,出现以下错误: Pending: (Failures listed here are expected and do not affect your suite's status) 1) opscode-account user association user not in org can be invited to the org by an admin when the inviting annot be accepted # Known fa

运行chef server ctl测试时,出现以下错误:

Pending: (Failures listed here are expected and do not affect your suite's status)

1) opscode-account user association user not in org can be invited to the org by an admin when the inviting annot be accepted
 # Known failure: passes w/ 200 b/c no USAG cleanup performed for deleted user
 # ./spec/api/account/account_association_spec.rb:661

2) opscode-account user association user not in org can be invited to the org by an admin when the inviting a can't by accepted
 # Known failure: passes w/ 200 b/c no USAG or other group cleanup performed for deleted user
 # ./spec/api/account/account_association_spec.rb:670


Failures:

1) authenticate_user POST /authenticate_user with correct credentials superuser user returns 200 ("OK")
 Failure/Error:
   post(request_url, superuser, :payload => body).should look_like({
       :status => 200,
       :body_exact => response_body
     })

   Response should have HTTP status code 200 ('OK'), but it was actually 401 ('Unauthorized')
     Reponse Body: {"error":["Failed to authenticate: Username and password incorrect"]}
 # ./spec/api/authenticate_user_spec.rb:129:in `block (4 levels) in <top (required)>'

2) users /users/<name> endpoint PUT /users/<name> superuser authenticating after updates when password is uncs not been changed.
 Failure/Error:
   post(auth_url, superuser, :payload => { 'username' => username,
                                           'password' => password }).should look_like({
       :status => 200
   })

   Response should have HTTP status code 200 ('OK'), but it was actually 401 ('Unauthorized')
     Reponse Body: {"error":["Failed to authenticate: Username and password incorrect"]}
 # ./spec/api/user_spec.rb:873:in `block (7 levels) in <top (required)>'

Finished in 3 minutes 14.5 seconds (files took 17.5 seconds to load)
154 examples, 2 failures, 2 pending

Failed examples:

rspec ./spec/api/authenticate_user_spec.rb:128 # authenticate_user POST /authenticate_user with correct credent
rspec ./spec/api/user_spec.rb:871 # users /users/<name> endpoint PUT /users/<name> superuser authenticating aft modified user when password has not been changed.
Pending:(此处列出的故障是预期故障,不会影响套件的状态)
1) 当无法接受邀请时,管理员可以邀请组织中不存在的opscode帐户用户关联用户访问该组织
#已知故障:通过w/200 b/c未对已删除用户执行USAG清理
#./spec/api/account/account\u association\u spec.rb:661
2) 当无法接受邀请时,管理员可以邀请不在组织中的opscode帐户用户关联用户加入组织
#已知故障:通过w/200 b/c未对已删除用户执行USAG或其他组清理
#./spec/api/account/account\u association\u spec.rb:670
失败:
1) 使用正确的凭据验证\用户POST/验证\用户超级用户返回200(“确定”)
失败/错误:
post(请求url,超级用户,:payload=>body)。应该像({
:状态=>200,
:body\u exact=>响应\u body
})
响应应该有HTTP状态代码200('OK'),但实际上是401('Unauthorized'))
响应正文:{“错误”:[“身份验证失败:用户名和密码不正确”]}
#./spec/api/authenticate\u user\u spec.rb:129:in'block(4级)in'
2) 用户/用户/端点放置/用户/超级用户在密码为uncs且未更改时在更新后进行身份验证。
失败/错误:
post(auth_url,superuser,:payload=>{'username'=>username,
'password'=>password})。应该像({
:状态=>200
})
响应应该有HTTP状态代码200('OK'),但实际上是401('Unauthorized'))
响应正文:{“错误”:[“身份验证失败:用户名和密码不正确”]}
#./spec/api/user_spec.rb:873:in“块(7级)in”
完成时间为3分14.5秒(文件加载时间为17.5秒)
154个示例,2个失败,2个待定
失败的示例:
rspec./spec/api/authenticate_user_spec.rb:128#authenticate_user POST/authenticate_user具有正确凭证
rspec./spec/api/user_spec.rb:871#users/users/endpoint PUT/users/superuser在密码未更改时对修改后的用户进行身份验证。
我的chef服务器根据AD对用户进行身份验证,我注意到,如果我邀请组织中的用户,用户会收到邀请,但在确认时,他会收到消息“处理一个或多个邀请时出现问题。请稍后重试。”

因此,我决定测试chef服务器,错误输出如上所示。 有人能帮我理解我的厨师服务器设置有什么问题吗

谢谢,


加布里埃尔

我投票将这个问题作为主题外的问题结束,因为它被交叉张贴在厨师邮件列表上:而且它在未来对某人有用的机会很少。Tensibai,你知道我的设置中可能有什么错误吗?厨师邮件列表上没有人回复我。。。也许这里有人可以回答我的问题。绝对没有,但邮件列表更有可能是有帮助的,因为它需要一系列步骤来调试您的chef服务器中哪个参数是错误的