“流浪汉 - 提供”失败(“流浪汉”很好)

时间:2015-04-01 05:48:12

标签: vagrant cookbook

我正在尝试对流浪汉服务器的食谱进行增量更改。 “流浪汉摧毁”后跟“流浪汉”完美地运作,但“流浪汉 - 提供”错误如下所示。这些文件似乎都存在。

在第一次配置时,它们可以完美地工作,然后在重新配置时失败,这似乎很奇怪。知道我可能做错了吗?

==> default: Running provisioner: shell...
    default: Running: inline script
==> default: /usr/bin/chef-solo
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: Running provisioner: chef_solo...
==> default: Detected Chef (latest) is already installed
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: [2015-04-01T05:42:20+00:00] INFO: Forking chef instance to converge...
==> default: [2015-04-01T05:42:20+00:00] INFO: *** Chef 12.2.1 ***
==> default: [2015-04-01T05:42:20+00:00] INFO: Chef-client pid: 3710
==> default: [2015-04-01T05:42:21+00:00] INFO: Setting the run_list to ["role[A]", "role[B]"] from CLI options
==> default: [2015-04-01T05:42:21+00:00] ERROR: Role A (included by 'top level') is in the runlist but does not exist. Skipping expand.
==> default: [2015-04-01T05:42:21+00:00] ERROR: Role B (included by 'top level') is in the runlist but does not exist. Skipping expand.
==> default:
==> default:
==> default: ================================================================================
==> default: Error expanding the run_list:
==> default: ================================================================================
==> default:
==> default: Missing Role(s) in Run List:
==> default: ----------------------------
==> default: * A included by 'top level'
==> default: * B included by 'top level'
==> default:
==> default: Original Run List
==> default: -----------------
==> default: * role[A]
==> default: * role[B]
==> default:
==> default:
==> default: [2015-04-01T05:42:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-04-01T05:42:21+00:00] ERROR: The expanded run list includes nonexistent roles: A, B
==> default: [2015-04-01T05:42:22+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

0 个答案:

没有答案