Skip to content

[update-status] Handle svcs in-transition and unrecognized states - #11025

Open
karencfv wants to merge 4 commits into
oxidecomputer:mainfrom
karencfv:handle-intermediate-states
Open

[update-status] Handle svcs in-transition and unrecognized states#11025
karencfv wants to merge 4 commits into
oxidecomputer:mainfrom
karencfv:handle-intermediate-states

Conversation

@karencfv

@karencfv karencfv commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

svcs has two additional "states" that are not in the list of official states for SMF service instances. From man svcs

Absent or unrecognized states are denoted by a question mark
(?) character. An asterisk (*) is appended for instances in
transition, unless the NSTA or NSTATE column is also being
displayed.

This PR adds two additional variants to SvcState (and related parsing) to account for these additional "states": Unrecognized and InTransition. Additionally, only the Unrecognized variant is added to SvcEnabledNotOnlineState. An unrecognised state should raise an alarm, whereas an "in-transition" state should not.

This should probably be merged until the release branch is cut? It's be nice to give this a little bit of time on the dogfood rack.

Fixes: #10997

@karencfv

karencfv commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

This PR looks a bit big, but it really isn't. Most of it is just API migration code.

@karencfv
karencfv marked this pull request as ready for review August 7, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix SMF service parsing for intermediate states

1 participant