You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sadanand48 (via GitHub)" <gi...@apache.org> on 2025/03/11 12:53:39 UTC
[PR] HDDS-12458. Show safemode rules status irrespective of whether SCM is in safe mode in verbose mode. [ozone]
sadanand48 opened a new pull request, #8049:
URL: https://github.com/apache/ozone/pull/8049
## What changes were proposed in this pull request?
Show safemode rules status irrespective of whether SCM is in safe mode in verbose mode.
When --verbose is passed , it should show safemode status irrespective of safemode.
This can help in situations where someone force exits safe mode and is trying to track progress.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12548
## How was this patch tested?
Tried it out on a docker compose cluster.
```
bash-5.1$ ozone admin safemode status
SCM is in safe mode.
bash-5.1$ ozone admin safemode exit
SCM exit safe mode successfully.
bash-5.1$ ozone admin safemode status
SCM is out of safe mode.
bash-5.1$ ozone admin safemode status --verbose
SCM is out of safe mode.
validated:false, DataNodeSafeModeRule, registered datanodes (=0) >= required datanodes (=1)
validated:true, HealthyPipelineSafeModeRule, healthy Ratis/THREE pipelines (=0) >= healthyPipelineThresholdCount (=0)
validated:true, ContainerSafeModeRule, 100.00% of [Ratis] Containers(0 / 0) with at least one reported replica (=1.00) >= safeModeCutoff (=0.99);
100.00% of [EC] Containers(0 / 0) with at least N reported replica (=1.00) >= safeModeCutoff (=0.99);
validated:true, AtleastOneDatanodeReportedRule, reported Ratis/THREE pipelines with at least one datanode (=0) >= threshold (=0)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12458. Show safemode rules status irrespective of whether SCM is in safe mode in verbose mode. [ozone]
Posted by "aryangupta1998 (via GitHub)" <gi...@apache.org>.
aryangupta1998 merged PR #8049:
URL: https://github.com/apache/ozone/pull/8049
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-12458. Show safemode rules status irrespective of whether SCM is in safe mode in verbose mode. [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #8049:
URL: https://github.com/apache/ozone/pull/8049#issuecomment-2722081760
For the record: HDDS-12458 in title should have been HDDS-12548. (Link to issue is right.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org