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 storage filter restrictions #545

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Conversation

masnax
Copy link
Contributor

@masnax masnax commented Dec 13, 2024

The storage selection filtering mechanism in preseed is meant as an alternative to the explicitly defined disk set.

If all systems have supplied disks explicitly for ceph, then also using the filter will now return a descriptive error, instead of simply reporting that no more disks could be found. The same is true for zfs.

Disk filtering will apply for any system that did not explicitly define disks. That is to say, as long as one system has not explicitly defined disks, then including a filter will be valid. This is true for ceph/zfs respectively.

cmd/microcloud/preseed.go Show resolved Hide resolved
cmd/microcloud/preseed.go Outdated Show resolved Hide resolved
@roosterfish
Copy link
Contributor

Merging the other preseed related PR has now caused a conflict. Requires rebase.

@masnax masnax force-pushed the fix-filter branch 2 times, most recently from 43610af to 4ec6f62 Compare December 17, 2024 00:33
@github-actions github-actions bot added the Documentation Documentation needs updating label Dec 17, 2024
Copy link
Contributor

@roosterfish roosterfish left a comment

Choose a reason for hiding this comment

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

LGTM!

@roosterfish roosterfish merged commit 0df7e29 into canonical:main Dec 17, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants