Skip to content
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

baremetal: populate TypeMeta for baremetal provider config #3907

Merged
merged 1 commit into from Jul 17, 2020

Conversation

stbenjam
Copy link
Member

Currently, we're not setting Kind or APIVersion in the baremetal
provider config, which is causing problems when recent code added to the
installer tries to unmarshal these resources.

Fixes #3906

@stbenjam
Copy link
Member Author

/label platform/baremetal

@openshift-ci-robot openshift-ci-robot added the platform/baremetal IPI bare metal hosts platform label Jul 16, 2020
@stbenjam
Copy link
Member Author

/test golint

@zaneb
Copy link
Member

zaneb commented Jul 16, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2020
@stbenjam
Copy link
Member Author

CI is cranky today

/test images

@cybertron
Copy link
Member

/test e2e-metal-ipi

Timeout mirroring images.

@cybertron
Copy link
Member

This is still failing for me locally:

failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": unmarshal master 0: no kind "BareMetalMachineProviderSpec" is registered for version "baremetalproviderconfig.openshift.io/v1alpha1" in scheme "github.com/openshift/installer/pkg/asset/machines/master.go:459"

Currently, we're not setting Kind or APIVersion in the baremetal
provider config, which is causing problems when recent code added to the
installer tries to unmarshal these resources.
o
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2020
@stbenjam
Copy link
Member Author

stbenjam commented Jul 16, 2020

This is still failing for me locally:

failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": unmarshal master 0: no kind "BareMetalMachineProviderSpec" is registered for version "baremetalproviderconfig.openshift.io/v1alpha1" in scheme "github.com/openshift/installer/pkg/asset/machines/master.go:459"

Different error though, looks like I had the wrong group version.

I guess it's baremetal.cluster.k8s.io/v1alpha1. Updated, thanks for trying it out!

@cybertron
Copy link
Member

/lgtm

Deployment is still running, but this at least got me past where it failed before.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2020
@stbenjam
Copy link
Member Author

/test images

@stbenjam
Copy link
Member Author

/approve

I doubt I can do this, but the bots did ask me for approval!

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 16, 2020
@stbenjam
Copy link
Member Author

Oh I can. Thanks bots!

@stbenjam
Copy link
Member Author

/test e2e-aws-upgrade

1 similar comment
@stbenjam
Copy link
Member Author

/test e2e-aws-upgrade

@openshift-bot
Copy link
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit 30682e7 into openshift:master Jul 17, 2020
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. platform/baremetal IPI bare metal hosts platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Baremetal platform broken by Platform Quota check
6 participants