Skip to content

Instantly share code, notes, and snippets.

@threetee
Created July 29, 2011 23:53
Show Gist options
  • Save threetee/1114985 to your computer and use it in GitHub Desktop.
Save threetee/1114985 to your computer and use it in GitHub Desktop.
opscode platform problems
$ knife cookbook list | grep jruby
jruby 0.0.4
# on the client:
$ sudo chef-client
[Fri, 29 Jul 2011 23:47:12 +0000] INFO: *** Chef 0.10.2 ***
[Fri, 29 Jul 2011 23:47:14 +0000] INFO: Run List is <redacted>
[Fri, 29 Jul 2011 23:47:14 +0000] INFO: Run List expands to [<redacted>, jruby, <redacted>]
[Fri, 29 Jul 2011 23:47:14 +0000] INFO: Starting Chef Run for 20122424
[Fri, 29 Jul 2011 23:47:14 +0000] INFO: HTTP Request Returned 412 Precondition Failed: {"unsatisfiable_run_list_item":"(jruby >= 0.0.0)","non_existent_cookbooks":["Package [\"build-essential\", \"java\"]"],"most_constrained_cookbooks":[],"message":"Unable to satisfy constraints on cookbook [\"build-essential\", \"java\"], which does not exist, due to run list item (jruby >= 0.0.0). Run list items that may result in a constraint on [\"build-essential\", \"java\"]: [(jruby = 0.0.4) -> ([\"build-essential\", \"java\"] >= 0.0.0)]"}
[Fri, 29 Jul 2011 23:47:14 +0000] ERROR: Running exception handlers
[Fri, 29 Jul 2011 23:47:14 +0000] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[Fri, 29 Jul 2011 23:47:14 +0000] ERROR: Exception handlers complete
[Fri, 29 Jul 2011 23:47:14 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Fri, 29 Jul 2011 23:47:14 +0000] FATAL: Net::HTTPServerException: 412 "Precondition Failed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment