Skip to content

Fix ceph disk validation #227

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

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Fix ceph disk validation #227

merged 3 commits into from
Nov 29, 2023

Conversation

masnax
Copy link
Contributor

@masnax masnax commented Nov 20, 2023

Closes #226

Currently when directly specifying disks for ceph, MicroCloud will require all systems to specify a disk unless a filter is also specified.

Instead, we should only require 3 systems to specify a disk, and only during bootstrap.

@masnax masnax requested a review from tomponline as a code owner November 20, 2023 18:38
@tomponline
Copy link
Member

Should we have a test for this?

tomponline
tomponline previously approved these changes Nov 28, 2023
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Should we have a test for this though?

@masnax
Copy link
Contributor Author

masnax commented Nov 28, 2023

Should we have a test for this though?

The exact configuration is already tested with the interactive CLI, it was just explicitly blocked for preseeds. I've now added a unit test that covers the validation component that was blocking it.

@tomponline
Copy link
Member

@masnax please can you sign your commits.

@masnax masnax merged commit 0f74dc1 into canonical:main Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preseed: Direct disk selection expects a filter to exist
2 participants