Skip to content

Instantly share code, notes, and snippets.

@jugatsu
Created March 31, 2017 18:05
Show Gist options
  • Save jugatsu/ca44592483e7eaaf43b9f4b5f42672c2 to your computer and use it in GitHub Desktop.
Save jugatsu/ca44592483e7eaaf43b9f4b5f42672c2 to your computer and use it in GitHub Desktop.
Starting Chef Client, version 12.19.36
[2017-03-31T10:43:00-07:00] INFO: *** Chef 12.19.36 ***
[2017-03-31T10:43:00-07:00] INFO: Platform: i386-mingw32
[2017-03-31T10:43:00-07:00] INFO: Chef-client pid: 1996
Creating a new client identity for tasks-windows-hyper-v-2016 using the validator key.
[2017-03-31T10:43:45-07:00] INFO: Client key C:\Users\vagrant\AppData\Local\Temp\kitchen\client.pem is not present - registering
[2017-03-31T10:43:46-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/tasks-windows-hyper-v-2016
[2017-03-31T10:43:46-07:00] INFO: Setting the run_list to ["recipe[test::default]"] from CLI options
[2017-03-31T10:43:46-07:00] INFO: Run List is [recipe[test::default]]
[2017-03-31T10:43:46-07:00] INFO: Run List expands to [test::default]
[2017-03-31T10:43:46-07:00] INFO: Starting Chef Run for tasks-windows-hyper-v-2016
[2017-03-31T10:43:46-07:00] INFO: Running start handlers
[2017-03-31T10:43:46-07:00] INFO: Start handlers complete.
[2017-03-31T10:43:46-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: ["test::default"]
[2017-03-31T10:43:46-07:00] INFO: Loading cookbooks [[email protected]]
Synchronizing Cookbooks:
[2017-03-31T10:43:46-07:00] INFO: Storing updated cookbooks/test/metadata.json in the cache.
[2017-03-31T10:43:46-07:00] INFO: Storing updated cookbooks/test/recipes/default.rb in the cache.
- test (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 1 resources
Recipe: test::default
* windows_user[test] action create[2017-03-31T10:43:46-07:00] INFO: Processing windows_user[test] action create (test::default line 7)
================================================================================
Error executing action `create` on resource 'windows_user[test]'
================================================================================
Chef::Exceptions::Win32APIError
-------------------------------
Не найдено имя группы.
---- Begin Win32 API output ----
System Error Code: 2220
System Error Message: Не найдено имя группы.
---- End Win32 API output ----
Resource Declaration:
---------------------
# In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/test/recipes/default.rb
7: user 'test' do
8: password 'yei5Ah'
9: end
Compiled Resource:
------------------
# Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/test/recipes/default.rb:7:in `from_file'
windows_user("test") do
action [:create]
supports {:manage_home=>false, :non_unique=>false}
retries 0
retry_delay 2
default_guard_interpreter :default
username "test"
uid nil
gid nil
home nil
password "yei5Ah"
iterations 27855
declared_type :user
cookbook_name "test"
recipe_name "default"
end
Platform:
---------
i386-mingw32
[2017-03-31T10:43:47-07:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2017-03-31T10:43:47-07:00] ERROR: Running exception handlers
Running handlers complete
[2017-03-31T10:43:47-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 47 seconds
[2017-03-31T10:43:47-07:00] FATAL: Stacktrace dumped to C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
[2017-03-31T10:43:47-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2017-03-31T10:43:47-07:00] FATAL: Chef::Exceptions::Win32APIError: windows_user[test] (test::default line 7) had an error: Chef::Exceptions::Win32APIError: Не найдено имя группы.
---- Begin Win32 API output ----
System Error Code: 2220
System Error Message: Не найдено имя группы.
---- End Win32 API output ----
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Converge failed on instance <tasks-windows-hyper-v-2016>. Please see .kitchen/logs/tasks-windows-hyper-v-2016.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment