Skip to content

CORENET-5412: network: Gather OVN-Kubernetes CUDN CRs #486

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ormergi
Copy link

@ormergi ormergi commented Apr 14, 2025

The ClusterUserDefinedNetwork (CUDN) is cluster-scoped, installed by cluster-network-operator [1].

Creating CUDN CR result with a NetworkAttachmentDefinition (NAD) CR being created according to the CUDN CR 'spec.network', in each selected namespaces according to the CUDN CR 'spec.namespaceSelector'.

Collect CUDN CRs.

Having CUDN CRs collected enable troubleshooting OVN-Kubernetes user-defined networks in case of miss-configurations or env issues. The

[1] https://github.com/openshift/cluster-network-operator

Copy link
Contributor

openshift-ci bot commented Apr 14, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ormergi
Once this PR has been reviewed and has the lgtm label, please assign sferich888 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@ormergi ormergi changed the title network: Gather OVN-Kubernetes UDN CRs CORENET-5412: network: Gather OVN-Kubernetes UDN CRs Apr 14, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 14, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 14, 2025

@ormergi: This pull request references CORENET-5412 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.19.0" version, but no target version was set.

In response to this:

The ClusterUserDefinedNetwork (CUDN) is cluster-scoped. The UserDefinedNetwork (UDN) is namespace-scoped.
Both CRDs are installed by cluster-network-operator [1].

Creating CUDN CR result with a NetworkAttachmentDefinition (NAD) CR being created according to the CUDN CR 'spec.network', in each selected namespaces according to the CUDN CR 'spec.namespaceSelector'. Creating UDN CR result in NAD CR being created at the same namespaces as the UDN CR resides according to its spec.

Collect CUDN and UDN CRs.

Having CUDN and UDN CRs collected enable troubleshooting OVN-Kubernetes user-defined networks in case of miss-configurations or env issues. The

[1] https://github.com/openshift/cluster-network-operator

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.

@@ -141,6 +141,8 @@ gather_scale_data

if [[ "${NETWORK_TYPE}" == "ovnkubernetes" ]]; then
oc adm inspect ${log_collection_args} --dest-dir must-gather egressips.k8s.ovn.org
oc adm inspect ${log_collection_args} --dest-dir must-gather clusteruserdefinednetworks.k8s.ovn.org
oc adm inspect ${log_collection_args} --dest-dir must-gather userdefinednetworks.k8s.ovn.org --all-namespaces
Copy link
Contributor

Choose a reason for hiding this comment

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

remove udns since its tenant data and then rest lgtm

Copy link
Author

Choose a reason for hiding this comment

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

Done

@ormergi ormergi force-pushed the gather-ovn-k-udn-crs branch from 7c16524 to da9145c Compare April 16, 2025 18:01
@ormergi ormergi changed the title CORENET-5412: network: Gather OVN-Kubernetes UDN CRs CORENET-5412: network: Gather OVN-Kubernetes CUDN CRs Apr 16, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 16, 2025

@ormergi: This pull request references CORENET-5412 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.19.0" version, but no target version was set.

In response to this:

The ClusterUserDefinedNetwork (CUDN) is cluster-scoped, installed by cluster-network-operator [1].

Creating CUDN CR result with a NetworkAttachmentDefinition (NAD) CR being created according to the CUDN CR 'spec.network', in each selected namespaces according to the CUDN CR 'spec.namespaceSelector'.

Collect CUDN CRs.

Having CUDN CRs collected enable troubleshooting OVN-Kubernetes user-defined networks in case of miss-configurations or env issues. The

[1] https://github.com/openshift/cluster-network-operator

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.

The ClusterUserDefinedNetwork (CUDN) is cluster-scoped, installed by
cluster-network-operator [1].

Creating CUDN CR result with a NetworkAttachmentDefinition (NAD) CR
being created according to the CUDN CR 'spec.network', in each selected
namespaces according to the CUDN CR 'spec.namespaceSelector'.

Collect CUDN CRs.

Having CUDN CRs collected enable troubleshooting OVN-Kubernetes
user-defined networks in case of miss-configurations or env issues.
The

[1] https://github.com/openshift/cluster-network-operator

Signed-off-by: Or Mergi <[email protected]>
@ormergi ormergi force-pushed the gather-ovn-k-udn-crs branch from da9145c to c3a1521 Compare April 16, 2025 18:03
Copy link
Contributor

openshift-ci bot commented May 22, 2025

@ormergi: 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants