Skip to content

Instantly share code, notes, and snippets.

@elon01
Created January 3, 2014 16:20
Show Gist options
  • Save elon01/8240755 to your computer and use it in GitHub Desktop.
Save elon01/8240755 to your computer and use it in GitHub Desktop.
Chef-client output
opscode@domU-12-31-39-09-C5-DF:~$ sudo chef-client
[sudo] password for opscode:
Starting Chef Client, version 11.8.2
resolving cookbooks for run list: ["apache", "motd", "users"]
Synchronizing Cookbooks:
- apache
- motd
- pci
- users
Compiling Cookbooks...
Converging 15 resources
Recipe: apache::default
* package[apache2] action install (up to date)
* service[apache2] action enable
- enable service service[apache2]
* service[apache2] action start (up to date)
* execute[a2dissite default] action run (skipped due to only_if)
* template[/etc/apache2/sites-available/clowns] action create (up to date)
* execute[a2ensite clowns] action run (skipped due to not_if)
* directory[/srv/apache/clowns] action create (up to date)
* template[/srv/apache/clowns/index.html] action create (up to date)
* template[/etc/apache2/sites-available/bears] action create (up to date)
* execute[a2ensite bears] action run (skipped due to not_if)
* directory[/srv/apache/bears] action create (up to date)
* template[/srv/apache/bears/index.html] action create (up to date)
Recipe: motd::default
* template[/etc/motd.tail] action create (up to date)
Recipe: users::default
* user[frank] action create
* Couldn't lookup integer GID for group name 0
================================================================================
Error executing action `create` on resource 'user[frank]'
================================================================================
Chef::Exceptions::User
----------------------
Couldn't lookup integer GID for group name 0
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/users/recipes/default.rb
10: user user_data['id'] do
11: comment user_data['comment']
12: uid user_data['uid']
13: gid user_data['gid']
14: home user_data['home']
15: shell user_data['shell']
16: end
17: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/users/recipes/default.rb:10:in `block in from_file'
user("frank") do
action :create
supports {:manage_home=>false, :non_unique=>false}
retries 0
retry_delay 2
username "frank"
comment "Frank Belson"
uid "2001"
gid "0"
home "/home/frank"
shell "/bin/bash"
cookbook_name "users"
recipe_name "default"
end
[2014-01-03T16:19:23+00:00] ERROR: Running exception handlers
[2014-01-03T16:19:23+00:00] ERROR: Exception handlers complete
[2014-01-03T16:19:23+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 1 resources updated
[2014-01-03T16:19:23+00:00] ERROR: user[frank] (users::default line 10) had an error: Chef::Exceptions::User: Couldn't lookup integer GID for group name 0
[2014-01-03T16:19:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
opscode@domU-12-31-39-09-C5-DF:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment