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
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
`’[root@jenkins~]# rpm -i
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
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.