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

Upgrade Buildroot to 2020.02 LTS #7904

Closed
afbjorklund opened this issue Apr 25, 2020 · 12 comments · Fixed by #8187 or #9329
Closed

Upgrade Buildroot to 2020.02 LTS #7904

afbjorklund opened this issue Apr 25, 2020 · 12 comments · Fixed by #8187 or #9329
Assignees
Labels
area/guest-vm General configuration issues with the minikube guest VM kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@afbjorklund
Copy link
Collaborator

afbjorklund commented Apr 25, 2020

The current release is nearing EOL. We should upgrade to the next LTS.

Notice that the 2019.02.x series is now end of life unless somebody
steps up to take over maintenance. Please migrate to the 2020.02 series
instead which will be supported until April 2021.

"Buildroot 2020.02 released"
http://lists.busybox.net/pipermail/buildroot/2020-March/276231.html

"Buildroot 2019.02.11 released, 2019.02.x is EOL"
http://lists.busybox.net/pipermail/buildroot/2020-April/279523.html

This will feature upgrade Linux to 5.4 (4.19) and systemd to 244 (240)

Also upgrades Binutils to 2.32 (2.30) and GCC to 8.4.0 (7.5.0)
and the system Go compiler is bumped from 1.11.13 to 1.13.14

Also need to upgrade VirtualBox, to get guest additions support for Linux 5.4

@afbjorklund afbjorklund added the area/guest-vm General configuration issues with the minikube guest VM label Apr 25, 2020
@afbjorklund afbjorklund added this to the v1.11.0 milestone Apr 25, 2020
@afbjorklund afbjorklund self-assigned this Apr 25, 2020
@afbjorklund afbjorklund added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 25, 2020
@tstromberg tstromberg added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Apr 26, 2020
@afbjorklund
Copy link
Collaborator Author

The original CoreOS (Container Linux) is also reaching EOL, on May 26, 2020.

See http://coreos.com/os/eol/

So we might look at Fedora CoreOS for inspiration, or we might continue on our own.

The current ISO was changed from Boot2Docker-based to Buildroot-based, in 2016.

See #571 #692 (commit f0b7abf)

Now that we don't support rkt anymore, we could look at rearranging some things...

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented May 11, 2020

One thing we could do is to downgrade the glibc toolchain headers, to be more compatible:

-BR2_TOOLCHAIN_HEADERS_AT_LEAST="5.4"
+BR2_TOOLCHAIN_HEADERS_AT_LEAST="3.10"
BR2_LINUX_KERNEL_VERSION="5.4.40"

This is so that we can start looking into running the ISO image also as a KIC image... #6942

docker import - minikube < output/images/rootfs.tar

FATAL: kernel too old

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented May 22, 2020

One thing we should do is to downgrade the glibc toolchain headers, to be more compatible:

This is so that we can start looking into running the ISO image also as a KIC image... #6942

Out of scope for the 1.11 release, and not certain that we should use the same defconfig

So work on making an image for KIC will be in that other issue, this will be only about the VM.

@afbjorklund
Copy link
Collaborator Author

The new ISO seems to be more sensitive to dockerd vs containerd timing: #8203

@medyagh medyagh modified the milestones: v1.11.0 May28, v.1.12.0, v.1.12.0-previous candidate (dumpster fire) May 26, 2020
@Conan-Kudo
Copy link

So we might look at Fedora CoreOS for inspiration, or we might continue on our own.

I'd love to see a Fedora CoreOS based system. 😄

@afbjorklund
Copy link
Collaborator Author

I'd love to see a Fedora CoreOS based system. 😄

There is already CRC for that, so need to describe what features you are missing from CoreOS.
Currently I think the only user-visible feature is the toolbox, but there could be others as well.

The Ignition is more of a hassle than a feature, and it's not likely to move to snapshot upgrades.
It's also several times bigger, so there needs to some upside to motivate resource requirements.

I have yet failed to use Fedora CoreOS, and am more likely to use regular Fedora distribution...
But if we make an ISO version based on Ubuntu, it is possible to make one based on Fedora.

It's for a completely different issue than this one though, we talked about it in the KIC context.
But basically: if you would like to use Fedora CoreOS then you should be looking at OpenShift.

@Conan-Kudo
Copy link

Well, I'd be okay with a traditional Fedora system, too. I just assumed that FCOS would be the only way you'd do a Fedora base.

That said, why do you think Fedora CoreOS is tied to OpenShift? It's specifically generally usable for any container workload...

@afbjorklund afbjorklund added this to the v1.12.0-candidate milestone Jun 5, 2020
@afbjorklund afbjorklund linked a pull request Jun 7, 2020 that will close this issue
@afbjorklund afbjorklund added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Jun 7, 2020
@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Jun 7, 2020

Well, I'd be okay with a traditional Fedora system, too. I just assumed that FCOS would be the only way you'd do a Fedora base.

That said, why do you think Fedora CoreOS is tied to OpenShift? It's specifically generally usable for any container workload...

Basically Fedora CoreOS was made for OpenShift 4, even if maybe not completely tied to it.
That means it works out-of-the-box with OKD and CRC, but not at all with minikube (or minishift).

And regular Fedora isn't ideal for running Kubernetes, after they moved to Cgroups V2 "early"
But I suppose it could be used as an alternative "kicbase" image, if one really wanted to do it.

Will keep this issue about Buildroot.

And whatever CoreOS remains in it...

@Conan-Kudo
Copy link

And regular Fedora isn't ideal for running Kubernetes, after they moved to Cgroups V2 "early"
But I suppose it could be used as an alternative "kicbase" image, if one really wanted to do it.

With Kubernetes 1.19, cgroup v2 is fully supported though... That said, you could just make minikube switch back to cgroup v1 for Fedora.

@afbjorklund
Copy link
Collaborator Author

I think I will leave both Fedora CoreOS and Fedora to other issues, this was just "CoreOS".
As in the current design of the Buildroot ISO, as opposed to the previous Tiny Core Linux ISO.

Most likely we will just gradually fade out any remaining "coreos", like we did earlier with "rkt".
The OS version upgrade will be plenty for 1.12, without any additional changes to the content.

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Jul 6, 2020

Reverted 1.18.1

@medyagh
Copy link
Member

medyagh commented Sep 16, 2020

we still like to do this, we love to see this land in v1.14.0

This was referenced Sep 27, 2020
@medyagh medyagh modified the milestones: v1.14.0, v1.15.0-candidate Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/guest-vm General configuration issues with the minikube guest VM kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants