-
Notifications
You must be signed in to change notification settings - Fork 56
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
Drop volumes full paths #144
Drop volumes full paths #144
Conversation
Hmm.. i see a bunch of issues. I'll fix them! |
b784ca5
to
4c15371
Compare
Volume should be identified by their names and their paths should be left to their container pools. This change is needed to allow for custom storage locations. This is the needed update in Installer for the actual change in the libvirt actuator: openshift/cluster-api-provider-libvirt#144
The e2e tests won't work I think cause this requires a small change in Installer as well: openshift/installer#1628 |
4c15371
to
4bad91d
Compare
Actually I made the changes backwards compat so existing API should work and hence e2e tests should succeed now. I'll check tomorrow why that's not the case. |
050ec1d
to
412ef21
Compare
/retest |
Repeating error:
Fixing with #147 |
/approve no objections here, just waiting until CI goes green |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e |
The path of the storage volume is and should be determined by the containing storage pool and hence we should not associate and assume the path of the volume. Without this change, it is not possible for user to specify alternative location for storage volumes to Openshift Installer. This will also require a change in the Openshift Installer as that still passess the volume path instead of name to the actuator. Based on a patch from Enxebre <[email protected]>.
412ef21
to
920d098
Compare
@zeenix: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
/test e2e |
@zeenix is the change compatible with the installer? Anything else left to do before the PR merges? |
I'm assuming this needs to merge first per the comments in openshift/installer#1628 (comment) |
/lgtm |
I did my best to ensure that it is but I failed to test it since it turns out it's not easy to make Installer launch the cluster with custom-built actuator. |
Indeed. Thanks for the review and merge. |
The path of the storage volume is and should be determined by the containing storage pool and hence we should not associate and assume the path of the volume.
Without this change, it is not possible for user to specify alternative location for storage volumes to Openshift Installer.
WARNING:
This will also require a change in the Openshift Installer as that still passess the volume path instead of name to the actuator.
I've not testing this yet, only built successfully.
This is a revision/rebase of #45