厨房收敛步骤错误



我正在尝试设置听脑服务器 https://github.com/metabrainz/listenbrainz-server/但我对厨师/流浪者的设置几乎没有/没有意见。我注意到日志文件中有 2 个错误

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

  1. 错误:无法在数据包中列出数据包项目:"ssh_known_hosts"
  2. 厨房::动作失败消息:SSH 已退出 (1) 命令:[sh -c '

我尝试谷歌搜索,但结果特定于问题,所以我找不到与我的设置相关的解决方案

您的错误在日志输出中:

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

相关内容

  • 没有找到相关文章

最新更新