Closed thrasher-redhat closed 8 years ago
[test]
Evaluated for online test up to ec4c5b47a84d75c9ea1e6bb7eec1c30205adcbb8
Looks like theres already a check for this hiding in a different part of oo-accept-node. See https://github.com/openshift/origin-server/blob/master/node-util/sbin/oo-accept-node#L594. Closing.
Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9087/)
Bug 1281912 BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1281912
There was no check for the situation where a node has a user but is missing the corresponding gear directory. The oo-accept-node script checks for valid file structures, but does not check that each user has a directory. This change will cause oo-accept-node to fail when there are users without matching directories and let the users know that the file is missing.
Error output should look like: