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

bump crio version to 1.19 #6758

Merged
merged 2 commits into from
Oct 13, 2020
Merged

Conversation

hafe
Copy link
Contributor

@hafe hafe commented Sep 27, 2020

note that crio upgrade does not work, see #6757

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test

/kind feature

/kind flake

What this PR does / why we need it:

Use latest crio aligned with k8 version.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 27, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @hafe. 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.

@k8s-ci-robot k8s-ci-robot requested review from bozzo and EppO September 27, 2020 18:13
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 27, 2020
@floryut
Copy link
Member

floryut commented Sep 28, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 28, 2020
@@ -24,8 +24,9 @@ crio_stream_port: "10010"
crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"

crio_kubernetes_version_matrix:
"1.19": "1.19"
"1.18": "1.18"
"1.17": "1.17"
"1.16": "1.16"
Copy link
Member

Choose a reason for hiding this comment

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

You can remove this line, 1.16 should not be needed anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry missed that, will do, probably 1.17 also right?

Copy link
Member

Choose a reason for hiding this comment

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

Yes not sure as we are in quite a weird state, still supporting 1.17 while at the same time not supporting it for future 2.15 :/

Copy link
Member

Choose a reason for hiding this comment

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

(I would keep it for now)

@floryut
Copy link
Member

floryut commented Sep 28, 2020

failed: [ubuntu1804] (item=cri-o-1.19) => {"ansible_loop_var": "item", "attempts": 4, "changed": false, "item": "cri-o-1.19", "msg": "No package matching 'cri-o-1.19' is available"}

Looks like ubuntu18 is not quite ready for that, maybe pin a specific version (lower) for it ?

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 29, 2020
@hafe
Copy link
Contributor Author

hafe commented Sep 29, 2020

failed: [ubuntu1804] (item=cri-o-1.19) => {"ansible_loop_var": "item", "attempts": 4, "changed": false, "item": "cri-o-1.19", "msg": "No package matching 'cri-o-1.19' is available"}

Looks like ubuntu18 is not quite ready for that, maybe pin a specific version (lower) for it ?

Turned out the package name had changed! That will affect upgrades...
Official crio docs for install now seems to be working

@floryut
Copy link
Member

floryut commented Sep 29, 2020

failed: [ubuntu1804] (item=cri-o-1.19) => {"ansible_loop_var": "item", "attempts": 4, "changed": false, "item": "cri-o-1.19", "msg": "No package matching 'cri-o-1.19' is available"}

Looks like ubuntu18 is not quite ready for that, maybe pin a specific version (lower) for it ?

Turned out the package name had changed! That will affect upgrades...
Official crio docs for install now seems to be working

Oh, nice

@k8s-ci-robot k8s-ci-robot 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 29, 2020
@hafe
Copy link
Contributor Author

hafe commented Sep 29, 2020

Great so now fedora is failing when Ubuntu made it ☹️

@hafe
Copy link
Contributor Author

hafe commented Sep 29, 2020

I skipped Fedora since I have no clue how it works

Copy link
Contributor

@oomichi oomichi left a comment

Choose a reason for hiding this comment

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

/cc @oomichi

"1.18": "1.18"
"1.17": "1.17"

crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.17') }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to add # NOTE: Need to specify 1.17 for fedora instead of the default 1.19 due to test failure or something because it is a little tricky to specify different version here from the default one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok will do

* crio package name has changed for debian/ubuntu
* crio upgrade does not work, see kubernetes-sigs#6757
@oomichi
Copy link
Contributor

oomichi commented Sep 30, 2020

Thanks for updating.

/lgtm

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

floryut commented Oct 9, 2020

@hafe Looks good to me, could you update the README as cri-o version is specified there ?

@hafe
Copy link
Contributor Author

hafe commented Oct 9, 2020

@hafe Looks good to me, could you update the README as cri-o version is specified there ?

Sure

@hafe
Copy link
Contributor Author

hafe commented Oct 9, 2020

There is also docs/crio.md that need some updates. It says scale is not supported, why would that be?
Update I have in the pipe

@floryut
Copy link
Member

floryut commented Oct 9, 2020

There is also docs/crio.md that need some updates. It says scale is not supported, why would that be?
Update I have in the pipe

Indeed, but those comments are 2years old so it might (should) need some update.
Could be done in another PR anyway, no rush to do it here, up to you.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 9, 2020
@EppO
Copy link
Contributor

EppO commented Oct 10, 2020

/lgtm

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hafe, woopstar

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 13, 2020
@k8s-ci-robot k8s-ci-robot merged commit 4781df5 into kubernetes-sigs:master Oct 13, 2020
erulabs added a commit to kubesail/kubespray that referenced this pull request Oct 14, 2020
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jan 12, 2021
* bump crio version to 1.19

* crio package name has changed for debian/ubuntu
* crio upgrade does not work, see kubernetes-sigs#6757

* update crio info in docs
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jan 16, 2021
* bump crio version to 1.19

* crio package name has changed for debian/ubuntu
* crio upgrade does not work, see kubernetes-sigs#6757

* update crio info in docs
k8s-ci-robot pushed a commit that referenced this pull request Jan 26, 2021
* cherry-pick bump crio version to 1.19 (#6758)

cherry-pick modifications:
* keep default to 1.17 as release 2.14 came with
* don't change readme with newer versions

* bump crio version to 1.19

* crio package name has changed for debian/ubuntu
* crio upgrade does not work, see #6757

* update crio info in docs

* Install cri-o with package version (#6853)

and thereby support upgrade from e.g. 1.18.x to 1.19.y

Included OSes:
- Centos7/8
- Ubuntu18/20

New variables for overriding by default installed packages:
- centos_crio_packages
- ubuntu_crio_packages

* add support crio version for varios k8s vers (#7003)

* add support crio version for various k8s vers

* regexp in pkg versions

Co-authored-by: Hans Feldt <2808287+hafe@users.noreply.github.com>
Co-authored-by: Sergey <s.bondarev@southbridge.ru>
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

6 participants