Chef infra 测试期间出现Chef服务器安装错误

Chef infra 测试期间出现Chef服务器安装错误,chef-infra,Chef Infra,我在其中一个克隆上安装了Chef服务器,该克隆是在使用Windows10的Ubuntu中使用VM Virtual box创建的。我在测试服务器时遇到以下问题: manideep@manideep-VirtualBox:~$ sudo chef-server-ctl test [sudo] password for manideep: Configuring logging... Creating platform... Configured URL: https://manideep-Vi

我在其中一个克隆上安装了Chef服务器,该克隆是在使用Windows10的Ubuntu中使用VM Virtual box创建的。我在测试服务器时遇到以下问题:

manideep@manideep-VirtualBox:~$ sudo chef-server-ctl test

[sudo] password for manideep: 
Configuring logging...

Creating platform...
Configured URL: https://manideep-VirtualBox
Creating org pedant_testorg_manideep-VirtualBox_2786
/opt/opscode/embedded/service/oc-chef-pedant/lib/pedant/platform.rb:336:in `block in create_org': Bad error code 400 from create     org: {"error":["Field 'name' invalid"]} (RuntimeError)
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant/platform.rb:321:in `times'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant/platform.rb:321:in `create_org'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant/platform.rb:123:in `org_from_config'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant/platform.rb:42:in `initialize'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant.rb:79:in `new'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant.rb:79:in `create_platform'
    from /opt/opscode/embedded/service/oc-chef-pedant/lib/pedant.rb:58:in `setup'
    from ./bin/oc-chef-pedant:10:in `<main>'
manideep@manideep-VirtualBox:~$sudo chef服务器ctl测试
manideep的[sudo]密码:
正在配置日志记录。。。
正在创建平台。。。
配置的URL:https://manideep-VirtualBox
创建组织pedant\u testorg\u manideep-VirtualBox\u 2786
/opt/opscode/embedded/service/oc chef pedant/lib/pedant/platform.rb:336:in`block in create_org':创建组织错误代码400:{“error”:[“Field”name“invalid”]}(运行时错误)
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant/platform.rb:321:in'times'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant/platform.rb:321:in'create_org'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant/platform.rb:123:in'org\u from\u config'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant/platform.rb:42:in'initialize'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant.rb:79:in'new'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant.rb:79:in'create_platform'
from/opt/opscode/embedded/service/oc chef pedant/lib/pedant.rb:58:in'setup'
from./bin/oc厨师学究:10:in`'

可以是包含大写字母的主机名或任何特殊符号。我在chef服务器ctl测试时也遇到了同样的问题,但我已经从主机名中删除了-。这起作用了


chef中可能有任何配置参数,用于hostname=无大写或任何特殊符号。

可能是包含大写或任何特殊符号的主机名。我在chef服务器ctl测试时也遇到了同样的问题,但我已经从主机名中删除了-。这起作用了


chef中可能有任何配置参数,用于hostname=无大写字母或任何特殊符号。

除此之外,它还能工作吗?在我重新配置chef manage安装后,它从我开始工作吗?在我重新配置chef manage安装后,它从我开始工作吗