Created
September 2, 2015 13:49
-
-
Save bowrocker/af2527e5aecb1e52dc62 to your computer and use it in GitHub Desktop.
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
Enter PS C:\chef> chef-client | |
Starting Chef Client, version 12.4.1 | |
[2015-09-02T13:44:15+00:00] INFO: *** Chef 12.4.1 *** | |
[2015-09-02T13:44:15+00:00] INFO: Chef-client pid: 1564 | |
[2015-09-02T13:44:22+00:00] INFO: Run List is [role[windows_builders]] | |
[2015-09-02T13:44:22+00:00] INFO: Run List expands to [git, chef-client, chef-client::delete_validation, push-jobs, deli | |
very_build] | |
[2015-09-02T13:44:22+00:00] INFO: Starting Chef Run for win-builder1.shd.chef.co | |
[2015-09-02T13:44:22+00:00] INFO: Running start handlers | |
[2015-09-02T13:44:22+00:00] INFO: Start handlers complete. | |
resolving cookbooks for run list: ["git", "chef-client", "chef-client::delete_validation", "push-jobs", "delivery_build" | |
] | |
[2015-09-02T13:44:22+00:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], chef_h | |
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], p | |
[email protected], [email protected]] | |
Synchronizing Cookbooks: | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/recipes/package.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/recipes/source.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/helpers.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_client.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/matchers.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/resources/config.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/recipes/default.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/recipes/server.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/recipes/windows.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/providers/config.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_client_osx.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_client_windows.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_client_package.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_client_source.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_service.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/provider_git_service_xinetd.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/resource_git_service.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/resource_git_client.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/libraries/z_provider_mapping.rb in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/attributes/default.rb in the cache. | |
- build-essential | |
- dmg | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/metadata.json in the cache. | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/CHANGELOG.md in the cache. | |
- windows | |
[2015-09-02T13:44:23+00:00] INFO: Storing updated cookbooks/git/README.md in the cache. | |
- git | |
- chef_handler | |
- yum-epel | |
- yum | |
- chef-client | |
- cron | |
- logrotate | |
- push-jobs | |
- runit | |
- packagecloud | |
- delivery_build | |
Compiling Cookbooks... | |
Converging 39 resources | |
Recipe: git::package | |
* git_client[default] action install[2015-09-02T13:44:24+00:00] INFO: Processing git_client[default] action install (g | |
it::package line 32) | |
* windows_package[Git version 1.9.5-preview20141217] action install[2015-09-02T13:44:24+00:00] INFO: Processing wind | |
ows_package[Git version 1.9.5-preview20141217] action install (c:/chef/cache/cookbooks/git/libraries/provider_git_client | |
_windows.rb line 10) | |
[2015-09-02T13:44:24+00:00] INFO: Installing windows_package[Git version 1.9.5-preview20141217] version latest | |
Recipe: <Dynamically Defined Resource> | |
* remote_file[c:/chef/cache/Git-1.9.5-preview20141217.exe] action create[2015-09-02T13:44:24+00:00] INFO: Processi | |
ng remote_file[c:/chef/cache/Git-1.9.5-preview20141217.exe] action create (dynamically defined) | |
[2015-09-02T13:44:29+00:00] INFO: remote_file[c:/chef/cache/Git-1.9.5-preview20141217.exe] created file c:/chef/cache/Gi | |
t-1.9.5-preview20141217.exe | |
- create new file c:/chef/cache/Git-1.9.5-preview20141217.exe[2015-09-02T13:44:29+00:00] INFO: remote_file[c:/ch | |
ef/cache/Git-1.9.5-preview20141217.exe] updated file contents c:/chef/cache/Git-1.9.5-preview20141217.exe | |
- update content in file c:/chef/cache/Git-1.9.5-preview20141217.exe from none to d7e78d | |
(file sizes exceed 10000000 bytes, diff output suppressed) | |
[2015-09-02T13:44:29+00:00] INFO: Starting installation...this could take awhile. | |
* ruby_block[Add Git Path] action nothing[2015-09-02T13:44:46+00:00] INFO: Processing ruby_block[Add Git Path] actio | |
n nothing (c:/chef/cache/cookbooks/git/libraries/provider_git_client_windows.rb line 25) | |
(skipped due to action :nothing) | |
* windows_path[C:\Program Files (x86)\Git\Cmd] action add[2015-09-02T13:44:46+00:00] INFO: Processing windows_path[C | |
:\Program Files (x86)\Git\Cmd] action add (c:/chef/cache/cookbooks/git/libraries/provider_git_client_windows.rb line 33) | |
* env[path] action modify[2015-09-02T13:44:46+00:00] INFO: Processing env[path] action modify (c:/chef/cache/cookb | |
ooks/windows/providers/path.rb line 25) | |
[2015-09-02T13:44:46+00:00] INFO: env[path] modified | |
[2015-09-02T13:44:46+00:00] INFO: env[path] sending run action to ruby_block[fix ruby ENV['PATH']] (immediate) | |
* ruby_block[fix ruby ENV['PATH']] action run[2015-09-02T13:44:46+00:00] INFO: Processing ruby_block[fix ruby ENV[ | |
'PATH']] action run (c:/chef/cache/cookbooks/windows/providers/path.rb line 38) | |
[2015-09-02T13:44:46+00:00] INFO: ruby_block[fix ruby ENV['PATH']] called | |
- execute the ruby block fix ruby ENV['PATH'] | |
* ruby_block[fix ruby ENV['PATH']] action nothing[2015-09-02T13:44:46+00:00] INFO: Processing ruby_block[fix ruby | |
ENV['PATH']] action nothing (c:/chef/cache/cookbooks/windows/providers/path.rb line 38) | |
(skipped due to action :nothing) | |
[2015-09-02T13:44:46+00:00] INFO: windows_path[C:\Program Files (x86)\Git\Cmd] sending create action to ruby_block[Add G | |
it Path] (immediate) | |
* ruby_block[Add Git Path] action create[2015-09-02T13:44:46+00:00] INFO: Processing ruby_block[Add Git Path] action | |
create (c:/chef/cache/cookbooks/git/libraries/provider_git_client_windows.rb line 25) | |
[2015-09-02T13:44:46+00:00] INFO: ruby_block[Add Git Path] called | |
- execute the ruby block Add Git Path | |
Recipe: chef-client::windows_service | |
* directory[C:/chef/run] action create[2015-09-02T13:44:46+00:00] INFO: Processing directory[C:/chef/run] action creat | |
e (chef-client::windows_service line 53) | |
(up to date) | |
* directory[C:/chef/cache] action create[2015-09-02T13:44:46+00:00] INFO: Processing directory[C:/chef/cache] action c | |
reate (chef-client::windows_service line 53) | |
(up to date) | |
* directory[C:/chef/backup] action create[2015-09-02T13:44:46+00:00] INFO: Processing directory[C:/chef/backup] action | |
create (chef-client::windows_service line 53) | |
(up to date) | |
* directory[C:/chef/log] action create[2015-09-02T13:44:46+00:00] INFO: Processing directory[C:/chef/log] action creat | |
e (chef-client::windows_service line 53) | |
(up to date) | |
* directory[C:/chef] action create[2015-09-02T13:44:46+00:00] INFO: Processing directory[C:/chef] action create (chef- | |
client::windows_service line 53) | |
(up to date) | |
* template[C:/chef/client.service.rb] action create[2015-09-02T13:44:46+00:00] INFO: Processing template[C:/chef/clien | |
t.service.rb] action create (chef-client::windows_service line 35) | |
(up to date) | |
* execute[register-chef-service] action run[2015-09-02T13:44:46+00:00] INFO: Processing execute[register-chef-service] | |
action run (chef-client::windows_service line 42) | |
(skipped due to not_if) | |
* windows_service[chef-client] action enable[2015-09-02T13:44:47+00:00] INFO: Processing windows_service[chef-client] | |
action enable (chef-client::windows_service line 48) | |
(up to date) | |
* windows_service[chef-client] action start[2015-09-02T13:44:47+00:00] INFO: Processing windows_service[chef-client] a | |
ction start (chef-client::windows_service line 48) | |
(up to date) | |
Recipe: chef-client::delete_validation | |
* file[c:/chef/validation.pem] action delete[2015-09-02T13:44:47+00:00] INFO: Processing file[c:/chef/validation.pem] | |
action delete (chef-client::delete_validation line 25) | |
(up to date) | |
Recipe: push-jobs::windows | |
* windows_package[Opscode Push Jobs Client Installer for Windows] action install[2015-09-02T13:44:47+00:00] INFO: Proc | |
essing windows_package[Opscode Push Jobs Client Installer for Windows] action install (push-jobs::windows line 26) | |
[2015-09-02T13:44:47+00:00] INFO: Installing windows_package[Opscode Push Jobs Client Installer for Windows] version lat | |
est | |
Recipe: <Dynamically Defined Resource> | |
* remote_file[c:/chef/cache/opscode-push-jobs-client-windows-1.1.5-1.windows.msi] action create[2015-09-02T13:44:47+ | |
00:00] INFO: Processing remote_file[c:/chef/cache/opscode-push-jobs-client-windows-1.1.5-1.windows.msi] action create (d | |
ynamically defined) | |
(up to date) | |
[2015-09-02T13:44:48+00:00] INFO: Starting installation...this could take awhile. | |
Recipe: push-jobs::config | |
* directory[C:\chef] action create[2015-09-02T13:44:51+00:00] INFO: Processing directory[C:\chef] action create (push- | |
jobs::config line 25) | |
(up to date) | |
* template[C:\chef/push-jobs-client.rb] action create[2015-09-02T13:44:51+00:00] INFO: Processing template[C:\chef/pus | |
h-jobs-client.rb] action create (push-jobs::config line 33) | |
(up to date) | |
Recipe: push-jobs::service | |
* registry_key[HKLM\SYSTEM\CurrentControlSet\Services\pushy-client] action create[2015-09-02T13:44:51+00:00] INFO: Pro | |
cessing registry_key[HKLM\SYSTEM\CurrentControlSet\Services\pushy-client] action create (push-jobs::service line 25) | |
(up to date) | |
* windows_service[pushy-client] action enable[2015-09-02T13:44:51+00:00] INFO: Processing windows_service[pushy-client | |
] action enable (push-jobs::service line 34) | |
(up to date) | |
* windows_service[pushy-client] action start[2015-09-02T13:44:51+00:00] INFO: Processing windows_service[pushy-client] | |
action start (push-jobs::service line 34) | |
(up to date) | |
Recipe: delivery_build::chef_client | |
* directory[/etc/chef] action create[2015-09-02T13:44:51+00:00] INFO: Processing directory[/etc/chef] action create (d | |
elivery_build::chef_client line 19) | |
[2015-09-02T13:44:51+00:00] WARN: Mode 755 includes bits for the owner, but owner is not specified | |
[2015-09-02T13:44:51+00:00] WARN: Mode 755 includes bits for the group, but group is not specified | |
(up to date) | |
* file[/etc/chef/client.rb] action create[2015-09-02T13:44:51+00:00] INFO: Processing file[/etc/chef/client.rb] action | |
create (delivery_build::chef_client line 23) | |
[2015-09-02T13:44:51+00:00] WARN: Mode 644 includes bits for the owner, but owner is not specified | |
[2015-09-02T13:44:51+00:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
(up to date) | |
* directory[/etc/chef/trusted_certs] action create[2015-09-02T13:44:51+00:00] INFO: Processing directory[/etc/chef/tru | |
sted_certs] action create (delivery_build::chef_client line 27) | |
[2015-09-02T13:44:51+00:00] WARN: Mode 755 includes bits for the owner, but owner is not specified | |
[2015-09-02T13:44:51+00:00] WARN: Mode 755 includes bits for the group, but group is not specified | |
(up to date) | |
Recipe: delivery_build::repo | |
* packagecloud_repo[chef/stable] action add[2015-09-02T13:44:51+00:00] INFO: Processing packagecloud_repo[chef/stable] | |
action add (delivery_build::repo line 1) | |
================================================================================ | |
Error executing action `add` on resource 'packagecloud_repo[chef/stable]' | |
================================================================================ | |
RuntimeError | |
------------ | |
is an unknown package type. | |
Cookbook Trace: | |
--------------- | |
c:/chef/cache/cookbooks/packagecloud/providers/repo.rb:16:in `block in class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In c:/chef/cache/cookbooks/delivery_build/recipes/repo.rb | |
1: packagecloud_repo node['delivery_build']['repo_name'] do | |
2: type value_for_platform_family(debian: 'deb', rhel: 'rpm') | |
3: end | |
Compiled Resource: | |
------------------ | |
# Declared in c:/chef/cache/cookbooks/delivery_build/recipes/repo.rb:1:in `from_file' | |
packagecloud_repo("chef/stable") do | |
action [:add] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :packagecloud_repo | |
cookbook_name "delivery_build" | |
recipe_name "repo" | |
end | |
[2015-09-02T13:44:51+00:00] INFO: Running queued delayed notifications before re-raising exception | |
Running handlers: | |
[2015-09-02T13:44:51+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-09-02T13:44:51+00:00] ERROR: Exception handlers complete | |
Chef Client failed. 8 resources updated in 40.866867 seconds | |
[2015-09-02T13:44:51+00:00] INFO: Sending resource update report (run-id: 6d0414ff-20ce-4bb2-97f4-6b0c51528db9) | |
[2015-09-02T13:44:52+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out | |
[2015-09-02T13:44:52+00:00] FATAL: RuntimeError: packagecloud_repo[chef/stable] (delivery_build::repo line 1) had an err | |
or: RuntimeError: is an unknown package type.file contents here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment