Skip to content

Conversation

jotak
Copy link
Member

@jotak jotak commented Dec 10, 2024

I've only been able to test through unit tests, not in live (I have issues deploying the CLI which I must investigate )

Copy link

New image:
quay.io/netobserv/network-observability-cli:95f3c17

It will expire after two weeks.

To use this build, update your commands using:

USER=netobserv VERSION=95f3c17 make commands

or download the updated commands.

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.70%. Comparing base (09e656b) to head (e8475ec).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   23.53%   23.70%   +0.17%     
==========================================
  Files          11       11              
  Lines        1330     1333       +3     
==========================================
+ Hits          313      316       +3     
  Misses       1000     1000              
  Partials       17       17              
Flag Coverage Δ
unittests 23.70% <100.00%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cmd/map_format.go 25.77% <100.00%> (+0.49%) ⬆️

@msherif1234
Copy link
Contributor

/lgtm
as discussed offline will be good to share this code between cli and console

@openshift-ci openshift-ci bot added the lgtm label Dec 10, 2024
@msherif1234 msherif1234 changed the title network events to string NETOBSERV-2009: network events to string Dec 10, 2024
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Dec 10, 2024

@jotak: This pull request references NETOBSERV-2009 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 bug to target the "4.19.0" version, but no target version was set.

In response to this:

I've only been able to test through unit tests, not in live (I have issues deploying the CLI which I must investigate )

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.

@memodi
Copy link
Member

memodi commented Dec 10, 2024

@jotak @msherif1234 I still don't see network events with the CLI image in this PR:

image

for same flows I am able to see network events in console:
image

@msherif1234 - does running cli as CLI ./oc-netobserv flows --enable_network_events sets collector in privileged mode and enable NetworkEvents feature?

@jotak
Copy link
Member Author

jotak commented Dec 11, 2024

@memodi it's not --enable_network_events but --enable_network_events=true (I got trapped with the same!)
Anyway even with that currently I still don't see events ... :-/
trying to figure out why

Copy link

New image:
quay.io/netobserv/network-observability-cli:eea11bd

It will expire after two weeks.

To use this build, update your commands using:

USER=netobserv VERSION=eea11bd make commands

or download the updated commands.

@jotak
Copy link
Member Author

jotak commented Feb 13, 2025

For info I'll have to update this PR again after a change in ovnk-lib . Not a breaking change, but will improve how many dependencies are pulled. Needs a bump in agent too: netobserv/netobserv-ebpf-agent#564

@jpinsonneau
Copy link
Contributor

Work as expected. Feel free to merge before or after the lib update 😉

Thanks @jotak
Screenshot From 2025-02-14 10-58-27

Copy link

New image:
quay.io/netobserv/network-observability-cli:4ac4561

It will expire after two weeks.

To use this build, update your commands using:

USER=netobserv VERSION=4ac4561 make commands

or download the updated commands.

Copy link
Member

@memodi memodi left a comment

Choose a reason for hiding this comment

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

image

thanks @jotak , feel free to merge after rebase.

/label qe-approved

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Feb 27, 2025

@jotak: This pull request references NETOBSERV-2009 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 bug to target the "4.19.0" version, but no target version was set.

In response to this:

I've only been able to test through unit tests, not in live (I have issues deploying the CLI which I must investigate )

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.

@jotak jotak force-pushed the netevents-to-string branch from e8475ec to b7eb9a0 Compare February 28, 2025 12:04
@openshift-ci openshift-ci bot removed the lgtm label Feb 28, 2025
Copy link

openshift-ci bot commented Feb 28, 2025

New changes are detected. LGTM label has been removed.

@jotak
Copy link
Member Author

jotak commented Feb 28, 2025

/approve

Copy link

openshift-ci bot commented Feb 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak

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

@jotak jotak merged commit 51e6676 into netobserv:main Feb 28, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants