Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misconfiguration Handling in HBN DPUService Will Revert to Last Working Config #19

Open
tobiasgiese opened this issue Dec 20, 2024 · 0 comments
Labels

Comments

@tobiasgiese
Copy link
Member

Description

Deploying the HBN DPUService with an "illegal" configuration results in inconsistent and unexpected behavior, depending on the nature of the configuration issue:

Scenarios:

  1. Invalid YAML Configuration:

    • If the configuration YAML is syntactically invalid, the hbn-init container validates it, crashes, and logs the error. The hbn-doca service does not start.
    • Expected Behavior: This scenario is handled correctly.
  2. Valid YAML, But Illegal Configuration:

    • If the YAML configuration is valid but contains values that are illegal from an NVUE perspective:

      • The doca-hbn service starts (unexpected behavior: it should not start or should start with an empty configuration).
      • The doca-hbn service applies the "last known good" configuration (unexpected behavior: it should not retain any previous configuration).
    • Any existing startup.yaml file on the filesystem is not removed by the hbn-init container. As a result:

      • The service improperly "remembers" prior configurations stored on the filesystem.
      • The service does not attempt to re-apply the new configuration correctly during subsequent restarts.

Users deploying misconfigured HBN DPUService may experience a misleading or outdated service state.

Resolution

This issue is under investigation.

Note: There is currently no workaround for this issue.

@tobiasgiese tobiasgiese changed the title Misconfiguration Handling in HBN DPUService Leads to Unexpected Behavior Misconfiguration Handling in HBN DPUService Will Revert to Last Working Config Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant