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

Fix NPE when migrating to containerd #1499

Merged
merged 2 commits into from
Sep 7, 2021

Conversation

xmudrii
Copy link
Member

@xmudrii xmudrii commented Sep 6, 2021

What this PR does / why we need it:

Migrating to containerd using kubeone migrate to-containerd throws an NPE when trying to install the machine-controller addon. This is because we try to access the CCM migration status when deploying MC, but it's unavailable because we don't run probes and therefore we don't have the LiveCluster object.

Does this PR introduce a user-facing change?:

Fix NPE when migrating to containerd

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 6, 2021
@kubermatic-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kubermatic-bot kubermatic-bot added the dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. label Sep 6, 2021
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xmudrii

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

@kubermatic-bot kubermatic-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 6, 2021
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@kubermatic-bot kubermatic-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 7, 2021
@xmudrii xmudrii marked this pull request as ready for review September 7, 2021 08:39
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 7, 2021
@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2021
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 4105715705098b887e59a5563e3ce3616d7954fa

@xmudrii xmudrii added this to the KubeOne 1.3 milestone Sep 7, 2021
@xmudrii
Copy link
Member Author

xmudrii commented Sep 7, 2021

/retest

@kubermatic-bot kubermatic-bot merged commit 21939ef into master Sep 7, 2021
@kubermatic-bot kubermatic-bot deleted the fix-containerd-migrate-npe branch September 7, 2021 09:26
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. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-blocker release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants