Skip to content

Comments

Use openshift/api instead of machine-api-operator#5350

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
kirankt:remove-mao-vendor
Nov 23, 2021
Merged

Use openshift/api instead of machine-api-operator#5350
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
kirankt:remove-mao-vendor

Conversation

@kirankt
Copy link
Contributor

@kirankt kirankt commented Nov 3, 2021

This PR is a follow up to #5331.

In the previous PR, references to machine-api-operator was left behind. This PR removes the last references to machine-api-operator in the installer code. Please note that the MAO is still vendored indirectly because other packages haven't moved to openshift/api yet.

e.g. https://github.com/openshift/cluster-api-provider-ovirt/blob/master/pkg/apis/ovirtprovider/v1beta1/register.go

@patrickdillon
Copy link
Contributor

/test e2e-vsphere

@patrickdillon
Copy link
Contributor

/retest

@kirankt kirankt changed the title Use openshift/api instead of machine-api-operator [WIP] Use openshift/api instead of machine-api-operator Nov 4, 2021
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 4, 2021
@kirankt
Copy link
Contributor Author

kirankt commented Nov 8, 2021

/retest

1 similar comment
@kirankt
Copy link
Contributor Author

kirankt commented Nov 9, 2021

/retest

Copy link
Contributor

@staebler staebler Nov 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an adequate replacement. The scheme from github.com/openshift/api/machine/v1beta1 does not include the provider specs [1]. If we want to use the types defined in openshift/api, then we will need to manual add the vSphere provider spec to the scheme.

[1] https://github.com/openshift/api/blob/be1be0e89115702f8b508d351c4f5c9a16e5ae95/machine/v1beta1/register.go#L34-L41

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I was aware of the CI failure and was looking for a solution for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the vspherespec into scheme.

Add vsphere spec into machineapi scheme
MAO vendored in due to alibaba deps
@kirankt
Copy link
Contributor Author

kirankt commented Nov 18, 2021

/test e2e-vsphere

@staebler
Copy link
Contributor

From the latest e2e-vsphere job,

level=info msg=Install complete!

/lgtm
/approve
/retitle Use openshift/api instead of machine-api-operator

@openshift-ci openshift-ci bot changed the title [WIP] Use openshift/api instead of machine-api-operator Use openshift/api instead of machine-api-operator Nov 22, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 22, 2021
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: staebler

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 22, 2021
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

8 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 22, 2021

@kirankt: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-workers-rhel8 51c121e link false /test e2e-aws-workers-rhel8
ci/prow/e2e-ovirt 51c121e link false /test e2e-ovirt
ci/prow/e2e-aws-workers-rhel7 51c121e link false /test e2e-aws-workers-rhel7
ci/prow/e2e-aws-fips 51c121e link false /test e2e-aws-fips
ci/prow/e2e-aws-single-node 51c121e link false /test e2e-aws-single-node
ci/prow/e2e-crc 51c121e link false /test e2e-crc
ci/prow/e2e-vsphere 51c121e link false /test e2e-vsphere

Full PR test history. Your PR dashboard.

Details

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.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

5 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 11bfe56 into openshift:master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants