Skip to content

Instantly share code, notes, and snippets.

@nellshamrell
Created May 5, 2016 17:49
Show Gist options
  • Save nellshamrell/b071a1e2a41ce3ebf22698aa86a4c216 to your computer and use it in GitHub Desktop.
Save nellshamrell/b071a1e2a41ce3ebf22698aa86a4c216 to your computer and use it in GitHub Desktop.
ec2-54-205-89-86.compute-1.amazonaws.com * apt_package[ncurses-dev] action install (up to date)
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com Recipe Compile Error in /var/chef/cache/cookbooks/packages/recipes/default.rb
ec2-54-205-89-86.compute-1.amazonaws.com ================================================================================
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com TypeError
ec2-54-205-89-86.compute-1.amazonaws.com ---------
ec2-54-205-89-86.compute-1.amazonaws.com can't convert Chef::Node::VividMash to String (Chef::Node::VividMash#to_str gives Chef::Node::VividMash)
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com Cookbook Trace:
ec2-54-205-89-86.compute-1.amazonaws.com ---------------
ec2-54-205-89-86.compute-1.amazonaws.com /var/chef/cache/cookbooks/packages/recipes/default.rb:22:in `block in from_file'
ec2-54-205-89-86.compute-1.amazonaws.com /var/chef/cache/cookbooks/packages/recipes/default.rb:21:in `each'
ec2-54-205-89-86.compute-1.amazonaws.com /var/chef/cache/cookbooks/packages/recipes/default.rb:21:in `from_file'
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com Relevant File Content:
ec2-54-205-89-86.compute-1.amazonaws.com ----------------------
ec2-54-205-89-86.compute-1.amazonaws.com /var/chef/cache/cookbooks/packages/recipes/default.rb:
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com 15: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ec2-54-205-89-86.compute-1.amazonaws.com 16: # See the License for the specific language governing permissions and
ec2-54-205-89-86.compute-1.amazonaws.com 17: # limitations under the License.
ec2-54-205-89-86.compute-1.amazonaws.com 18: #
ec2-54-205-89-86.compute-1.amazonaws.com 19:
ec2-54-205-89-86.compute-1.amazonaws.com 20: Chef::Log.info "packages:#{node['packages']}"
ec2-54-205-89-86.compute-1.amazonaws.com 21: node['packages'].each do |pkg|
ec2-54-205-89-86.compute-1.amazonaws.com 22>> package pkg
ec2-54-205-89-86.compute-1.amazonaws.com 23: end
ec2-54-205-89-86.compute-1.amazonaws.com 24:
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com Platform:
ec2-54-205-89-86.compute-1.amazonaws.com ---------
ec2-54-205-89-86.compute-1.amazonaws.com x86_64-linux
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com
ec2-54-205-89-86.compute-1.amazonaws.com Running handlers:
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] ERROR: Running exception handlers
ec2-54-205-89-86.compute-1.amazonaws.com Running handlers complete
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] ERROR: Exception handlers complete
ec2-54-205-89-86.compute-1.amazonaws.com Chef Client failed. 0 resources updated in 11 seconds
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] ERROR: can't convert Chef::Node::VividMash to String (Chef::Node::VividMash#to_str gives Chef::Node::VividMas
h)
ec2-54-205-89-86.compute-1.amazonaws.com [2016-05-05T17:44:21+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment