test_os.sh not recognizing OS past rhel6 but test_os.sh seems not GWMS code
As reported by Steve Timm:
Distributed with the glideinwms factory rpm is a script called test_os.sh It contains the following case statement case "$req_os" in rhel4 ) v=4 ;; rhel5 ) v=5 ;; rhel6 ) v=6 ;; * ) echo "Unsupported GLIDEIN_REQUIRED_OS RHEL variant '$req_os'"; exit 1;; esac In other words there is no way to set GLIDEIN_REQUIRED_OS = rhel7 in your factory config and make it work. It will kick it out. Most current cms-based SL7 resources set "any" and let singularity do the picking. I am not sure if I can make that work on AWS or not. how do i test?
As I replied to Steve:
- I found no test_os.sh in the GWMS code
- and no string "Unsupported GLIDEIN_REQUIRED_OS RHEL" or reference to rhel4
Is his a script that was once in the code and was not removed in an update or is it coming from somewhere else?
Steve should verify where test_os.sh is coming from