Title: oo-last-access Describe the issue: When running oo-last-access from the command line, if the /etc/openshift/node.conf has a configuration line that contains only a space you get the following stack trace: /usr/sbin/oo-last-access:134:in `block in source_file': undefined method `split' for nil:NilClass (NoMethodError) from /usr/sbin/oo-last-access:127:in `foreach' from /usr/sbin/oo-last-access:127:in `source_file' from /usr/sbin/oo-last-access:151:in `block in <main>' from /usr/sbin/oo-last-access:144:in `call' from /usr/sbin/oo-last-access:144:in `single_instance' from /usr/sbin/oo-last-access:150:in `<main>' Suggestions for improvement: Additional information:
Test this bug on puddle 1.2/2013-08-15.2 After setting up the OSE env, oo-last-access couldn't work at all [root@node1 ~]# oo-last-access /usr/sbin/oo-last-access:129:in `source_file': undefined method `params' for #<OpenShift::Config:0x000000010480c0> (NoMethodError) from /usr/sbin/oo-last-access:144:in `block in <main>' from /usr/sbin/oo-last-access:137:in `call' from /usr/sbin/oo-last-access:137:in `single_instance' from /usr/sbin/oo-last-access:143:in `<main>' So assign it back, thanks!
Verify this on puddle: 1.2/2013-08-20.1 After adding lines that contains only a space in /etc/openshift/node.conf, oo-last-access could work.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1211.html