Opened 47 years ago

Last modified 6 years ago

#874 new task

IZ494: Need additional debug output for GEAdapter execd config process

Reported by: rhierlmeier Owned by:
Priority: high Milestone:
Component: hedeby Version: 1.0
Severity: Keywords: Sun gridengine_adapter
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=494]

        Issue #:      494                      Platform:     Sun         Reporter: rhierlmeier (rhierlmeier)
       Component:     hedeby                      OS:        All
     Subcomponent:    gridengine_adapter       Version:      1.0            CC:    None defined
        Status:       NEW                      Priority:     P2
      Resolution:                             Issue type:    TASK
                                           Target milestone: 1.0u5next
      Assigned to:    rhierlmeier (rhierlmeier)
      QA Contact:     rhierlmeier
          URL:
       * Summary:     Need additional debug output for GEAdapter execd config process
   Status whiteboard:
      Attachments:


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


   Opened: Thu Jun 19 23:56:00 -0700 2008 
------------------------


   GEAdapter does not print out any debug message what configuration for the execd
   (un)installation is used. This makes it hard to diagnose support cases like "Why
   does GEAdapter ignores the localSpoolDir".
               ------- Additional comments from rhierlmeier Wed Aug 6 06:53:24 -0700 2008 -------
   Should be fixed in version 1.0...
               ------- Additional comments from afisch Wed Aug 6 10:52:46 -0700 2008 -------
   Description:
   GEAdapter does not print out any debug message what configuration for the execd
   (un)installation is used. This makes it hard to diagnose support cases like "Why
   does GEAdapter ignores the localSpoolDir".



   Evaluation:
   This issue is considered to be a p2 task because it is not a defect. However it
   is reasonable to expect that a user faces problems with the exec deamon
   un/installation process caused by misconfiguration and gets stuck.



   Suggested Fix / Work Around:
   The system should debug print the configuration together with the installation
   status of a resource. Additionally it might be useful if the configuration
   parameters are reported to the console directly whenever the un/installation
   fails.



   Analysis:
   in the source the information for the installation procedure is gathered at the
   following location:

       GeServiceConfigHelper:createInstallParams:817

   The createInstallParams method creates an InstallParams object. This object
   should give a configuration summary as a formatted string to be debug printed if
   a dedicated method is called. The class already contains an Enum for the
   different parameters and a static toString method that uses this enum. This can
   be used to create the summary in a generic way.

   The GeServiceConfigHelper:createInstallParams method is used for both cases
   installation and uninstallation.



   How to test:
   A TS test should be written that moves a resource into/out of the ge-adapter
   while debug is enabled. The test should parse the configuration output and
   analyze if it contains the expected information / value are reported. The debug
   parsing should be developed as part of the TS framework, so it can be later
   reused for other tests.


   ETC
   2 PD
               ------- Additional comments from rhierlmeier Wed Nov 25 07:21:11 -0700 2009 -------
   Milestone changed

Change History (0)

Note: See TracTickets for help on using tickets.