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

packages: Reintroduce kubernetes-cni package at v0.8.6 #1375

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

justaugustus
Copy link
Member

@justaugustus justaugustus commented Jun 23, 2020

What type of PR is this?

/kind regression

What this PR does / why we need it:

Release Managers have been thinking over a mitigation for this in https://kubernetes.slack.com/archives/C2C40FMNF/p1592480243361500 (public channel) and https://kubernetes.slack.com/archives/GKEA5EL67/p1592845895001700 (private channel - only accessible to Release Managers).

Following the Slack chat, Tim and I spoke at length about potential options.

  1. Repackage (Do not conflict kubernetes-cni package for RPMs #1367)

    Remove the Obsoletes: kubernetes-cni option (rpms) from the kubelet package.
    This keeps the CNI plugins bundled with the kubelet, but prevents the kubelet from obsoleting older kubernetes-cni packages, which has the unintended side-effect of requiring kubelet >= 1.18.4

    We would then repackage debs/rpms, bumping the revision numbers to 01 and 1, respectively.

  2. Reintroduce the kubernetes-cni package and repackage (this PR)

    An alternate approach, which is closer to what we had before is this PR.

    Here we:

    This should prevent the kubelet package from conflicting with other packages that happen to provide kubernetes-cni, as detailed in kubelet-1.18.4-0 cannot be installed alongside cri-o on fedora 32 #1371 bug report.

    We would then repackage debs/rpms, bumping the revision numbers to 01 and 1, respectively.

Signed-off-by: Stephen Augustus saugustus@vmware.com

/priority critical-urgent
/assign @tpepper @saschagrunert @cpanato @hasheddan
cc: @kubernetes/release-engineering

Which issue(s) this PR fixes:

Should address kubernetes/kubernetes#92242, #1371, kubernetes-sigs/image-builder#259.
Supersedes #1367.

Special notes for your reviewer:

WIP. Still need to add the RPM bits back.
Also, I'm explicitly leaving kubepkg as out-of-scope for this PR, since it's not currently in use and might slow down this PR.

Does this PR introduce a user-facing change?

packages: Reintroduce kubernetes-cni package at v0.8.6

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 23, 2020
@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jun 23, 2020
@k8s-ci-robot k8s-ci-robot added the kind/regression Categorizes issue or PR as related to a regression from a prior release. label Jun 23, 2020
@k8s-ci-robot k8s-ci-robot added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 23, 2020
@k8s-ci-robot k8s-ci-robot added area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 23, 2020
@justaugustus justaugustus changed the title [WIP] packages: Reintroduce kubernetes-cni package at v0.8.6 packages: Reintroduce kubernetes-cni package at v0.8.6 Jun 23, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 23, 2020
@justaugustus
Copy link
Member Author

/test all
/hold for review

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 23, 2020
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 23, 2020
@tpepper
Copy link
Member

tpepper commented Jun 23, 2020

Great description of options in the PR message.

A few additional points of clarity to note explicitly:

  • path Improve pre-release reporting dashboard #2 is the one be attempted here
  • selective revert of Bundle CNI plugins (v0.8.6) in kubelet deb/rpm packages #1309 and reintroduction of kubernetes-cni will specifically include removal from kubelet package spec all of the additions of all three of these:
    • Provides: kubernetes-cni
    • Conflicts: kubernetes-cni
    • Replaces: kubernetes-cni
  • A downside of this approach is it continues to have us serving a notably newer kubernetes-cni than the one tested and validated with prior releases. Using our repo for a simple yum/dnf install or upgrade will not give a consumer what they probably actually want if they're not specifying package name-version-release tuples explicitly. This has already always been the case and is a long term issue we're working to address.

Hopefully we don't trigger yet another surprising oddity in how the yum/dnf clients interact with our repo.

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, saschagrunert, tpepper

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

@justaugustus
Copy link
Member Author

Thanks for adding the additional context from our chats here, @tpepper!
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 23, 2020
@k8s-ci-robot k8s-ci-robot merged commit 5b86e68 into kubernetes:master Jun 23, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Jun 23, 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. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/regression Categorizes issue or PR as related to a regression from a prior release. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants