Bug 620907

Summary: profile.d scripts don't set up SGE_CELL
Product: [Fedora] Fedora Reporter: Mike Grant <mggr>
Component: gridengineAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: i.mortimer, orion
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gridengine-6.2u5-5.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-31 06:34:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Replacement for /etc/profile.d/sge.sh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL
none
Replacement for /etc/profile.d/sge.csh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL none

Description Mike Grant 2010-08-03 18:24:45 UTC
Description of problem:

The gridengine scripts (sge.sh & sge.csh) in /etc/profile.d do not set up $SGE_CELL.  The result is $SGE_CELL defaults to "default", which breaks any configuration that has changed it.

Version-Release number of selected component (if applicable):
gridengine-6.2u3-3.fc12.x86_64

How reproducible:
Completely.

Steps to Reproduce:
1. install a gridengine with a non-default cell name
2. run qconf
  
Actual results:
qconf fails with "error: cell directory "/usr/share/gridengine/default" doesn't exist".

Expected results:
qconf works

Comment 1 Mike Grant 2010-08-03 18:25:40 UTC
Created attachment 436347 [details]
Replacement for /etc/profile.d/sge.sh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL

Replacement for /etc/profile.d/sge.sh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL

Comment 2 Mike Grant 2010-08-03 18:26:14 UTC
Created attachment 436349 [details]
Replacement for /etc/profile.d/sge.csh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL

Replacement for /etc/profile.d/sge.csh that uses the /etc/sysconfig/gridengine configuration and sets SGE_CELL

Comment 3 Fedora Update System 2010-08-11 17:28:19 UTC
gridengine-6.2u5-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gridengine-6.2u5-4.fc13

Comment 4 Fedora Update System 2010-08-11 17:28:42 UTC
gridengine-6.2u5-4.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/gridengine-6.2u5-4.fc14

Comment 5 Fedora Update System 2010-08-12 04:09:25 UTC
gridengine-6.2u5-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gridengine'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gridengine-6.2u5-4.fc13

Comment 6 Fedora Update System 2010-08-12 19:55:02 UTC
gridengine-6.2u5-4.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gridengine'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gridengine-6.2u5-4.fc14

Comment 7 Mike Grant 2010-08-18 15:08:08 UTC
If it's not too much trouble, please could you push a F12 build too?  That'd be a lot easier for me to test :)

Comment 8 Ian Mortimer 2010-08-25 03:30:57 UTC
> If it's not too much trouble, please could you push a F12 build too?

In the meantime the F13 src rpm builds and runs on F12.

Comment 9 Orion Poplawski 2010-08-25 15:24:26 UTC
I don't update gridengine version numbers during a release because updates generally require manual changes to the database and all machines in the grid must be running the same version.

Comment 10 Fedora Update System 2010-08-31 06:34:07 UTC
gridengine-6.2u5-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-09-01 05:58:09 UTC
gridengine-6.2u5-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.