-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Description
When running vagrant up I get the following error :
==> default: -- downloading...
==> default: src='https://openresty.org/download/openresty-1.9.7.4.tar.gz'
==> default: dst='/vagrant/build/work/src/openresty-1.9.7.4.tar.gz'
==> default: timeout='none'
==> default: CMake Error at openresty-stamp/download-openresty.cmake:9 (file):
==> default: file DOWNLOAD HASH mismatch
==> default:
==> default: for file: [/vagrant/build/work/src/openresty-1.9.7.4.tar.gz]
==> default: expected hash: [6e2d4a39c530524111ea50e3de67043a]
==> default: actual hash: [d41d8cd98f00b204e9800998ecf8427e]
==> default:
==> default:
==> default:
==> default: make[2]: *** [build/work/src/openresty-stamp/openresty-download] Error 1
edit : it seems that I get a different error each time i run vagrant up:
==> default: ---- Begin output of "bash" "/tmp/chef-script20160530-7985-qh58ou" ----
==> default: STDOUT: [ 2%] Built target ruby
==> default: [ 3%] Built target bundler
==> default: [ 4%] Built target api_umbrella_static_site
==> default: [ 5%] Built target lua_resty_shcache
==> default: [ 7%] Built target openssl
==> default: [ 8%] Built target libgeoip
==> default: [ 9%] Built target ngx_dyups
==> default: [ 11%] Built target pcre
==> default: [ 13%] Built target ngx_txid
==> default: [ 13%] Performing configure step for 'openresty'
==> default: /bin/sh: /vagrant/build/work/src/openresty/configure: No such file or directory
==> default: make[2]: *** [build/work/src/openresty-stamp/openresty-configure] Error 127
==> default: make[1]: *** [CMakeFiles/openresty.dir/all] Error 2
==> default: make: *** [all] Error 2
==> default: STDERR:
==> default: ---- End output of "bash" "/tmp/chef-script20160530-7985-qh58ou" ----
==> default: Ran "bash" "/tmp/chef-script20160530-7985-qh58ou" returned 2
==> default: [2016-05-30T09:05:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
==> default: cookbook_name :phantomjs
==> default: recipe_name "source"
==> default:
==> default: owner "root"
==> default: group "root"
==> default:
==> default: mode "0644"
==> default:
==> default: checksum "86dd9a4bf4aee45f1a84c9f61cf1947c1d6dce9b9e8d2a907105da7852460d2f"
==> default:
==> default: not_if { #code block }
==> default: end
==> default:
==> default:
==> default:
==> default: [2016-05-30T13:49:21+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default:
==> default: Running handlers:
==> default: [2016-05-30T13:49:21+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default:
==> default: [2016-05-30T13:49:21+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 14 resources updated in 32 minutes 23 seconds
==> default: [2016-05-30T13:49:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2016-05-30T13:49:21+00:00] ERROR: remote_file[/usr/local/src/phantomjs-2.1.1-linux-x86_64.tar.bz2] (phantomjs::source line 36) had an error: Chef::Exceptions::ContentLengthMismatch: Response body length 8581669 does not match HTTP Content-Length header 23415665.
==> default: [2016-05-30T13:49:21+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
I am looking to run the chef script inside the virtual machine, where will a find the cookbook ?
Metadata
Metadata
Assignees
Labels
No labels