Created
October 3, 2017 22:37
-
-
Save spigell/f76c3eeca2523dbb51399de8f933f54f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-10-03T03:19:32+03:00] WARN: No config file found or specified on command line, using command line options. | |
[2017-10-03T03:19:32+03:00] INFO: Auto-discovered chef repository at /vagrant | |
[2017-10-03T03:19:32+03:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /vagrant | |
One version per cookbook | |
[2017-10-03T03:19:32+03:00] INFO: Forking chef instance to converge... | |
Starting Chef Client, version 13.2.20 | |
[2017-10-03T03:19:32+03:00] INFO: *** Chef 13.2.20 *** | |
[2017-10-03T03:19:32+03:00] INFO: Platform: x86_64-linux | |
[2017-10-03T03:19:32+03:00] INFO: Chef-client pid: 9663 | |
[2017-10-03T03:19:32+03:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... | |
[2017-10-03T03:19:34+03:00] INFO: Setting the run_list to ["recipe[sparrow]"] from CLI options | |
[2017-10-03T03:19:35+03:00] INFO: Run List is [recipe[sparrow]] | |
[2017-10-03T03:19:35+03:00] INFO: Run List expands to [sparrow] | |
[2017-10-03T03:19:35+03:00] INFO: Starting Chef Run for testo.tomatonetwork.ru | |
[2017-10-03T03:19:35+03:00] INFO: Running start handlers | |
[2017-10-03T03:19:35+03:00] INFO: Start handlers complete. | |
resolving cookbooks for run list: ["sparrow"] | |
[2017-10-03T03:19:35+03:00] INFO: Loading cookbooks [sparrow@0.1.0, cpan@0.0.37] | |
Synchronizing Cookbooks: | |
[2017-10-03T03:19:35+03:00] INFO: Storing updated cookbooks/sparrow/sparrowfile in the cache. | |
[2017-10-03T03:19:35+03:00] INFO: Storing updated cookbooks/sparrow/recipes/default.rb in the cache. | |
[2017-10-03T03:19:35+03:00] INFO: Storing updated cookbooks/sparrow/metadata.rb in the cache. | |
- sparrow (0.1.0) | |
- cpan (0.0.37) | |
Installing Cookbook Gems: | |
Compiling Cookbooks... | |
================================================================================ | |
Recipe Compile Error in /home/vagrant/.chef/local-mode-cache/cache/cookbooks/sparrow/recipes/default.rb | |
================================================================================ | |
NoMethodError | |
------------- | |
undefined method `cpan_client' for #<Chef::Node::Attribute:0x00000002d61b70> | |
Cookbook Trace: | |
--------------- | |
/home/vagrant/.chef/local-mode-cache/cache/cookbooks/cpan/recipes/bootstrap.rb:3:in `from_file' | |
/home/vagrant/.chef/local-mode-cache/cache/cookbooks/sparrow/recipes/default.rb:2:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/home/vagrant/.chef/local-mode-cache/cache/cookbooks/cpan/recipes/bootstrap.rb: | |
1: include_recipe 'cpan' | |
2: | |
3>> node.cpan_client.bootstrap.packages.each { |p| package p } | |
4: | |
5: execute 'curl -L http://cpanmin.us | perl - --sudo App::cpanminus' do | |
6: only_if do | |
7: exe_run = true | |
8: unless node.cpan_client.bootstrap.keep_uptodate | |
9: if system("which cpanm > /dev/null 2>&1") | |
10: exe_run = false | |
11: end | |
12: end | |
System Info: | |
------------ | |
chef_version=13.2.20 | |
platform=centos | |
platform_version=7.3.1611 | |
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] | |
program_name=chef-client worker: ppid=9658;start=03:19:32; | |
executable=/opt/chef/bin/chef-client | |
Running handlers: | |
[2017-10-03T03:19:35+03:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2017-10-03T03:19:35+03:00] ERROR: Exception handlers complete | |
Chef Client failed. 0 resources updated in 03 seconds | |
[2017-10-03T03:19:35+03:00] FATAL: Stacktrace dumped to /home/vagrant/.chef/local-mode-cache/cache/chef-stacktrace.out | |
[2017-10-03T03:19:35+03:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
[2017-10-03T03:19:35+03:00] ERROR: undefined method `cpan_client' for #<Chef::Node::Attribute:0x00000002d61b70> | |
[2017-10-03T03:19:35+03:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment