Skip to content

Lookup blockdev D-Bus properties without raising not found exception #1250

Draft
mulkieran wants to merge 6 commits intostratis-storage:masterfrom
mulkieran:do-not-terminate-on-missing-pool
Draft

Lookup blockdev D-Bus properties without raising not found exception #1250
mulkieran wants to merge 6 commits intostratis-storage:masterfrom
mulkieran:do-not-terminate-on-missing-pool

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 2 times, most recently 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.

@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from 7eb1526 to 43dd2f9 Compare January 15, 2026 15:22
@mulkieran mulkieran removed this from 2026January Feb 17, 2026
@mulkieran mulkieran moved this to In Progress in 2026February Feb 17, 2026
@mulkieran mulkieran removed this from 2026February Mar 2, 2026
@mulkieran mulkieran moved this to In Progress in 2026March Mar 2, 2026
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch 7 times, most recently from 58d628e to c1874e3 Compare March 11, 2026 01:18
The alerts regarding device size changes require searching the
GetManagedObjects result, the other alerts only require looking at the
properties of one pool.

Calculating them together is awkward.

Signed-off-by: mulhern <amulhern@redhat.com>
The are already sorted in table view, so might as well be consistent.

Signed-off-by: mulhern <amulhern@redhat.com>
To better localize D-Bus property using methods.

Signed-off-by: mulhern <amulhern@redhat.com>
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from c1874e3 to 565cc08 Compare March 13, 2026 01:16
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from 565cc08 to 3350c4a Compare March 13, 2026 01:28
Signed-off-by: mulhern <amulhern@redhat.com>
Signed-off-by: mulhern <amulhern@redhat.com>
zbus crate omits property values from the GetManagedObjects result if it
can not get them.

Instead of a stack trace, return a TABLE_UNKNOWN_STRING for printing.

Signed-off-by: mulhern <amulhern@redhat.com>
@mulkieran mulkieran force-pushed the do-not-terminate-on-missing-pool branch from 3350c4a to b3c9539 Compare March 13, 2026 01:41
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