-
Notifications
You must be signed in to change notification settings - Fork 533
Enable Baremetal on other Platforms to support centralized host management #871
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
Enable Baremetal on other Platforms to support centralized host management #871
Conversation
|
thanks for the great feedback @mhrivnak and @dhellmann , I have updated as requested |
|
what is the overhead of the baremetal operator on these additional platforms when baremetalhost is not used? |
|
@asalkeld probably worth mentioning that the when the Provisioning CR is set to Disabled mode, workers nodes would be booted via virtual media. This removes the requirement for the Provisioning Network which can be expected to be available only in Baremetal platform types. We should also mention that in platforms other than Baremetal, centralized machine management (via MAO) would not be available so users would not be able to scale up Baremetal Machinesets. With the cluster-api based machine management expected to come later, we would be able to provide that (and leave a placeholder for the enhancement proposal for that.) Nit: We can remove "MPINSTALL-7" for the title. |
Sure, I'll add that.
I think the point is to only enable what we need and nothing else.
See the Non-Goals section, I have it there.
🤷 it was suggested in the template.. |
dhellmann
left a comment
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.
what is the overhead of the baremetal operator on these additional platforms when baremetalhost is not used?
We still need an answer to Derek's question. I think there's no additional overhead when the baremetal-operator is not enabled, because cluster-baremetal-operator always runs (see the question inline about cluster profiles, though). So, we would expect users to accept whatever overhead is introduced by enabling the service, but perhaps we need to give them some idea of what that overhead is.
@derekwaynecarr if cbo gets asked to create bmo, but there are no BMHost CRs then I assume it's just the memory overhead. imagecache daemonset bmo deployment |
flaper87
left a comment
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 this proposal and I've needed this myself recently as part of an investigation I'm doing for a valid customer use case.
| #### Functional Testing | ||
|
|
||
| An e2e test will be written in the Assisted Installer CI that will: | ||
| 1. create one of the platforms above (SNO Platform=None might be the easiest) with Assisted Service. |
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.
+1
I have deployed this exact same scenario (with a custom-built 4.8 image and the original PR that sparked this enhancement).
| 1. create one of the platforms above (SNO Platform=None might be the easiest) with Assisted Service. | ||
| 2. confirm that CBO is enabled | ||
| 3. create a Provisioning CR and confirm that BMO is running | ||
| 4. provision a baremetal cluster |
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.
No need to wait for the full cluster to be deployed. Waiting for the agent's discovery phase to be over should be enough proof. This is assuming assisted will be used for this test.
Regardless, enabling CBO and BMO in an SNO node is a good, easy-enough, test
|
/approve Overall this looks good to me, couple of minor comments added if you do any further updates, thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hardys The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
thanks @hardys , I have updated with the tweaks.. |
zaneb
left a comment
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 seems very thorough.
/lgtm
| The specific goals of this proposal are to: | ||
|
|
||
| Support the centralized host management use case by partially enabling Baremetal Host API | ||
| on the following on-premise platforms: |
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.
nit: it's on-premises. There's no singular form of 'premises'.
cluster-baremetal-operator is only enabled when deploying an OpenShift cluster with the baremetal
platform (via the IPI or AI workflow). Having the ability to manage baremetal nodes from
clusters without requiring the cluster to be on baremetal would be beneficial to customers.
openshift/cluster-baremetal-operator#189 (comment)
/cc @hardys