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

sync master branch with upstream #5

Merged
merged 65 commits into from
Mar 12, 2024

Conversation

cruizen
Copy link

@cruizen cruizen commented Feb 29, 2024

No description provided.

yulng and others added 30 commits March 1, 2023 19:10
Signed-off-by: yulng <[email protected]>
Upgrade gopkg.in/yaml.v2 prior to v2.2.4. Currently this outdated version is indirectly references as follows:

github.com/stretchr/testify requires gopkg.in/yaml.v2 v2.2.2

github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 requires gitub.com/stretchr/testify v1.5.1, and is required by a number of packages.

To upgrade from yaml <v2.2.4, ginkgo must be migrated to v2.

Additionally, bump the versions of the following to remove indirect dependencies on outdated version of ginkgo, gomega, and slim-sprig:

github.com/onsi/gomega
github.com/containernetworking/cni
github.com/containernetworking/plugins

Signed-off-by: Salvatore Daniele <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
bump golang version to 1.20
add codeql workflow similarly to other
projects in k8snetworkplumbingwg org

Signed-off-by: adrianc <[email protected]>
make didn't work without it.

Signed-off-by: Jiri Prokes <[email protected]>
Bump golangci-lint in Makefile as well
This change updates "Go test" step in buildtest.yml to include the '-race' flag, enabling race detection in the CI during testing.
 
Signed-off-by: Alina Sudakov <[email protected]>
update multus configuration reference link in README
Signed-off-by: Sebastian Sch <[email protected]>
use make lint in the github actions
This commit add a retry function for all the mac address allocation
functions.
this is needed because some of the drivers have async mac allocation
or get a device or resouce busy errors until the vf device is fully
configured on the system so instead of failing the CNI we just wait
100 miliseconds

Signed-off-by: Sebastian Sch <[email protected]>
- Fix issue in pushing images to master/release
  with multi-arch build
- Bump action versions

Signed-off-by: adrianc <[email protected]>
Add both hardware and nic mac allocation retry
This allows users to set the allmulticast mode for a VF.

Signed-off-by: Marcelo Guerrero <[email protected]>
This parameter is only used in a check that is not valid
because only a single interface name is used by the plugin.
Additionally, the func GetVFLinkNames was renamed to
GetVFLinkName to reflect that a single name is returned.

Signed-off-by: Marcelo Guerrero <[email protected]>
Add support for allmulticast flag
mlguerrero12 and others added 24 commits October 3, 2023 16:33
This allows users to set the vlan protocol.

Signed-off-by: Marcelo Guerrero <[email protected]>
- Add check to not allow non default values of qos and proto
  when vlan is zero.
- Remove check when vlan is zero and qos and proto are not in
  config since default values are now set.

Signed-off-by: Marcelo Guerrero <[email protected]>
Provide a way to choose the container engine with IMAGE_BUILDER var.

Signed-off-by: Andreas Karis <[email protected]>
Signed-off-by: Andreas Karis <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.17.0.
- [Commits](golang/net@v0.8.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…es/golang.org/x/net-0.17.0

Bump golang.org/x/net from 0.8.0 to 0.17.0
Setting the MAC address at the end of SetupVF reduces
the chances of race conditions with tools that set MAC
address asynchronously (i.e. iavf).

This commit solve an issue with i40e driver where calling
`SetVFEffectiveMAC` after `SetVFHardwareMAC` may produce
a VF with no connectivity even if the last configuration step
didn't produce any error:

```
+ ip link set dev ens1f0 vf 0 mac 20:04:0f:f1:88:A1   # No error
+ ip link set dev temp_71 address 20:04:0f:f1:88:A1   # Transient error
RTNETLINK answers: Resource temporarily unavailable
+ ip link set dev temp_71 address 20:04:0f:f1:88:A1   # No error
```

Note: this seems to be a kernel driver regression introduced near
torvalds/linux@c34743d

Signed-off-by: Andrea Panattoni <[email protected]>
Set MAC address after renaming the interface
- remove "latest" image tage from docker meta
- remove use of IMAGE_NAME in manifest creation as
  docker meta tag is the full image name

Signed-off-by: adrianc <[email protected]>
set correct platform

Signed-off-by: adrianc <[email protected]>
fix platform in image push release workflow
Add a Github Action lane to trigger the SRIOV Network
Operator tests. This allows to verify if PR changes break
any working scenario.

Signed-off-by: Andrea Panattoni <[email protected]>
Container image might be used as `initcontainers` in kubernetes Pods. In
such scenarios, it's important for the image entrypoint to exits once the
copy logic is completed. Otherwise, the pod would stuck in a `PodInitializing`
phase.

Add Makefile rule `image-test` to check the integrity of the entrypoint.sh script.

https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
Signed-off-by: Andrea Panattoni <[email protected]>
Optionally avoid sleeping in `entrypoint.sh`
Signed-off-by: killianmuldoon <[email protected]>
@cruizen cruizen merged commit eaf1833 into platform9:master Mar 12, 2024
4 of 5 checks passed
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.