Opened 13 years ago

Last modified 10 years ago

#1116 new defect

IZ175: SGE installer cannot remove spool dir if arco was installed

Reported by: petrik Owned by:
Priority: low Milestone:
Component: testsuite Version: current
Severity: Keywords: framework


[Imported from gridengine issuezilla]

        Issue #:      175             Platform:     All           Reporter: petrik (petrik)
       Component:     testsuite          OS:        All
     Subcomponent:    framework       Version:      current          CC:    None defined
        Status:       NEW             Priority:     P4
      Resolution:                    Issue type:    DEFECT
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
       * Summary:     SGE installer cannot remove spool dir if arco was installed
   Status whiteboard:

     Issue 175 blocks:
   Votes for issue 175:     Vote for this issue

   Opened: Fri Feb 8 07:04:00 -0700 2008 

Arco spool dir MUST be different from SGE spool_dir. Currently testsuite uses

When spool dir was not removed before next installation (is to be reused) and
arco was installed. Qmaster installation will fail.

Berkeley Database spooling parameters

Please enter the Database Directory now, even if you want to spool locally,
it is necessary to enter this Database Directory.

Default: [/sge/default/spool/spooldb] >> /testsuite/21638
The spooling directory already exists! Do you want to delete it? [n] >> y

rm: /testsuite/21638/arco/queries/Number_of_Jobs_completed.xml: override
protection 644 (yes/no)? yes
rm: /testsuite/21638/arco/queries/Number_of_Jobs_completed.xml not removed:
Permission denied

The problem is that arco used the spool_dir for queries and results, but with
following permissions.

/testsuite/21638/arco> ll
total 8
drwxr-xr-x   2 noaccess noaccess      22 Feb  7 16:00 queries
drwxr-xr-x   2 noaccess noaccess       2 Feb  7 16:00 results

SGE installation expects the spoool_dir to be owned by the admin user. Therefore
removal will fail. This applies to the uninstallation as well.

Change History (0)

Note: See TracTickets for help on using tickets.