Skip to content

Instantly share code, notes, and snippets.

@scarolan
Created December 23, 2015 15:55
Show Gist options
  • Save scarolan/4b7129ee667908fdf705 to your computer and use it in GitHub Desktop.
Save scarolan/4b7129ee667908fdf705 to your computer and use it in GitHub Desktop.
Rake setup errors with Chef Delivery
Recipe: delivery-cluster::_settings
* link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data] action create
================================================================================
Error executing action `create` on resource 'link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data]'
================================================================================
Chef::Exceptions::Win32APIError
-------------------------------
The filename, directory name, or volume label syntax is incorrect.
---- Begin Win32 API output ----
System Error Code: 123
System Error Message: The filename, directory name, or volume label syntax is incorrect.
---- End Win32 API output ----
Resource Declaration:
---------------------
# In C:/Users/Administrator/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/recipes/_settings.rb
29: link File.join(current_dir, '.chef', 'delivery-cluster-data') do
30: to cluster_data_dir
31: end
Compiled Resource:
------------------
# Declared in C:/Users/Administrator/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/recipes/_settings.rb:29:in `from_file'
link("C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data") do
action [:create]
retries 0
retry_delay 2
default_guard_interpreter :default
to "C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data-seans-playhouse"
link_type :symbolic
target_file "C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data"
declared_type :link
cookbook_name "delivery-cluster"
recipe_name "_settings"
end
Running handlers:
[2015-12-23T15:54:25+00:00] ERROR: Running exception handlers
Running handlers complete
[2015-12-23T15:54:25+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 21 seconds
[2015-12-23T15:54:25+00:00] FATAL: Stacktrace dumped to C:/Users/Administrator/delivery-cluster/.chef/local-mode-cache/cache/chef-stacktrace.out
[2015-12-23T15:54:25+00:00] FATAL: Chef::Exceptions::Win32APIError: link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data] (delivery-cluster::_settings line 29) had an error: Chef::Exceptions::Win32APIError: The filename, directory name, or volume label syntax is incorrect.
---- Begin Win32 API output ----
System Error Code: 123
System Error Message: The filename, directory name, or volume label syntax is incorrect.
---- End Win32 API output ----
rake aborted!
Failed executing ChefZero run
C:/Users/Administrator/delivery-cluster/Rakefile:96:in `chef_zero'
C:/Users/Administrator/delivery-cluster/Rakefile:326:in `block (2 levels) in <top (required)>'
Tasks: TOP => setup:cluster
(See full trace by running task with --trace)
C:\Users\Administrator\delivery-cluster [master ≡]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment