Bug 1082129
| Summary: | sge_qmaster may fail when started via systemd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike Grant <mggr> |
| Component: | gridengine | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gridengine-2011.11p1-22.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-27 09:42:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mike Grant
2014-03-28 18:08:24 UTC
Does:
PIDFile=/var/spool/gridengine/${SGE_CELL}/qmaster/qmaster.pid
work? Not sure if you can use environment variables in PIDFile. If not I may just put the default there and a note to change it if needed in /etc/sysconfig/gridengine.
Modifying /etc/sysconfig/gridengine doesn't seem viable as it is %config(noreplace), and I don't like there being stuff sent regularly to the log. It's a bummer that they are assuming the SGE_ND is only for debugging.
Hmm, no, looks like PIDFile can't parse variables. The log spam is a bit annoying. I took a peek at the code and it seems it's not possible to tune it down much with $SGE_DEBUG_LEVEL, as the regular spams seem to rely purely on $SGE_ND. Some patching could solve this, of course. It might be possible to relatively easily patch in an extra environment variable to separate out the forking from the debug. The critical function (for the qmaster) seems to be sge_daemonize_qmaster() around line 180 in SOURCES/GE2011.11p1/source/daemons/qmaster/sge_qmaster_threads.c and would simply need to check for the existence of something like $SGE_DONT_FORK and return. I'm not sure what the other consequences of this might be ;) It's also a little bit nasty since arguably that's what SGE_ND (no daemonize) is supposed to mean! This would still require a change to the sysconfig file though. gridengine-2011.11p1-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gridengine-2011.11p1-22.fc20 gridengine-2011.11p1-22.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/gridengine-2011.11p1-22.fc19 Package gridengine-2011.11p1-22.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gridengine-2011.11p1-22.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10362/gridengine-2011.11p1-22.fc20 then log in and leave karma (feedback). gridengine-2011.11p1-22.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. gridengine-2011.11p1-22.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |