-
Notifications
You must be signed in to change notification settings - Fork 48
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
Ceph: Add interactive and preseed options to configure a dedicated Ceph network in MicroCloud #274
Ceph: Add interactive and preseed options to configure a dedicated Ceph network in MicroCloud #274
Conversation
1dc28b2
to
6bf4b4f
Compare
e61f999
to
617159b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally lgtm, two comments below.
As a heads-up separating public and cluster nets for Ceph was a relatively frequently requested feature so I wonder if this should be really conflated (will add to the spec as well).
617159b
to
2d012fb
Compare
9769473
to
a173647
Compare
@markylaing @masnax @ru-fu ready for review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good for the documentation already! A few more changes needed though (of course 😉 ).
a173647
to
85b44a1
Compare
@ru-fu doc udpated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it looks really good :)
One thing that's missing though are some tests. Is that something you would be able to incorporate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 😃. Lots of docs and tests. I just have one comment and one nit.
bc146a2
to
725e276
Compare
725e276
to
723e771
Compare
I seem to be consistently seeing this error at the same spot: https://github.com/canonical/microcloud/actions/runs/9347254250/job/25868665575?pr=274#step:13:9857
|
working on it. |
3d5269c
to
04b91a6
Compare
04b91a6
to
03103ad
Compare
@masnax tests should be passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits but other than that it looks good to go :)
Signed-off-by: Gabriel Mougard <[email protected]>
This defines the validation rules for a Ceph subnet string given a set of physical network interfaces. Signed-off-by: Gabriel Mougard <[email protected]>
When a Ceph cluster is deployed, we need to be able to query its global configuration. For example, we'll need this client logic to know if a deployed Ceph cluster has an existing `cluster_network` parameter. This will be required for adding a new cluster member using the dedicated Ceph subnet. Signed-off-by: Gabriel Mougard <[email protected]>
…itSystem Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
…twork The added logic handle the bootstrapping and adding logic, when a dedicated Ceph network has been required. Signed-off-by: Gabriel Mougard <[email protected]>
…roCeph service If a dedicated Ceph network has been required, we choose this subnet for the `cluster` traffic. Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
03103ad
to
e25100b
Compare
@markylaing updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can finally put this one to rest :)
See https://discourse.ubuntu.com/t/add-options-for-configuring-a-dedicated-ceph-network-in-microcloud/43687
JIRA ticket: https://warthogs.atlassian.net/jira/software/c/projects/LXD/boards/54?assignee=63d9eb6128cddcc70770aff1&selectedIssue=LXD-636