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

CNF-12007: d/s Merge 20240801 #977

Merged
merged 27 commits into from
Aug 4, 2024

Conversation

zeeke
Copy link
Contributor

@zeeke zeeke commented Aug 1, 2024

This sync merge includes the upstream vendor folder removal, re-added in 1c79708

supersedes:

cc @SchSeba

tobiasgiese and others added 25 commits July 19, 2024 17:01
We have to verify only the VF range we have specified.
If not we will expect VFs to have certain values that have not been synced by the controller.
…depolicy-test

e2e: fix e2e test for the sriovnetworknodepolicy
Switched to Go modules for dependency management. This simplifies our workflow and reduces repo size.

Signed-off-by: Tobias Giese <tgiese@nvidia.com>
Co-authored-by: Soule BA <souleb@nvidia.com>
Co-authored-by: killianmuldoon <kmuldoon@nvidia.com>
We have issue with GOPATH if no HOME env is set.
To fix this we want to make the current directory as our new home.

Signed-off-by: Tobias Giese <tgiese@nvidia.com>
Co-authored-by: Andrea Panattoni <apanatto@redhat.com>
Signed-off-by: Tobias Giese <tgiese@nvidia.com>
The feature gate controls state of the
manage software bridge feature.
This feature is disabled by default.

Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
Signed-off-by: Tobias Giese <tgiese@nvidia.com>
Co-authored-by: Andrea Panattoni <apanatto@redhat.com>
…roller-part

[software-bridges 4/x] Controller part
With the GH dark theme 40% of the image is not readable.
Setting the images background to white fixes this issue.

Signed-off-by: Tobias Giese <tgiese@nvidia.com>
Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
switch sriov module to use the new interface

Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
new package incapsulates the guid config file validation,
guid pool implementation and host manipulations to set IB VF GUIDs
Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
Signed-off-by: amaslennikov <amaslennikov@nvidia.com>
Configure IB VFs' GUIDs using a statically provided GUID pool
Package `github.com/prometheus-operator/prometheus-operator/pkg/client`
can be used for testing purpose.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
Deploy the needed configuration to make the prometheus
operator to find and scrape the sriov-network-metrics-exporter
endpoints, including the ServiceMonitor, Role and RoleBinding.

Resources are installed only if the Prometheus operator is installed.

When useing `ServiceMonitors`, Prometheus Operator needs permissions
to read Services,Endpoint and Pods in the monitored namespace (i.e. the SRIOV
operator ns).

Make the ServiceAccount subject configurable via environment variables.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
[metrics 2/x] Configure Prometheus Operator
Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 1, 2024
@zeeke zeeke changed the title Sync 20240801 CNF-12007: d/s Merge 20240801 Aug 1, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 1, 2024

@zeeke: This pull request references CNF-12007 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.

In response to this:

This sync merge includes the upstream vendor folder removal, re-added in 1c79708

supersedes:

cc @SchSeba

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 1, 2024
@SchSeba
Copy link
Contributor

SchSeba commented Aug 1, 2024

please run the make bundle and also add the new env variables for the metrics in the csv

OpenShift CI forces `GOFLAGS="-mod=vendor"`, which causes

```
GOFLAGS=-mod=vendor make controller-gen
Downloading sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0
go: sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0: cannot query module due to -mod=vendor
make: *** [Makefile:158: controller-gen] Error 1
```

Clear the environment variable for the scope of the tool installation (`go install ... `command).

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
Update ClusterServiceVersion with the new permissions and environment variables.

Add `operatorframework.io/cluster-monitoring: true` annotation to make the operator
namespace be watched by the monitoring stack, when installing via web console.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
@zeeke
Copy link
Contributor Author

zeeke commented Aug 1, 2024

/retest

@zeeke
Copy link
Contributor Author

zeeke commented Aug 1, 2024

/test ?

Copy link
Contributor

openshift-ci bot commented Aug 1, 2024

@zeeke: The following commands are available to trigger required jobs:

  • /test api
  • /test ci-index-sriov-network-operator-bundle
  • /test controllers
  • /test gofmt
  • /test images
  • /test operator-e2e
  • /test pkg

The following commands are available to trigger optional jobs:

  • /test e2e-openstack-nfv
  • /test e2e-openstack-nfv-hwoffload
  • /test e2e-telco5g-cnftests
  • /test security

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-sriov-network-operator-master-api
  • pull-ci-openshift-sriov-network-operator-master-ci-index-sriov-network-operator-bundle
  • pull-ci-openshift-sriov-network-operator-master-controllers
  • pull-ci-openshift-sriov-network-operator-master-e2e-openstack-nfv
  • pull-ci-openshift-sriov-network-operator-master-e2e-openstack-nfv-hwoffload
  • pull-ci-openshift-sriov-network-operator-master-gofmt
  • pull-ci-openshift-sriov-network-operator-master-images
  • pull-ci-openshift-sriov-network-operator-master-operator-e2e
  • pull-ci-openshift-sriov-network-operator-master-pkg
  • pull-ci-openshift-sriov-network-operator-master-security

In response to this:

/test ?

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-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Aug 1, 2024

@zeeke: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@SchSeba
Copy link
Contributor

SchSeba commented Aug 4, 2024

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 4, 2024
Copy link
Contributor

openshift-ci bot commented Aug 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SchSeba, zeeke

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

@openshift-merge-bot openshift-merge-bot bot merged commit 17523b7 into openshift:master Aug 4, 2024
10 of 11 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: sriov-network-config-daemon
This PR has been included in build sriov-network-config-daemon-container-v4.18.0-202408040813.p0.g17523b7.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: sriov-network-webhook
This PR has been included in build sriov-network-webhook-container-v4.18.0-202408040813.p0.g17523b7.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: sriov-network-operator
This PR has been included in build sriov-network-operator-container-v4.18.0-202408050515.p0.g17523b7.assembly.stream.el9.
All builds following this will include this PR.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants