FORGE-7445 noDpuLogsWarning alert with SuppressExternalAlerting fires even though there are alerts.#515
Open
terickson-nvidia wants to merge 3 commits intoNVIDIA:mainfrom
Open
Conversation
… even though there are alerts.
Author
TestingI looked at the forge-dpu-agent logs output by I tested the This verified that the contents were unchanged. By first removing or modifying I temporarily modified the code to inject an error until N retries and verified the expected retry behavior. |
wminckler
reviewed
Mar 11, 2026
wminckler
reviewed
Mar 11, 2026
wminckler
reviewed
Mar 11, 2026
wminckler
reviewed
Mar 11, 2026
Author
TestingI repeated all the testing mentioned previously. Then I temporarily modified the code to inject an error in the api request, to verify that an error is logged, and the service exits and restarts: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes missing
host_machine_idlabel in DPU logs andtelemetry_stats_log_records_countmetric by fetching the id through carbide API in forge-dpu-agent using the FindInterfaces request. The label is needed forSuppressExternalAlertingto work with thenoDpuLogsWarningalert.The request is retried if the id isn't immediately available, using the
backoncrate to increase the retry interval to a maximum of every 5 minutes. Adds support for pending file contents to theduppetcrate.Type of Change
Related Issues (Optional)
https://nvbugspro.nvidia.com/bug/5668278
Breaking Changes
Testing
Unit tests for pending file contents in duppet crate.
Manual testing in local dev to verify
/run/otelcol-contrib/host-machine-idis created/updated/unchanged as expected.Additional Notes