You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "chihsuan (via GitHub)" <gi...@apache.org> on 2026/06/29 12:52:24 UTC
[PR] HDDS-15660. Skip prometheus container during stack collection [ozone]
chihsuan opened a new pull request, #10631:
URL: https://github.com/apache/ozone/pull/10631
## What changes were proposed in this pull request?
Test-only change.
**Problem.** On acceptance test failure, `create_stack_dumps()` iterates over the service containers and runs `jstack` in each one. The container filter `grep -e datanode -e om -e recon -e s3g -e scm` matches by substring, so `prometheus` (pr**om**etheus) is accidentally selected. The `prometheus` image has no `bash`, so the stack dump step fails with:
```
exec: "bash": executable file not found in $PATH
```
producing noise and a useless `.stack` file in the result directory.
**Fix.** Exclude the `prometheus` container from the stack collection loop by appending `grep -v -e prometheus` to the filter. Java service containers (including HA `om1/om2/om3`, `scm1/scm2/scm3`) are still selected.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15660
## How was this patch tested?
- Verified the updated filter still matches `ozone-om1-1`, `ozone-scm2-1`, `ozone-recon-1` and no longer matches `ozone-prometheus-1` / `ozone-grafana-1`.
--
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-15660. Skip prometheus container during stack collection [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #10631:
URL: https://github.com/apache/ozone/pull/10631
--
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-15660. Skip prometheus container during stack collection [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #10631:
URL: https://github.com/apache/ozone/pull/10631#issuecomment-4833973611
Thanks @chihsuan for the patch.
--
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