Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zone bundle] Query for the correct user property, avoid panicking #7749

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Mar 6, 2025

Fixes #7750
Fixes #7752

@smklein smklein requested review from jgallagher and bnaecker March 6, 2025 23:19
@smklein smklein enabled auto-merge (squash) March 7, 2025 00:05
@smklein smklein merged commit 45cb91c into main Mar 7, 2025
16 checks passed
@smklein smklein deleted the bundle_props branch March 7, 2025 01:08
Comment on lines +93 to +98
"Found a ZFS snapshot with a name reserved for zone \
bundling, but which does not have the zone-bundle-specific \
property. Bailing out, rather than risking deletion of \
user data.";
"snap_name" => &name,
"property" => ZONE_BUNDLE_ZFS_PROPERTY_NAME
Copy link
Contributor

Choose a reason for hiding this comment

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

I realize this already landed, but this log should probably include the error from get_values, right? It might be that we don't have the property (as the current log message says), but it could also be something like "zfs get failed outright".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants