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

Remove support for CoreOS Container Linux (EOL) #6576

Conversation

@bmelbourne
Copy link
Contributor

@bmelbourne bmelbourne commented Aug 22, 2020

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
As of May 26, 2020, CoreOS Container Linux reached its end of life and will no longer receive updates.

https://coreos.com/os/eol/

https://cloud.google.com/compute/docs/eol/coreOS

Fedora CoreOS is the official successor to CoreOS Container Linux.

Fedora CoreOS is a new Fedora Edition built specifically for running containerized workloads securely and at scale.

Which issue(s) this PR fixes:

Special notes for your reviewer:
PR changes tested using the following Flatcar Container Linux by Kinvolk stable, beta, alpha and edge versions.

  • 2512.3.0
  • 2513.3.0
  • 2605.0.0
  • 2466.99.0

Does this PR introduce a user-facing change?:

Remove support for CoreOS Container Linux (EOL)
@k8s-ci-robot
Copy link
Contributor

@k8s-ci-robot k8s-ci-robot commented Aug 22, 2020

Hi @bmelbourne. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 24, 2020

/assign @Atoms

@floryut
Copy link
Member

@floryut floryut commented Aug 27, 2020

@bmelbourne Could you please cleanup your git history, kind of a mess right now 😄

@Miouge1
Copy link
Member

@Miouge1 Miouge1 commented Aug 27, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

@k8s-ci-robot k8s-ci-robot commented Aug 27, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bmelbourne, Miouge1

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

@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 27, 2020

@bmelbourne Could you please cleanup your git history, kind of a mess right now 😄

@floryut
Can you provide a recommendation as I've been asked to rebase with the master before the PR will be reviewed and now this appears to be the incorrect approach. I'm getting confused and frustrated by whats been happening recently.

I've generally worked on submitting PRs (within DevOps/Dev teams) which get reviewed and approved, and then merge/conflicts are resolved pror to the PR closure.

I didn't rebase on my first few PRs and that was the incorrect approach then, hence the confusion now.

Would this be the correct approach?

$ git checkout master
$ git fetch upstream
$ git rebase upstream/master
$ git push origin master
$ git checkout set-docker-cgroup-driver-systemd
$ git pull origin master
@floryut
Copy link
Member

@floryut floryut commented Aug 27, 2020

@bmelbourne Could you please cleanup your git history, kind of a mess right now 😄

@floryut
Can you provide a recommendation as I've been asked to rebase with the master before the PR will be reviewed and now this appears to be the incorrect approach. I'm getting confused and frustrated by whats been happening recently.

I've generally worked on submitting PRs (within DevOps/Dev teams) which get reviewed and approved, and then merge/conflicts are resolved pror to the PR closure.

I didn't rebase on my first few PRs and that was the incorrect approach then, hence the confusion now.

Would this be the correct approach?

$ git checkout master
$ git fetch upstream
$ git rebase upstream/master
$ git push origin master
$ git checkout set-docker-cgroup-driver-systemd
$ git pull origin master

Well that's kind of correct, but indeed before opening a PR I tried to switch to master, fetch spray, then reset --hard my master branch (well not needed but never sure if I push some commits or not) and then checkout -b from it 😄

If you are on your branch already and you have a conflict, fetch spray then rebase spray/master is enough.

As you did a pull with merge instead of a rebase, commits ID changed to preserve your history and so we see changes that won't be applied and commit that will be ignored, not an issue but not really great.

@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 27, 2020

@bmelbourne Could you please cleanup your git history, kind of a mess right now 😄

@floryut
Can you provide a recommendation as I've been asked to rebase with the master before the PR will be reviewed and now this appears to be the incorrect approach. I'm getting confused and frustrated by whats been happening recently.
I've generally worked on submitting PRs (within DevOps/Dev teams) which get reviewed and approved, and then merge/conflicts are resolved pror to the PR closure.
I didn't rebase on my first few PRs and that was the incorrect approach then, hence the confusion now.
Would this be the correct approach?

$ git checkout master
$ git fetch upstream
$ git rebase upstream/master
$ git push origin master
$ git checkout set-docker-cgroup-driver-systemd
$ git pull origin master

Well that's kind of correct, but indeed before opening a PR I tried to switch to master, fetch spray, then reset --hard my master branch (well not needed but never sure if I push some commits or not) and then checkout -b from it 😄

If you are on your branch already and you have a conflict, fetch spray then rebase spray/master is enough.

As you did a pull with merge instead of a rebase, commits ID changed to preserve your history and so we see changes that won't be applied and commit that will be ignored, not an issue but not really great.

@floryut
Just to be clear, this was incorrect...

$ git pull --rebase upstream master

What I should be doing if I need to bring my local branch up to date with the upstream master is...

$ git fetch upstream master
$ git rebase upstream/master
<resolve any merge conflicts if necessary>
$ git push
@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 27, 2020

@bmelbourne Could you please cleanup your git history, kind of a mess right now 😄

@floryut
Can you provide a recommendation as I've been asked to rebase with the master before the PR will be reviewed and now this appears to be the incorrect approach. I'm getting confused and frustrated by whats been happening recently.
I've generally worked on submitting PRs (within DevOps/Dev teams) which get reviewed and approved, and then merge/conflicts are resolved pror to the PR closure.
I didn't rebase on my first few PRs and that was the incorrect approach then, hence the confusion now.
Would this be the correct approach?

$ git checkout master
$ git fetch upstream
$ git rebase upstream/master
$ git push origin master
$ git checkout set-docker-cgroup-driver-systemd
$ git pull origin master

Well that's kind of correct, but indeed before opening a PR I tried to switch to master, fetch spray, then reset --hard my master branch (well not needed but never sure if I push some commits or not) and then checkout -b from it 😄
If you are on your branch already and you have a conflict, fetch spray then rebase spray/master is enough.
As you did a pull with merge instead of a rebase, commits ID changed to preserve your history and so we see changes that won't be applied and commit that will be ignored, not an issue but not really great.

@floryut
Just to be clear, this was incorrect...

$ git pull --rebase upstream master

What I should be doing if I need to bring my local branch up to date with the upstream master is...

$ git fetch upstream master
$ git rebase upstream/master
<resolve any merge conflicts if necessary>
$ git push

@floryut
I forgot to ask...what approach would you recommend to clean-up the git history?

In my local branch associated with the PR...

$ git rebase -i

and then squash all commits except for the earliest commit e.g. a1855ec which is the first one I originally created with the PR?

@floryut
Copy link
Member

@floryut floryut commented Aug 27, 2020

In this case ? Yes what I would do, hard reset the branch with master from spray, cherry pick then squash commits 👍

@bmelbourne bmelbourne force-pushed the bmelbourne:remove-eol-coreos-container-linux branch from 3b1ef77 to 2348808 Aug 27, 2020
@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 27, 2020

In this case ? Yes what I would do, hard reset the branch with master from spray, cherry pick then squash commits 👍

Ok I've done the following...

$ git fetch origin master
$ git reset --hard origin/HEAD
<overwrite with my changes only>
$ git commit -am "..."
$ git push --force

And the git history of my 4 outstanding PRs are looking much better now.

Can you take a quick look?

@floryut
Copy link
Member

@floryut floryut commented Aug 27, 2020

In this case ? Yes what I would do, hard reset the branch with master from spray, cherry pick then squash commits 👍

Ok I've done the following...

$ git fetch origin master
$ git reset --hard origin/HEAD
<overwrite with my changes only>
$ git commit -am "..."
$ git push --force

And the git history of my 4 outstanding PRs are looking much better now.

Can you take a quick look?

That's way better :) thanks man

@floryut
Copy link
Member

@floryut floryut commented Aug 28, 2020

Good job with this one, just to be sure

      {%- elif ansible_os_family in ["Coreos", "Container Linux by CoreOS", "Flatcar", "Flatcar Container Linux by Kinvolk"] -%}
      {%- elif ansible_os_family in ["Flatcar Container Linux by Kinvolk"] -%}

ansible_is_family doesn't need "Flatcar" ? only "Flatcar Container Linux by Kinvolk" is returned ? (for all versions/use case etc..)

@bmelbourne
Copy link
Contributor Author

@bmelbourne bmelbourne commented Aug 28, 2020

Good job with this one, just to be sure

      {%- elif ansible_os_family in ["Coreos", "Container Linux by CoreOS", "Flatcar", "Flatcar Container Linux by Kinvolk"] -%}
      {%- elif ansible_os_family in ["Flatcar Container Linux by Kinvolk"] -%}

