Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

chore: update azurecni to 1.2.7 #4319

Merged
merged 2 commits into from
Mar 12, 2021

Conversation

jsturtevant
Copy link
Contributor

Reason for Change:

fixes issue with azure cni when passing acl policies with containerd: https://github.com/Azure/azure-container-networking/releases/tag/v1.2.7

Issue Fixed:

#3833

Credit Where Due:

Does this change contain code from or inspired by another project?

  • No
  • Yes

If "Yes," did you notify that project's maintainers and provide attribution?

  • No
  • Yes

Requirements:

Notes:

@jsturtevant
Copy link
Contributor Author

/cc @AbelHu @mainred

@jsturtevant
Copy link
Contributor Author

@jackfrancis fyi on azurecni version update

@codecov
Copy link

codecov bot commented Mar 9, 2021

Codecov Report

Merging #4319 (d4cb651) into master (b1d9c09) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4319   +/-   ##
=======================================
  Coverage   72.05%   72.06%           
=======================================
  Files         141      141           
  Lines       21632    21634    +2     
=======================================
+ Hits        15588    15590    +2     
  Misses       5093     5093           
  Partials      951      951           
Impacted Files Coverage Δ
pkg/api/defaults-apiserver.go 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b1d9c09...d4cb651. Read the comment docs.

@jsturtevant
Copy link
Contributor Author

tests failed because I forgot to generate the signed package. That is now in process

"https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.0_hotfix/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.0_hotfix.zip",
"https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.2/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.2.zip"
"https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.2/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.2.zip",
"https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.2/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.7.zip"
Copy link
Member

Choose a reason for hiding this comment

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

azure-cni/v1.2.2/binaries
=>
azure-cni/v1.2.7/binaries

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm really surprised the VHD builds for windows didn't fail because of this.

Copy link
Member

Choose a reason for hiding this comment

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

do you mean the E2E tests should have failed because of what 1.2.7 fixes?

Copy link
Contributor

@marosset marosset Mar 10, 2021

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I would have expected this to fail during the VHD build

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, looks like this might be a regression that got introduced when we switched to using curl.exe.

curl -L https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.2/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.7.zip
<?xml version="1.0" encoding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified blob does not exist.
RequestId:786d8a4f-601e-00df-2d04-168166000000
Time:2021-03-10T23:26:09.4129514Z</Message></Error>
C:\Users\marosset>echo %errorlevel%
0

curl.exe is returning success here...

Copy link
Member

@AbelHu AbelHu Mar 11, 2021

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like curl doesn't exit non zero on 404s and others: https://superuser.com/a/657174

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea, it looks like if you pass -f it'll exit 22 for 404s.
Let me update this and other usage to check $LASTEXITCODE and error.

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
@jsturtevant
Copy link
Contributor Author

The package is now published https://kubernetesartifacts.azureedge.net/azure-cni/v1.2.7/binaries/azure-vnet-cni-singletenancy-windows-amd64-v1.2.7.zip

Copy link
Contributor

@marosset marosset left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot
Copy link

acs-bot commented Mar 12, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsturtevant, marosset

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:
  • OWNERS [jsturtevant,marosset]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants