-
Notifications
You must be signed in to change notification settings - Fork 38
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
OSASINFRA-3690 OSASINFRA-3691: Add OpenStack CAPI-MAPI translation layer #188
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
/cc @damdo |
4086ad5
to
7410a66
Compare
@stephenfin #173 is now merged with some minor tweaks from the original implementation. You might want to take a look there so we can also track OpenStack translation :) |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
7410a66
to
93f5369
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
08236e6
to
2c5af46
Compare
ee49b17
to
f927e55
Compare
f927e55
to
c10d4a8
Compare
/remove-lifecycle stale |
I finished a first pass and couldn't spot anything blocking, thanks for this huge work. |
New changes are detected. LGTM label has been removed. |
dc0b2a5
to
5edbcb0
Compare
The MAPI providers have deprecated fields that we still need to be concerned with during conversion. Ignoring staticcheck errors for all of these is a pain so set it globally instead. Signed-off-by: Stephen Finucane <[email protected]>
We have them. Use them. While here, also correct some doc strings. Signed-off-by: Stephen Finucane <[email protected]>
Otherwise we can attempt to retrieve the Spec field from a nil object. Signed-off-by: Stephen Finucane <[email protected]>
Use consistent terminology to highlight things that are AWS-specific and avoid conflicts with other platforms. Signed-off-by: Stephen Finucane <[email protected]>
We want these testutils module for OpenStack testing. go get github.com/openshift/cluster-api-actuator-pkg/testutils@latest go mod vendor go mod tidy Signed-off-by: Stephen Finucane <[email protected]>
This is common code. It shouldn't be in the AWS-specific file. Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
We also replace the use of some hardcoded version attributes with the library-provided versions. This should ease our lives if/when we bump the API versions. Signed-off-by: Stephen Finucane <[email protected]>
Once again, we replace the use of some hardcoded version attributes with the library-provided versions. Signed-off-by: Stephen Finucane <[email protected]>
This is helpful during debugging and shouldn't be too chatty. We also fix the capitalisation of some existing logs to make them a little more consistent. Signed-off-by: Stephen Finucane <[email protected]>
These are complete. Time to integrate them with the Machine and MachineSet sync controllers. Signed-off-by: Stephen Finucane <[email protected]>
d6f38d3
to
23f3477
Compare
@JoelSpeed Addressed all comments bar one that I don't understand. |
@stephenfin: This pull request references OSASINFRA-3690 which is a valid jira issue. This pull request references OSASINFRA-3691 which is a valid jira issue. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@stephenfin: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
This is the OpenStack implementation for the MAPI <-> CAPI translation added in #173. It is similar to #233, which added IBM PowerVS (IBM Cloud) support recently.
The PR includes:
There are also a few additional cleanup patches includes. Where possible, these are kept in separate commits to avoid confusion.