Skip to content

Conversation

@mulkieran
Copy link
Member

@mulkieran mulkieran commented Jan 5, 2026

@mulkieran mulkieran self-assigned this Jan 5, 2026
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch 2 times, most recently from 444eeb3 to 4320d2b Compare January 5, 2026 20:01
@mulkieran mulkieran moved this to In Progress in 2026January Jan 5, 2026
@mulkieran mulkieran changed the title Lookup pool name without raising not found exception Lookup blockdev D-Bus properties without raising not found exception Jan 5, 2026
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from 4320d2b to f9da5c0 Compare January 5, 2026 20:19
If the pool object path is not on the D-Bus, stratisd will not even have
a field for that item in the GetManagedObjects result and will raise an
exception. Do not allow the exception to propagate in this case, but
catch it and return the unknown string.

Signed-off-by: mulhern <[email protected]>
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from f9da5c0 to 7eb1526 Compare January 5, 2026 20:21
@mulkieran mulkieran marked this pull request as draft January 5, 2026 20:26
@mulkieran
Copy link
Member Author

We should do this for filesystem also, most likely.

@mulkieran mulkieran added this to the v3.9.0 milestone Jan 5, 2026
@mulkieran
Copy link
Member Author

We will have to have a plan to patch lookup methods like devs or pools or filesystems or fall back on just treating the GetManagedObjects result like a dict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant