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

v1.9 backports 2021-11-30 #18070

Merged
merged 2 commits into from
Dec 2, 2021

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Nov 30, 2021

Once this PR is merged, you can update the PR labels via:

$ for pr in 18017 18059; do contrib/backporting/set-labels.py $pr done 1.9; done

[ upstream commit 4758bef ]

in doc, it recommends docker pull image, but the command is :
  docker pull cilium/cilium:|IMAGE_TAG|

this will download from docker.io
However, in operator, it loads images from quay.io
we should keep them the same, otherwise, we download for nothing.

[ Backport note: Skip files
    - test/provision/manifest/1.20/coredns_deployment.yaml
    - test/provision/manifest/1.20/eks/coredns_deployment.yaml
    - test/provision/manifest/1.21/coredns_deployment.yaml
    - test/provision/manifest/1.21/eks/coredns_deployment.yaml
    - test/provision/manifest/1.22/coredns_deployment.yaml
    - test/provision/manifest/1.22/eks/coredns_deployment.yaml
  as none of them are present on v1.9. ]

Signed-off-by: adamzhoul <adamzhoul186@gmail.com>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet requested a review from a team as a code owner November 30, 2021 17:48
@qmonnet qmonnet requested review from brb and tklauser November 30, 2021 17:48
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.9 kind/backports This PR provides functionality previously merged into master. labels Nov 30, 2021
@qmonnet
Copy link
Member Author

qmonnet commented Nov 30, 2021

/test-backport-1.9

Job 'Cilium-PR-K8s-1.18-kernel-4.19' hit: #17617 (94.19% similarity)

Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

LGTM, for my change.

Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

My changes LGTM, thanks.

@joestringer
Copy link
Member

Failures are likely caused by the backport of #18018, see #18086 .

[ upstream commit e38e3c4 ]

Commit 8bcc4e5 ("bugtool: avoid allocation on conversion of
execCommand result to string") broke the `ip route show` commands
because the change from `[]byte` to `string` causes the `%v` formatting
verb to emit the raw byte slice, not the string. Fix this by using the
`%s` formatting verb to make sure the argument gets interpreted as a
string.

Also fix another instance in `writeCmdToFile` where `fmt.Fprint` is now
invoked with a byte slice.

Grepping for `%v` in bugtool sources and manually inspecting all changes
from commit 8bcc4e5 showed no other instances where a byte slice
could potentially end up being formatted in a wrong way.

Fixes: 8bcc4e5 ("bugtool: avoid allocation on conversion of execCommand result to string")

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet
Copy link
Member Author

qmonnet commented Dec 2, 2021

I removed the related backport from the current PR.

@qmonnet
Copy link
Member Author

qmonnet commented Dec 2, 2021

/test-backport-1.9

@qmonnet
Copy link
Member Author

qmonnet commented Dec 2, 2021

GKE still broken on 1.9, the other two tests failed because VirtualboxManager failed to launch the VMs. I'll re-trigger.

@qmonnet
Copy link
Member Author

qmonnet commented Dec 2, 2021

/test-1.12-netnext

@qmonnet
Copy link
Member Author

qmonnet commented Dec 2, 2021

/test-1.17-5.4

@nathanjsweet
Copy link
Member

/test-gke

@nathanjsweet
Copy link
Member

Currently gke is blocked by #17797 not being merged. Going to merge.

@nathanjsweet nathanjsweet merged commit 33b9e70 into cilium:v1.9 Dec 2, 2021
@qmonnet qmonnet deleted the pr/v1.9-backport-2021-11-30 branch December 2, 2021 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants