Skip to content

Conversation

@kzys
Copy link
Contributor

@kzys kzys commented Apr 18, 2022

This PR shows the way to upgrade containerd/cgroups.

Why?

We have migrated from gogo/protobuf to Google's official protobuf package in containerd/containerd and containerd/cgroups, since gogo/protobuf was sadly deprecated by the authors.

Since hcsshim is embedding containerd/cgroups' proto-generated structs in its own stats structs, in order to upgrade containerd/cgroups, we have to use Google's protobuf package to generate the stats structs.

Do we really need to upgrade containerd/cgroups right now?

No. The migration PR has been merged after all bug fixes. In addition to that, we agreed to have a new branch for folks who cannot use Google's protobuf package at this time.

@kzys kzys force-pushed the cgroups-upgrade branch 5 times, most recently from a1c7dc6 to 9fa7d45 Compare April 18, 2022 18:09
@kzys kzys force-pushed the cgroups-upgrade branch 7 times, most recently from dc43d26 to 4db063a Compare October 28, 2022 23:13
@thaJeztah
Copy link
Contributor

Interesting; looks like a panic happening;

panic: runtime error: slice bounds out of range [:20] with length 18

@kzys kzys force-pushed the cgroups-upgrade branch 2 times, most recently from 03696da to 74a8353 Compare November 3, 2022 14:57
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
@kzys kzys changed the title Upgrade containerd/cgroups [RFC] Upgrade containerd/cgroups Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants