Opened 50 years ago

Last modified 9 years ago

#924 new defect

IZ678: Host resource can get stuck in ASSIGNING state

Reported by: petrik Owned by:
Priority: normal Milestone:
Component: hedeby Version: 1.0u3
Severity: Keywords: Sun gridengine_adapter
Cc:

Description

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

        Issue #:      678                      Platform:     Sun         Reporter: petrik (petrik)
       Component:     hedeby                      OS:        All
     Subcomponent:    gridengine_adapter       Version:      1.0u3          CC:    None defined
        Status:       NEW                      Priority:     P3
      Resolution:                             Issue type:    DEFECT
                                           Target milestone: 1.0u5next
      Assigned to:    rhierlmeier (rhierlmeier)
      QA Contact:     rhierlmeier
          URL:
       * Summary:     Host resource can get stuck in ASSIGNING state
   Status whiteboard:
      Attachments:


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


   Opened: Thu Sep 24 08:44:00 -0700 2009 
------------------------


   Description:

   Host resource can get stuck in ASSIGNING state.

   Evaluation:


   Suggested fix/ Work Around:


   Analysis:


   How to test:


   ETC:


   ATC:
               ------- Additional comments from petrik Fri Sep 25 00:17:30 -0700 2009 -------
   Problem occurs when the execd installation succeeds, but the new execd is not
   started (e.g.: there was the same execd running prior to starting the
   installation, uses the same port). The SDM will get stuck in the ASSIGNING
   state, no timeout is reached.
               ------- Additional comments from rhierlmeier Sun Oct 4 22:36:30 -0700 2009 -------
   It's a problem in class HostImpl#finalizeInstall. If the execd installation
   exited with status 0 the vlue of the member variable hostState is set to
   HOST_INSTALLED. In the switch in finalize install this case is not handled:


       public void finalizeInstall(long transitionId) {
           ...
                   switch(getHostState()) {
                       case HOST_INSTALLING:
                       case HOST_STARTING:
                           setHostState(HostState.HOST_ERROR,
   I18NManager.formatMessage("h.waitForStartTimeout", BUNDLE));
                           break;
                       default:
                           // Ignore
                   }
               }
          ...
       }


   The case for HOST_INSTALLED is missing.

               ------- Additional comments from rhierlmeier Wed Nov 25 07:21:10 -0700 2009 -------
   Milestone changed

Change History (0)

Note: See TracTickets for help on using tickets.