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

ozone admin container report doesn't return error message but a default payload in case of errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ozone CLI
    • None

    Description

      ozone admin container report doesn't return error message but a default payload in case of errors

      Response 

      [root@<hostname> ~]# ozone admin container report
      Container Summary Report generated at 1970-01-01T00:00:00Z
      ==========================================================
      
      
      Container State Summary
      =======================
      OPEN: 0
      CLOSING: 0
      QUASI_CLOSED: 0
      CLOSED: 0
      DELETING: 0
      DELETED: 0
      RECOVERING: 0
      
      
      Container Health Summary
      ========================
      UNDER_REPLICATED: 0
      MIS_REPLICATED: 0
      OVER_REPLICATED: 0
      MISSING: 0
      UNHEALTHY: 0
      EMPTY: 0
      OPEN_UNHEALTHY: 0
      QUASI_CLOSED_STUCK: 0
      
      
      [root@<hostname> ~]# 
      [root@<hostname> ~]# ozone admin container report
      Container Summary Report generated at 2024-04-04T04:25:05Z
      ==========================================================
      
      
      Container State Summary
      =======================
      OPEN: 8
      CLOSING: 0
      QUASI_CLOSED: 0
      CLOSED: 18
      DELETING: 0
      DELETED: 28
      RECOVERING: 0
      
      
      Container Health Summary
      ========================
      UNDER_REPLICATED: 0
      MIS_REPLICATED: 0
      OVER_REPLICATED: 0
      MISSING: 0
      UNHEALTHY: 0
      EMPTY: 1
      OPEN_UNHEALTHY: 0
      QUASI_CLOSED_STUCK: 0
      
      
      First 100 EMPTY containers:
      #2006 

      Here the first response was when all the DN's roles were stopped.

       

      Here there are 2 options:

      1. Default payload and no error message was returned
      2. Container report should be returned, SCM was up only few of the DN roles were stopped.

      Attachments

        Activity

          People

            tejaskriya09 Tejaskriya Madhan
            asarin Arun Sarin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: