-
Notifications
You must be signed in to change notification settings - Fork 1.5k
types/libvirt: remove per-machine-pool configuration #812
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
Conversation
|
/retest |
|
/test e2e-aws |
1 similar comment
|
/test e2e-aws |
But we need to control these. I think it's a libvirt cluster-API provider bug that these settings are not net a part of the libvirt cluster-API machine config. |
@wking I could not find any current or proposed work to implement these features in either JIRA or the openshift/cluster-api-provider-libvirt repo. That leads me to believe that this will not be done prior to an OpenShift 4.0 release. I would rather remove the options from the install config than have to document somewhere that the options will not actually do anything. It is easy enough to add the options back in later if we do end up supporting them. As an aside, do you know what the use case is for configuring the name of the storage pool and storage volume? |
None of the options, other than Image, that were in the Libvirt MachinePool were being used. They have been removed. The Image has been pulled up to the Libvirt Platform, as there was no way to use a different image for different machines pools. For consistency with the AWS and OpenStack platforms, the Libvirt MachinePool has been retained, even though it is empty. The DefaultMachinePlatform has been retained in the Libvirt Platform as well. The code in the Master Machines and Worker Machines assets that determines the configuration to use for the machines has been adjusted for Libvirt to rectify the machine-pool-specific configuration against the default machine-pool configuration. This is not strictly necessary as, again, the Libvirt configuration is empty. It keeps the logic consistent with the other platforms, though. https://jira.coreos.com/browse/CORS-911
The installer should be able to use storage pools other than And the installer should be able to use per-machine-pool images to support folks who want to run different RHCOS (or other images entirely) in different pools (like you can with AMIs for AWS pools). The image choice should be a machine-pool setting, I don't have good motivation for But I agree with you that we can always add these back once the provider supports them. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crawford, staebler 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 |
/retest |
|
/close Carried in #1052 |
|
@wking: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
None of the options, other than Image, that were in the Libvirt MachinePool were being used.
They have been removed. The Image has been pulled up to the Libvirt Platform, as there was no
way to use a different image for different machines pools.
For consistency with the AWS and OpenStack platforms, the Libvirt MachinePool has been retained,
event though it is empty. The DefaultMachinePlatform has been retained in the Libvirt Platform
as well.
The code in the Master Machines and Worker Machines assets that determines the configuration
to use for the machines has been adjusted for Libvirt to rectify the machine-pool-specific
configuration against the default machine-pool configuration. This is not strictly necessary
as, again, the Libvirt configuration is empty. It keeps the logic consistent with the other
platforms, though.
https://jira.coreos.com/browse/CORS-911