Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13328

Control.sh bash script swallow return code of CommandHandler and always return 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.8, 2.8.1
    • 2.9
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      After merging IGNITE-12367,
      control.sh always return 0, despite the fact that CommandHandler returns correct code.

      For example:
      Ignite 2.8.1

      Failed to execute baseline command='collect'
      Latest topology update failed.
      Connection to cluster failed. Latest topology update failed.
      Command [BASELINE] finished with code: 2
      Control utility has completed execution at: 2020-08-05T15:01:34.123
      Execution time: 26627 ms
      >>> echo $?
      0
      

      Attachments

        Issue Links

          Activity

            People

              ivandasch Ivan Daschinsky
              ivandasch Ivan Daschinsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m