Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2608

Provide command to wait until SCM is out from the safe-mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Tools

    Description

      The safe mode can be checked with "ozone scmcli safemode status". But for acceptance tests there is no easy way to check if the cluster is ready to execute the tests (See HDDS-2606 for example).

      One easy solution is to create a polling version from "safemode status".

      "safemode wait --timeout ..." can be blocked until the scm is out from the safe mode.

      Wit proper safe mode rules (min datanodes + min pipline numbers) it can help us to check if the acceptance tests are ready to test.

      Same command can be used in k8s as well to test if the cluster is ready to start the freon commands...

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              4 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