Created
August 7, 2014 07:24
-
-
Save KrisBuytaert/7b8e9a17fc6deaf2b774 to your computer and use it in GitHub Desktop.
Shell provisioner failing
This file contains hidden or 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
vagrant provision | |
==> aws-centos-6.5: VM not created. Moving on... | |
==> aws-ubuntu-precise64: VM not created. Moving on... | |
==> ubuntu-10.04: VM not created. Moving on... | |
==> ubuntu-11.04: VM not created. Moving on... | |
==> ubuntu-precise64: VM not created. Moving on... | |
==> ubuntu-12.04: VM not created. Moving on... | |
==> centos-5: VM not created. Moving on... | |
==> centos-6: VM not created. Moving on... | |
Updating Vagrant's berkshelf: '/home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5' | |
DEPRECATED: Your Berksfile contains a site location pointing to the Opscode Community Site (site :opscode). Site locations have been replaced by the source location. Change this to: 'source "https://supermarket.getchef.com"' to remove this warning. For more information visit https://github.com/berkshelf/berkshelf/wiki/deprecated-locations | |
Resolving cookbook dependencies... | |
Using 7-zip (1.0.2) | |
Using awscli (0.1.0) from git://github.com/flapjack/awscli (at master) | |
Using build-essential (2.0.4) | |
Using chef-sugar (2.0.0) | |
Using chef_handler (1.1.6) | |
Using homebrew (1.9.0) | |
Using omnibus (2.2.0) | |
Using python (1.4.6) | |
Using windows (1.34.0) | |
Using wix (1.1.0) | |
Using yum (3.2.2) | |
Using yum-epel (0.4.0) | |
Vendoring 7-zip (1.0.2) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/7-zip | |
Vendoring awscli (0.1.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/awscli | |
Vendoring build-essential (2.0.4) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/build-essential | |
Vendoring chef-sugar (2.0.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/chef-sugar | |
Vendoring chef_handler (1.1.6) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/chef_handler | |
Vendoring homebrew (1.9.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/homebrew | |
Vendoring omnibus (2.2.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/omnibus | |
Vendoring python (1.4.6) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/python | |
Vendoring windows (1.34.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/windows | |
Vendoring wix (1.1.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/wix | |
Vendoring yum (3.2.2) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/yum | |
Vendoring yum-epel (0.4.0) to /home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5/yum-epel | |
==> centos-6.5: Chef 11.14.2 Omnibus package is already installed. | |
==> centos-6.5: Running provisioner: chef_solo... | |
Generating chef JSON and uploading... | |
==> centos-6.5: Running chef-solo... | |
==> centos-6.5: [2014-08-06T21:34:55+00:00] INFO: Forking chef instance to converge... | |
==> centos-6.5: [2014-08-06T21:34:55+00:00] WARN: | |
==> centos-6.5: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
==> centos-6.5: SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
==> centos-6.5: encrypted, but chef is not able to detect forged replies or man in the middle | |
==> centos-6.5: attacks. | |
==> centos-6.5: | |
==> centos-6.5: To fix this issue add an entry like this to your configuration file: | |
==> centos-6.5: | |
==> centos-6.5: ``` | |
==> centos-6.5: # Verify all HTTPS connections (recommended) | |
==> centos-6.5: ssl_verify_mode :verify_peer | |
==> centos-6.5: | |
==> centos-6.5: # OR, Verify only connections to chef-server | |
==> centos-6.5: verify_api_cert true | |
==> centos-6.5: ``` | |
==> centos-6.5: | |
==> centos-6.5: To check your SSL configuration, or troubleshoot errors, you can use the | |
==> centos-6.5: `knife ssl check` command like so: | |
==> centos-6.5: | |
==> centos-6.5: ``` | |
==> centos-6.5: knife ssl check -c /tmp/vagrant-chef-12/solo.rb | |
==> centos-6.5: ``` | |
==> centos-6.5: | |
==> centos-6.5: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
==> centos-6.5: [2014-08-06T21:34:55+00:00] INFO: *** Chef 11.14.2 *** | |
==> centos-6.5: [2014-08-06T21:34:55+00:00] INFO: Chef-client pid: 31613 | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Setting the run_list to ["recipe[omnibus::default]", "recipe[python::default]", "recipe[awscli::default]"] from CLI options | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Run List is [recipe[omnibus::default], recipe[python::default], recipe[awscli::default]] | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Run List expands to [omnibus::default, python::default, awscli::default] | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Starting Chef Run for flapjack-omnibus-build-lab | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Running start handlers | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: Start handlers complete. | |
==> centos-6.5: [2014-08-06T21:34:56+00:00] INFO: WindowsPackage lightweight resource already initialized -- overriding! | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Cloning resource attributes for group[omnibus] from prior resource (CHEF-3694) | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Previous group[omnibus]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_user.rb:22:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Current group[omnibus]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_user.rb:39:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Cloning resource attributes for package[zlib-devel] from prior resource (CHEF-3694) | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Previous package[zlib-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_git.rb:87:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Current package[zlib-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_packaging.rb:35:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Cloning resource attributes for package[ncurses-devel] from prior resource (CHEF-3694) | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Previous package[ncurses-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_packaging.rb:34:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Current package[ncurses-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_xml.rb:41:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Cloning resource attributes for package[zlib-devel] from prior resource (CHEF-3694) | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Previous package[zlib-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_packaging.rb:35:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] WARN: Current package[zlib-devel]: /tmp/vagrant-chef-12/chef-solo-1/cookbooks/omnibus/recipes/_xml.rb:42:in `from_file' | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] INFO: group[omnibus] altered | |
==> centos-6.5: [2014-08-06T21:34:57+00:00] INFO: group[omnibus] modified | |
==> centos-6.5: [2014-08-06T21:34:59+00:00] INFO: ruby_block[disable strict host key checking for github.com] called | |
==> centos-6.5: [2014-08-06T21:34:59+00:00] INFO: ruby_block[make sudo honor ssh_auth_sock] called | |
==> centos-6.5: [2014-08-06T21:35:00+00:00] INFO: Upgrading python_pip[setuptools] version from uninstalled to latest | |
==> centos-6.5: [2014-08-06T21:35:04+00:00] INFO: Upgrading python_pip[virtualenv] version from 1.11.6 to latest | |
==> centos-6.5: [2014-08-06T21:35:05+00:00] INFO: Chef Run complete in 9.217592257 seconds | |
==> centos-6.5: [2014-08-06T21:35:05+00:00] INFO: Running report handlers | |
==> centos-6.5: [2014-08-06T21:35:05+00:00] INFO: Report handlers complete | |
==> centos-6.5: Running provisioner: shell... | |
centos-6.5: Running: inline script | |
==> centos-6.5: bash: bundle: command not found | |
==> centos-6.5: /usr/bin/env: ruby | |
==> centos-6.5: : Permission denied | |
==> centos-6.5: /usr/bin/env: ruby | |
==> centos-6.5: : Permission denied | |
==> centos-6.5: /usr/bin/env: | |
==> centos-6.5: ruby | |
==> centos-6.5: : Permission denied | |
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell | |
Stdout from the command: | |
Stderr from the command: | |
bash: bundle: command not found | |
/usr/bin/env: ruby: Permission denied | |
/usr/bin/env: ruby: Permission denied | |
/usr/bin/env: ruby: Permission denied | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment