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

FIX: incus_storage_bucket produces inconsistent result #51

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

maveonair
Copy link
Member

@maveonair maveonair commented Mar 18, 2024

This pull request fixes the situation where incus_storage_bucket produces an inconsistent result when using the lvm storage driver, see #47.

The same solution is already used in other resources, e.g:

…h current config state for Storage Bucket

Signed-off-by: Fabian Mettler <[email protected]>
@maveonair maveonair linked an issue Mar 18, 2024 that may be closed by this pull request
@stgraber stgraber merged commit e98618e into lxc:main Mar 18, 2024
10 checks passed
@stgraber
Copy link
Member

We can probably share some of that logic with the volume issue we have open as both are basically the same where volume.XYZ keys set on the pool will propagate to new volumes or buckets.

@stgraber
Copy link
Member

So basically it's safe to ignore any key the user didn't define so long as the key and value line up with the matching volume.XYZ key on the pool.

@maveonair maveonair deleted the fix-storage-bucket-state branch March 19, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

incus_storage_bucket produces inconsistent result
2 participants