Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-centos-6.6'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: examples_default_1433480786372_90052
==> default: Fixed port collision for 22 => 2222. Now on port 2204.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8080 => 8081 (adapter 1)
default: 22 => 2204 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2204
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => /Users/psarin/chef1/sensu-chef/examples
default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks => /Users/psarin/chef1/sensu-chef/examples/cookbooks
default: /tmp/vagrant-chef/821d276894a12f2eec3587fd005fc050/data_bags => /Users/psarin/chef1/sensu-chef/examples/data_bags
==> default: Running provisioner: shell...
default: Running: inline script
==> default:
==> default:
==> default: %
==> default:
==> default: T
==> default: o
==> default: t
==> default: a
==> default: l
==> default:
==> default:
==> default:
==> default:
==> default: %
==> default:
==> default: R
==> default: e
==> default: c
==> default: e
==> default: i
==> default: v
==> default: ed % Xferd Average Speed Time Time Time Current
==> default: Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
==> default: 1
==> default: 0
==> default: 0
==> default:
==> default: 1
==> default: 8
==> default: 7
==> default: 3
==> default: 6
==> default:
==> default:
==> default: 1
==> default: 00 18736 0 0 39500 0 --:--:-- --:--:-- --:--:-- 127k
==> default: Downloading Chef for el...
==> default: downloading https://www.opscode.com/chef/metadata?v=&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
==> default: to file /tmp/install.sh.2387/metadata.txt
==> default: trying wget...
==> default: url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.3.0-1.el6.x86_64.rpm
==> default: md5 c19fefcb3d033107e9fbdb3839312584
==> default: sha256 4b7c846a9ad93564cc203a5ac99890431f7d6ad159c424aa89827fd772c9881d
==> default: downloaded metadata file looks valid...
==> default: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.3.0-1.el6.x86_64.rpm
==> default: to file /tmp/install.sh.2387/chef-12.3.0-1.el6.x86_64.rpm
==> default: trying wget...
==> default: Comparing checksum with sha256sum...
==> default:
==> default: WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
==> default:
==> default: You are installing an omnibus package without a version pin. If you are installing
==> default: on production servers via an automated process this is DANGEROUS and you will
==> default: be upgraded without warning on new releases, even to new major releases.
==> default: Letting the version float is only appropriate in desktop, test, development or
==> default: CI/CD environments.
==> default:
==> default: WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
==> default:
==> default: Installing Chef
==> default: installing with rpm...
==> default: warning:
==> default: /tmp/install.sh.2387/chef-12.3.0-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
==> default: Preparing...
==> default: ##################################################
==> default: chef
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: #
==> default: Thank you for installing Chef!
==> default: Running provisioner: chef_solo...
==> default: Detected Chef (latest) is already installed
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: [2015-06-05T05:07:11+00:00] INFO: Forking chef instance to converge...
==> default: [2015-06-05T05:07:11+00:00] INFO: *** Chef 12.3.0 ***
==> default: [2015-06-05T05:07:11+00:00] INFO: Chef-client pid: 2821
==> default: [2015-06-05T05:07:12+00:00] INFO: Setting the run_list to ["recipe[monitor::master]", "recipe[monitor::redis]", "recipe[monitor::rabbitmq]"] from CLI options
==> default: [2015-06-05T05:07:12+00:00] INFO: Run List is [recipe[monitor::master], recipe[monitor::redis], recipe[monitor::rabbitmq]]
==> default: [2015-06-05T05:07:12+00:00] INFO: Run List expands to [monitor::master, monitor::redis, monitor::rabbitmq]
==> default: [2015-06-05T05:07:13+00:00] INFO: Starting Chef Run for localhost
==> default: [2015-06-05T05:07:13+00:00] INFO: Running start handlers
==> default: [2015-06-05T05:07:13+00:00] INFO: Start handlers complete.
==> default:
==> default: ================================================================================
==> default: Recipe Compile Error in /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/monitor/recipes/master.rb
==> default: ================================================================================
==> default:
==> default:
==> default: NoMethodError
==> default: -------------
==> default: undefined method `password' for Chef::Resource::YumRepository
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/yum-epel/recipes/default.rb:42:in `block (2 levels) in from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/yum-epel/recipes/default.rb:22:in `block in from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/yum-epel/recipes/default.rb:19:in `each'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/yum-epel/recipes/default.rb:19:in `from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/erlang/recipes/package.rb:46:in `from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/erlang/recipes/default.rb:23:in `from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/rabbitmq/recipes/default.rb:22:in `from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/sensu/recipes/rabbitmq.rb:74:in `from_file'
==> default:
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/monitor/recipes/master.rb:20:in `from_file'
==> default:
==> default:
==> default: Relevant File Content:
==> default: ----------------------
==> default: /tmp/vagrant-chef/bb64af967b5a3188e4cc491be7fe4c80/cookbooks/yum-epel/recipes/default.rb:
==> default:
==> default:
==> default:
==> default: 35: includepkgs node['yum'][repo]['includepkgs']
==> default:
==> default: 36: keepalive node['yum'][repo]['keepalive']
==> default:
==> default: 37: max_retries node['yum'][repo]['max_retries']
==> default:
==> default: 38: metadata_expire node['yum'][repo]['metadata_expire']
==> default:
==> default: 39: mirror_expire node['yum'][repo]['mirror_expire']
==> default:
==> default: 40: mirrorlist node['yum'][repo]['mirrorlist']
==> default:
==> default: 41: mirrorlist_expire node['yum'][repo]['mirrorlist_expire']
==> default:
==> default: 42>> password node['yum'][repo]['password']
==> default:
==> default: 43: priority node['yum'][repo]['priority']
==> default:
==> default: 44: proxy node['yum'][repo]['proxy']
==> default: 45: proxy_username node['yum'][repo]['proxy_username']
==> default: 46: proxy_password node['yum'][repo]['proxy_password']
==> default: 47: report_instanceid node['yum'][repo]['report_instanceid']
==> default: 48: repositoryid node['yum'][repo]['repositoryid']
==> default: 49: skip_if_unavailable node['yum'][repo]['skip_if_unavailable']
==> default: 50: source node['yum'][repo]['source']
==> default: 51: sslcacert node['yum'][repo]['sslcacert']
==> default:
==> default: [2015-06-05T05:07:13+00:00] ERROR: Running exception handlers
==> default: [2015-06-05T05:07:13+00:00] ERROR: Exception handlers complete
==> default: [2015-06-05T05:07:13+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-06-05T05:07:13+00:00] ERROR: undefined method `password' for Chef::Resource::YumRepository
==> default: [2015-06-05T05:07:13+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.