[
https://issues.apache.org/jira/browse/HDDS-10642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ritesh Shukla updated HDDS-10642:
---------------------------------
Target Version/s: 1.4.1
> ozone admin container report doesn't return error message but a default
> payload in case of errors
> -------------------------------------------------------------------------------------------------
>
> Key: HDDS-10642
> URL: https://issues.apache.org/jira/browse/HDDS-10642
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Arun Sarin
> Assignee: Tejaskriya Madhan
> Priority: Major
>
> ozone admin container report doesn't return error message but a default
> payload in case of errors
> Response
> {code:java}
> [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 {code}
> Here the first response was when all the DN's roles were stopped.
>
> Here there are 2 options:
> # Default payload and no error message was returned
> # Container report should be returned, SCM was up only few of the DN roles
> were stopped.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]