ansible_is_family doesn't need "Flatcar" ? only "Flatcar Container Linux by Kinvolk" is returned ? (for all versions/use case etc..)

@floryut
Correct, I tested the latest stable, beta, alpha and edge versions of Flatcar virtualbox boxes.

There might be older versions where ansible_os_family returns a different string but it'll be impossible to cover all these combinations. If any users encounter this scenario then they'll have to use an earlier version of kubespray until they can upgrade to the latest version of Flatcar. This would be the same situation for any component which is upgraded or end-of-life.

@floryut
Copy link
Member

@floryut floryut commented Aug 28, 2020

Agreed with you no real point to cover every older versions
/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 058438a into kubernetes-sigs:master Aug 28, 2020
42 checks passed
42 checks passed
Kubespray CI - ansible-lint Build Succeeded
Details
Kubespray CI - ci-matrix Build Succeeded
Details
Kubespray CI - markdownlint Build Succeeded
Details
Kubespray CI - molecule_tests Build Succeeded
Details
Kubespray CI - packet_centos7-calico-ha-once-localhost Build Succeeded
Details
Kubespray CI - packet_centos7-crio Build Succeeded
Details
Kubespray CI - packet_centos7-flannel-containerd-addons-ha Build Succeeded
Details
Kubespray CI - packet_centos7-weave-upgrade-ha Build Succeeded
Details
Kubespray CI - packet_centos8-calico Build Succeeded
Details
Kubespray CI - packet_centos8-kube-ovn Build Succeeded
Details
Kubespray CI - packet_debian10-containerd Build Succeeded
Details
Kubespray CI - packet_debian9-calico-upgrade Build Succeeded
Details
Kubespray CI - packet_debian9-calico-upgrade-once Build Succeeded
Details
Kubespray CI - packet_fedora31-flannel Build Succeeded
Details
Kubespray CI - packet_fedora32-kube-ovn-containerd Build Succeeded
Details
Kubespray CI - packet_fedora32-weave Build Succeeded
Details
Kubespray CI - packet_opensuse-canal Build Succeeded
Details
Kubespray CI - packet_ubuntu16-canal-kubeadm-ha Build Succeeded
Details
Kubespray CI - packet_ubuntu18-calico-aio Build Succeeded
Details
Kubespray CI - packet_ubuntu18-calico-ha-recover Build Succeeded
Details
Kubespray CI - packet_ubuntu18-calico-ha-recover-noquorum Build Succeeded
Details
Kubespray CI - packet_ubuntu18-ovn4nfv Build Succeeded
Details
Kubespray CI - packet_ubuntu20-calico-aio Build Succeeded
Details
Kubespray CI - shellcheck Build Succeeded
Details
Kubespray CI - syntax-check Build Succeeded
Details
Kubespray CI - tf-elastx_cleanup Build Succeeded
Details
Kubespray CI - tf-elastx_ubuntu18-calico Build Succeeded
Details
Kubespray CI - tf-ovh_cleanup Build Succeeded
Details
Kubespray CI - tf-ovh_ubuntu18-calico Build Succeeded
Details
Kubespray CI - tf-validate-aws Build Succeeded
Details
Kubespray CI - tf-validate-openstack Build Succeeded
Details
Kubespray CI - tf-validate-packet Build Succeeded
Details
Kubespray CI - tox-inventory-builder Build Succeeded
Details
Kubespray CI - vagrant-validate Build Succeeded
Details
Kubespray CI - vagrant_ubuntu18-flannel Build Succeeded
Details
Kubespray CI - vagrant_ubuntu20-flannel Build Succeeded
Details
Kubespray CI - yamllint Build Succeeded
Details
Kubespray CI Pipeline Pipeline Succeeded
Details
cla/linuxfoundation bmelbourne authorized
Details
kubespray-ci/pipeline Pipeline Succeeded
Details
pull-kubespray-yamllint Job succeeded.
Details
tide In merge pool.
Details
@bmelbourne bmelbourne deleted the bmelbourne:remove-eol-coreos-container-linux branch Aug 28, 2020
@bmelbourne bmelbourne mentioned this pull request Aug 31, 2020
6 of 6 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.