[chef] where does error output go?


Chronological Thread 
  • From: phil swenson < >
  • To:
  • Subject: [chef] where does error output go?
  • Date: Mon, 5 May 2014 09:55:38 -0600

I was trying to use the oracle-xe recipe and got this error on execution:

[2014-05-05T15:42:06+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 9 resources updated in 224.123914276 seconds

I looked at the stacktracke.out and the trace didn’t help at all.

I did see that the oracle xe recipe installs an oracle RPM via yum_package so I simply tried running the RPM directly using 

rpm -i /var/chef/cache/oracle-xe-11.2.0-1.0.x86_64.rpm

This revealed the problem:  /usr/bin/chef-solo:23:in `<main>' ~]# rpm -i /var/chef/cache/oracle-xe-11.2.0-1.0.x86_64.rpm

This system does not meet the minimum requirements for swap space.  Based on
the amount of physical memory available on the system, Oracle Database 11g
Express Edition requires 1992 MB of swap space. This system has 0 MB
of swap space.  Configure more swap space on the system and retry the
installation.


So my question:  does chef log this root cause error anywhere?  Am I missing something obvious?  This message was not output to the console and wasn’t in the tracelog. 

Thanks!
phil



Archive powered by MHonArc 2.6.16.

§