Skip to content

Conversation

@amaslenn
Copy link
Contributor

@amaslenn amaslenn commented Oct 14, 2024

Summary

  1. Verify all configs, not just till first failure.
  2. Improve errors reporting.

Test Plan

  1. CI.
  2. Manual run for different modes and check output.

Additional Notes

Example output:

cloudai verify-systems conf/common/system
[INFO] Verifying conf/common/system/standalone_system.toml...
[INFO] Verifying conf/common/system/example_slurm_cluster.toml...
[ERROR] Failed to parse system definition: conf/common/system/example_slurm_cluster.toml
[ERROR] Field 'install_path': Field required
[INFO] Verifying conf/common/system/kubernetes_cluster.toml...
[ERROR] Failed to parse system definition: conf/common/system/kubernetes_cluster.toml
[ERROR] Field 'install_path': Field required
[ERROR] 2 out of 3 system configurations have issues.

@amaslenn amaslenn added the enhancement New feature or request label Oct 14, 2024
@TaekyungHeo TaekyungHeo added Oct24 Oct'24 release feature enhancement New feature or request and removed enhancement New feature or request labels Oct 14, 2024
Copy link
Contributor

@srivatsankrishnan srivatsankrishnan left a comment

Choose a reason for hiding this comment

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

LGTM. Clarified the PR during the call.

@TaekyungHeo TaekyungHeo merged commit 0af4cd9 into main Oct 14, 2024
@TaekyungHeo TaekyungHeo deleted the am/improve-verify branch October 14, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Oct24 Oct'24 release feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants