Details

    • Target Release:
    • Story Points:
      1
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      Feature: Replaced the SSO7 image prestop hooks in application templates with a TERM signal handler in the SSO7 openshift-launch script.
      Reason: Relying on a prestop hook for clean shutdown of JBossAS on a TERM signal adds an extra 2 seconds to termination. A TERM handler in the openshift-launch scripts cleanly terminates the SSO7 images without the 2 second delay.
      Result : The openshift-launch script wrapper now sets a trap for a TERM signal, forks the SSO7 application process in the background, then waits for SSO7 process to terminate. When a TERM signal is given, the wrapper process catches the signal and runs the jboss-cli script to cleanly shutdown the JBossAS process.
      Show
      Feature: Replaced the SSO7 image prestop hooks in application templates with a TERM signal handler in the SSO7 openshift-launch script. Reason: Relying on a prestop hook for clean shutdown of JBossAS on a TERM signal adds an extra 2 seconds to termination. A TERM handler in the openshift-launch scripts cleanly terminates the SSO7 images without the 2 second delay. Result : The openshift-launch script wrapper now sets a trap for a TERM signal, forks the SSO7 application process in the background, then waits for SSO7 process to terminate. When a TERM signal is given, the wrapper process catches the signal and runs the jboss-cli script to cleanly shutdown the JBossAS process.
    • Sprint:
      CLOUD Maintenance Sprint 10

      Description

      At present we rely on a prestop hook to cleanly shutdown the EAP 7.x images, we should add in a wrapper script to handle clean shutdown on receipt of a TERM signal so the prestop hook is no longer necessary.

      Both mechanisms are impacted by the same termination period although there is an extra 2 second grace if the prestop hook is used.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kliberti Kyle Liberti
                  Reporter:
                  kliberti Kyle Liberti
                  Tester:
                  Pavel Drobek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: