Skip to content

fix: update svm state from online to running#4241

Merged
cgrinds merged 1 commit intomainfrom
rg2-state
Apr 16, 2026
Merged

fix: update svm state from online to running#4241
cgrinds merged 1 commit intomainfrom
rg2-state

Conversation

@rahulguptajss
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 14:02
@cla-bot cla-bot bot added the cla-signed label Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates SVM status collection/mapping so that SVMs are treated as healthy when their state is reported as running (instead of online), aligning the YAML config with the actual API-returned state values.

Changes:

  • ZAPI (cDOT 9.8.0): map state label from operational-state and treat running as the healthy status value.
  • REST (9.9.0, 9.10.0): treat running as the healthy status value for new_status.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
conf/zapi/cdot/9.8.0/svm.yaml Switches state source to operational-state and updates new_status mapping to consider running healthy.
conf/rest/9.9.0/svm.yaml Updates new_status mapping to consider running healthy.
conf/rest/9.10.0/svm.yaml Updates new_status mapping to consider running healthy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rahulguptajss rahulguptajss linked an issue Apr 16, 2026 that may be closed by this pull request
@cgrinds cgrinds merged commit 0a7b104 into main Apr 16, 2026
17 checks passed
@cgrinds cgrinds deleted the rg2-state branch April 16, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

svm_new_status value is always 0

3 participants