-1

我正在尝试设置listenbrainz服务器https://github.com/metabrainz/listenbrainz-server/但我对厨师/流浪者设置知之甚少/一无所知。我注意到日志文件中有 2 个错误

https://gist.github.com/samithaj/dfb99dac67ca9b52ce9d

  1. 错误:无法列出数据包中的数据包项:“ssh_known_hosts”
  2. Kitchen::ActionFailed 消息:SSH 退出 (1) 用于命令:[sh -c '

我尝试使用谷歌搜索,但结果是针对问题的,所以我找不到与我的设置相关的解决方案

4

1 回答 1

0

您的错误日志输出中:

I, [2016-03-06T11:43:36.560559 #6908]  INFO -- development-ubuntu-1404: ---- Begin output of ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] ----
I, [2016-03-06T11:43:36.564470 #6908]  INFO -- development-ubuntu-1404: STDOUT: 
I, [2016-03-06T11:43:36.566426 #6908]  INFO -- development-ubuntu-1404: STDERR: useradd: existing lock file /etc/subuid.lock without a PID
I, [2016-03-06T11:43:36.602598 #6908]  INFO -- development-ubuntu-1404: useradd: cannot lock /etc/subuid; try again later.
I, [2016-03-06T11:43:36.607486 #6908]  INFO -- development-ubuntu-1404: ---- End output of ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] ----
I, [2016-03-06T11:43:36.612374 #6908]  INFO -- development-ubuntu-1404: Ran ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] returned 16
I, [2016-03-06T11:43:37.032755 #6908]  INFO -- development-ubuntu-1404: [2016-03-06T06:13:41+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2016-03-06T11:43:37.339132 #6908] ERROR -- development-ubuntu-1404: Converge failed on instance <development-ubuntu-1404>.

操作系统锁定文件有问题。我怀疑这是一个暂时性错误,我建议删除您的虚拟机并构建一个新的:

kitchen destroy
kitchen converge
于 2016-03-06T11:23:41.907 回答