-
Notifications
You must be signed in to change notification settings - Fork 69
cbo should be enabled on other platforms to support ZTP #189
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
cbo should be enabled on other platforms to support ZTP #189
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asalkeld 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 |
|
few comments:
|
|
I'm not sure if this is the right approach tbh - it means that in theory any UPI deployment can enable metal3 deployments, right? Also as @romfreiman says we're not sure if this will be sufficient, as we know there have been requests to run the metal3 components on openstack (and vsphere IIRC). It's tricky - on the one hand we want to enable flexibility so folks can "opt in" to CBO and thus metal3 components on platforms other than We're past FF at this point, so I'd suggest we have some more detailed discussion in an enhancement proposal, so we can clarify these details before executing the plan for the next dev cycle? |
3c25bf5 to
e8ee0b7
Compare
|
/retest |
9a14f78 to
fc18ab8
Compare
|
Do these changes also include disabling metal3 when the Topology is "External"? https://github.com/openshift/enhancements/pull/871/files#diff-7fe1b077c80e38c1b2725c8fcd5cf98a3049943033fa28a25e51cdd4b22a427cR93 |
@sadasu Yes, they do now. |
fc18ab8 to
da8b35c
Compare
|
/hold cancel |
|
/retest |
|
/uncc |
| } | ||
| // Temporarily not requeuing request | ||
| return ctrl.Result{}, nil | ||
| // Always re-validate the provisioning configuration is valid. |
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.
Good point.
|
IsEnabled() could return false if the Platform or the Topology are unsupported. So, could we modify da8b35c#diff-7ad72d08a06fe28b03a15c84289b815f693443562d0c67e6f461c7e3f5ee0707R467 to reflect that? |
| } | ||
| } | ||
|
|
||
| func EnabledFeatures(ctx context.Context, osClient osclientset.Interface) (v1alpha1.EnabledFeatures, error) { |
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.
Both these methods are reading the same resources. Even though they are read from the cache, we could make it more efficient by setting EnabledFeatures while determining if this is a supported platform.
| ReleaseVersion: releaseVersion, | ||
| ImagesFilename: imagesJSONFilename, | ||
| WebHookEnabled: enableWebhook, | ||
| EnabledFeatures: enabledFeatures, |
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 determine enabledFeatures while calling IsEnabled() in SetupWithManager().
- ZTP uses provisioningNetwork=Disabled so allow this and nothing else on these platforms to reduce support/testing load. - Make sure we are disabled when infra.Status.ControlPlaneTopology == osconfigv1.ExternalTopologyMode
da8b35c to
ad1fc24
Compare
|
/retest |
1 similar comment
|
/retest |
|
/lgtm |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
6 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/cc @sadasu
enhancement is now merged.