Skip to content

DAOS-18292 ddb: Debug level of the DDB GO code can not be defined#17232

Merged
daltonbohning merged 18 commits intomasterfrom
ckochhof/fix/master/daos-18292
Feb 19, 2026
Merged

DAOS-18292 ddb: Debug level of the DDB GO code can not be defined#17232
daltonbohning merged 18 commits intomasterfrom
ckochhof/fix/master/daos-18292

Conversation

@knard38
Copy link
Contributor

@knard38 knard38 commented Dec 5, 2025

Description

Properly configure C DAOS debug facilities from Golang DDB code.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@knard38 knard38 self-assigned this Dec 5, 2025
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Ticket title is 'Debug level of the DDB GO code can not be defined'
Status is 'In Review'
https://daosio.atlassian.net/browse/DAOS-18292

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/1/execution/node/1276/log

@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch 2 times, most recently from 3df67cc to 85e6a34 Compare December 15, 2025 19:25
@daosbuild3
Copy link
Collaborator

@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch from 85e6a34 to caf8936 Compare January 5, 2026 08:16
@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18291 branch 2 times, most recently from 9891709 to 9cbf6fe Compare January 5, 2026 10:58
@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch from caf8936 to 72a9f0c Compare January 5, 2026 11:06
@daosbuild3
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-17232/4/display/redirect

@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/5/execution/node/1358/log

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/5/execution/node/1399/log

@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch 2 times, most recently from 795df75 to 0187ab0 Compare January 8, 2026 08:43
@knard38 knard38 added the CR Catastrophic Recovery Feature label Jan 8, 2026
@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch from 0187ab0 to 0f34795 Compare January 29, 2026 08:46
@daosbuild3
Copy link
Collaborator

@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/8/execution/node/1398/log

Properly configure C DAOS debug facilities from Golang DDB code.

Features: recovery
Signed-off-by: Cedric Koch-Hofer <[email protected]>
@knard38 knard38 force-pushed the ckochhof/fix/master/daos-18292 branch from 0f34795 to 981d4b8 Compare February 6, 2026 14:09
@knard38 knard38 changed the base branch from ckochhof/fix/master/daos-18291 to master February 6, 2026 14:10
@knard38 knard38 marked this pull request as ready for review February 6, 2026 14:10
@knard38 knard38 requested review from a team as code owners February 6, 2026 14:10
Fix building issue: add missing LD_LIBRARY path.

Features: recovery
Allow-unstable-test: true
Signed-off-by: Cedric Koch-Hofer <[email protected]>
Fix reviewers remarks:
- Add short description of VOS path in live help output.

Features: recovery
Allow-unstable-test: true
Signed-off-by: Cedric Koch-Hofer <[email protected]>
Fix reviewers remarks:
- Use consistent logging facilities

Features: recovery
Allow-unstable-test: true
Signed-off-by: Cedric Koch-Hofer <[email protected]>
@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-17232/17/display/redirect

@knard38 knard38 requested review from Nasf-Fan and kjacque February 16, 2026 15:34
@daosbuild3
Copy link
Collaborator

Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/18/execution/node/1347/log

kjacque
kjacque previously approved these changes Feb 17, 2026
Copy link
Contributor

@kjacque kjacque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments are minor, not something I would block on. Nice improvements! I like the change to pass the log level--this really makes more sense from the perspective of a developer and/or a user collecting logs to troubleshoot.

Fix reviewers remarks:
- Improvement of --debug= option help message

Features: recovery
Allow-unstable-test: true
Signed-off-by: Cedric Koch-Hofer <[email protected]>
tanabarr
tanabarr previously approved these changes Feb 18, 2026
Copy link
Contributor

@tanabarr tanabarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request for documentation could just be a link to the man page in the source. otherwise LGTM

setenvIfNotSet("DD_STDERR", "INFO")
} else {
setenvIfNotSet("DD_STDERR", "ERR")
func strToLogLevels(level string) (logging.LogLevel, engine.LogLevel, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be really helpful to have a good documentation comment here as it has the potential to generate a lot of questions. Explain Why/What/How.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just link man pages it is covered there

Copy link
Contributor Author

@knard38 knard38 Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Add description comment of the function strToLogLevels()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Add description comment of the function strToLogLevels()

Fixed with commit b0a5e38

kjacque
kjacque previously approved these changes Feb 18, 2026
Fix reviewers remarks:
- Add description comment of the function strToLogLevels()

Features: recovery
Allow-unstable-test: true
Signed-off-by: Cedric Koch-Hofer <[email protected]>
@knard38 knard38 dismissed stale reviews from kjacque and tanabarr via b0a5e38 February 19, 2026 07:54
@knard38 knard38 requested review from kjacque and tanabarr and removed request for tanabarr February 19, 2026 13:00
Copy link
Contributor

@Nasf-Fan Nasf-Fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for offering ddb man page that is very useful. It looks fine for me.

@knard38 knard38 requested a review from a team February 19, 2026 20:46
@knard38
Copy link
Contributor Author

knard38 commented Feb 19, 2026

Please @daos-stack/daos-gatekeeper could you land this PR with the following message:

  • title: DAOS-18292 ddb: Fix ddb debugging facilities
  • body:
Fix ddb debugging facilities and add ddb man page.

@daltonbohning daltonbohning merged commit ccc1cd2 into master Feb 19, 2026
46 checks passed
@daltonbohning daltonbohning deleted the ckochhof/fix/master/daos-18292 branch February 19, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CR Catastrophic Recovery Feature

Development

Successfully merging this pull request may close these issues.

7 participants