-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
dalees
commented
Nov 2, 2023
•
edited
Loading
edited
- The autohealing label is analogous to CAPI's healthcheck.
- Improves test failure output and sets autospec
Happy to split this into multiple commits/PRs as appropriate. |
@mkjpryor - I recall you've got some related changes with CAPO to mount multiple volumes onto nodes? Hopefully this PR doesn't conflict with that effort, and just takes the boot volume values from Magnum config - there are configuration values in Magnum for additional disks.
Should we include these in the helm values? It's hard to determine if these should always be mounted on all node types, or are best to be configurable by the Magnum operator and default to CAPI's single disk deployment. |
@dalees Those changes aren't in a CAPO release yet. They are also independent of the root volume specification so I think we should stick with these changes for now. |
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
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.
I am not sure about hard coding those CIDRs in the code. Could we add a configuration value for those? I worry about local services that clash with those CIDRs for some users.
(I kinda like how you could override that in the helm chart without us having to hard code it, but I am OK with the driver taking control of this too).
f614426
to
e2387fb
Compare
e2387fb
to
72cc81a
Compare
72cc81a
to
c4b67b2
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.
I like the refactor here, thank you!
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 matches what I see in the capi operator around the autoheal (which reminds me, we should fix up the autoscale too, as that works in the charts already)
@dalees Ah, sorry, I merged a conflicting change again, sorry! |
* The autohealing label is analogous to CAPI's healthcheck.
- Update default healthCheck value in tests - Add test for disabling healthCheck - Add autospec=true to all cluster tests to improve matching. - Change helm values dict comparison to assertDictEqual for better output.
c4b67b2
to
7a08035
Compare
Bound to happen either way you did it. I've got too much refactoring of tests in this one - rebased! |
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.
Awesome, thank you!