他所さまによって作成されたCookbookを利用して,Virtual環境(hoge)にknife solo cook hogeしたら,以下のようなエラーが発生した.
12345678910111213
Running Chef on hoge...
Checking Chef version...
Uploading the kitchen...
Generating solo config...
Running Chef...
Starting Chef Client, version 11.6.0
Compiling Cookbooks...
[2014-01-06T20:33:21+00:00] ERROR: Running exception handlers
[2014-01-06T20:33:21+00:00] ERROR: Exception handlers complete
[2014-01-06T20:33:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2014-01-06T20:33:21+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ERROR: RuntimeError: chef-solo failed. See output above.
[2014-01-06T20:39:18+00:00] ERROR: Running exception handlers
[2014-01-06T20:39:18+00:00] ERROR: Exception handlers complete
[2014-01-06T20:39:18+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-01-06T20:39:18+00:00] DEBUG: Chef::Exceptions::CookbookNotFound: Cookbook hoge not found. If you're loading hoge from another cookbook, make sure you configure the dependency in your metadata
色々と試行錯誤した結果,Virtual環境上ではなくローカル環境においてknife solo cook -V hoge(verboseオプションを利用)したら解決した.
1234
[2014-01-06T20:45:30+00:00] ERROR: Running exception handlers
[2014-01-06T20:45:30+00:00] ERROR: Exception handlers complete
[2014-01-06T20:45:30+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-01-06T20:45:30+00:00] DEBUG: Chef::Exceptions::CookbookNotFound: Cookbook fuga not found. If you're loading fuga from another cookbook, make sure you configure the dependency in your metadata