openshift / must-gather

A client tool for gathering information about an operator managed component.
Apache License 2.0
104 stars 189 forks source link

NETOBSERV-987: Add must gather script for network observability #357

Closed msherif1234 closed 1 year ago

msherif1234 commented 1 year ago

New script to collect netobservability logs and enable it by default

oc adm must-gather

Testing with cluster-bot

1- Create must gather for network-observability

oc adm must-gather

2- Check the pods using omg tool

$ omg use must-gather.local.2028201061218736439/
Using:  /home/mmahmoud/data/test-noo-mg/must-gather.local.2028201061218736439/registry-build02-ci-openshift-org-ci-ln-tp5qw22-stable-sha256-da661034dc54b9943a1ce6c9b2abbb56c4ade39d1640ffe13a2f2a8e0867f7e0

$ omg get pods -n netobserv
NAME                               READY  STATUS   RESTARTS  AGE
flowlogs-pipeline-4f8t7            1/1    Running  0         6m53s
flowlogs-pipeline-7slt6            1/1    Running  0         6m53s
flowlogs-pipeline-dbgs4            1/1    Running  0         6m53s
flowlogs-pipeline-ncrzj            1/1    Running  0         6m53s
flowlogs-pipeline-p6n68            1/1    Running  0         6m53s
flowlogs-pipeline-qr554            1/1    Running  0         6m53s
netobserv-plugin-6f448c67d4-c4q4h  1/1    Running  0         6m54s
$ omg get pods -n netobserv-privileged
NAME                        READY  STATUS   RESTARTS  AGE
netobserv-ebpf-agent-2cljh  1/1    Running  0         6m55s
netobserv-ebpf-agent-2fm9j  1/1    Running  0         6m55s
netobserv-ebpf-agent-dsmgb  1/1    Running  0         6m55s
netobserv-ebpf-agent-vgstj  1/1    Running  0         6m55s
netobserv-ebpf-agent-vm7sq  1/1    Running  0         6m55s
netobserv-ebpf-agent-znr24  1/1    Running  0         6m55s
[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator
NAME                                           READY  STATUS   RESTARTS  AGE
netobserv-controller-manager-566fb67dff-2blh5  2/2    Running  0         7m28s

3- Checking the flow collector object

cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10
apiVersion: flows.netobserv.io/v1beta1
kind: FlowCollector
metadata:
  creationTimestamp: "2023-04-13T16:47:35Z"
  finalizers:
  - flows.netobserv.io/finalizer
  generation: 2
  managedFields:
  - apiVersion: flows.netobserv.io/v1beta1
    fieldsType: FieldsV1
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs, currently not enabled by default to collect noo logs using must-gather use >```shell >oc adm must-gather -- gather_network_observability >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather -- gather_network_observability >[must-gather ] OUT Using must-gather plug-in image: registry.build02.ci.openshift.org/ci-ln-r94mngb/stable@sha256:e5e88cdb2dbe4d3889c8fc546b284d0f364285927641268733569e770bf2bc1f >When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: >ClusterID: 085ec333-daeb-4cb5-bc17-48ad5fdcbd86 >ClusterVersion: Stable at "4.13.0-0.test-2023-04-13-154140-ci-ln-r94mngb-latest" >ClusterOperators: > All healthy and stable >Gathering data for ns/netobserv... >Wrote inspect data to must-gather. >Gathering data for ns/netobserv-privileged... >Wrote inspect data to must-gather. >Gathering data for ns/openshift-netobserv-operator... >Wrote inspect data to must-gather. >Wrote inspect data to must-gather. >``` >2- Check the pods using `omg` tool >```shell >[mmahmoud@mmahmoud test-noo-mg]$ omg use must-gather/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather -- gather_network_observability >[must-gather ] OUT Using must-gather plug-in image: registry.build02.ci.openshift.org/ci-ln-r94mngb/stable@sha256:e5e88cdb2dbe4d3889c8fc546b284d0f364285927641268733569e770bf2bc1f >When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: >ClusterID: 085ec333-daeb-4cb5-bc17-48ad5fdcbd86 >ClusterVersion: Stable at "4.13.0-0.test-2023-04-13-154140-ci-ln-r94mngb-latest" >ClusterOperators: > All healthy and stable >Gathering data for ns/netobserv... >Wrote inspect data to must-gather. >Gathering data for ns/netobserv-privileged... >Wrote inspect data to must-gather. >Gathering data for ns/openshift-netobserv-operator... >Wrote inspect data to must-gather. >Wrote inspect data to must-gather. >``` >2- Check the pods using `omg` tool >```shell >[mmahmoud@mmahmoud test-noo-mg]$ omg use must-gather/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >[must-gather ] OUT Using must-gather plug-in image: registry.build02.ci.openshift.org/ci-ln-r94mngb/stable@sha256:e5e88cdb2dbe4d3889c8fc546b284d0f364285927641268733569e770bf2bc1f >When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: >ClusterID: 085ec333-daeb-4cb5-bc17-48ad5fdcbd86 >ClusterVersion: Stable at "4.13.0-0.test-2023-04-13-154140-ci-ln-r94mngb-latest" >ClusterOperators: > All healthy and stable >Gathering data for ns/netobserv... >Wrote inspect data to must-gather. >Gathering data for ns/netobserv-privileged... >Wrote inspect data to must-gather. >Gathering data for ns/openshift-netobserv-operator... >Wrote inspect data to must-gather. >Wrote inspect data to must-gather. >``` >2- Check the pods using `omg` tool >```shell >[mmahmoud@mmahmoud test-noo-mg]$ omg use must-gather/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >[must-gather ] OUT Using must-gather plug-in image: registry.build02.ci.openshift.org/ci-ln-r94mngb/stable@sha256:e5e88cdb2dbe4d3889c8fc546b284d0f364285927641268733569e770bf2bc1f >When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: >ClusterID: 085ec333-daeb-4cb5-bc17-48ad5fdcbd86 >ClusterVersion: Stable at "4.13.0-0.test-2023-04-13-154140-ci-ln-r94mngb-latest" >ClusterOperators: > All healthy and stable >Gathering data for ns/netobserv... >Wrote inspect data to must-gather. >Gathering data for ns/netobserv-privileged... >Wrote inspect data to must-gather. >Gathering data for ns/openshift-netobserv-operator... >Wrote inspect data to must-gather. >Wrote inspect data to must-gather. >``` >2- Check the pods using `omg` tool >```shell >[mmahmoud@mmahmoud test-noo-mg]$ omg use must-gather/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >``` >2- Check the pods using `omg` tool >```shell >[mmahmoud@mmahmoud test-noo-mg]$ omg use must-gather/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >``` >2- Check the pods using `omg` tool >```shell >$ omg use must-gather.local.2028201061218736439/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather >$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-981 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >``` >2- Check the pods using `omg` tool >```shell >$ omg use must-gather.local.2028201061218736439/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather.local.2028201061218736439/registry-build02-ci-openshift-org-ci-ln-tp5qw22-stable-sha256-da661034dc54b9943a1ce6c9b2abbb56c4ade39d1640ffe13a2f2a8e0867f7e0 > >$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 1 year ago

@msherif1234: This pull request references NETOBSERV-987 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/357): >New script to collect netobservability logs and enable it by default >```shell >oc adm must-gather >``` > >Testing with cluster-bot >======================== >1- Create must gather for network-observability >```shell >oc adm must-gather >``` >2- Check the pods using `omg` tool >```shell >$ omg use must-gather.local.2028201061218736439/ >Using: /home/mmahmoud/data/test-noo-mg/must-gather.local.2028201061218736439/registry-build02-ci-openshift-org-ci-ln-tp5qw22-stable-sha256-da661034dc54b9943a1ce6c9b2abbb56c4ade39d1640ffe13a2f2a8e0867f7e0 > >$ omg get pods -n netobserv >NAME READY STATUS RESTARTS AGE >flowlogs-pipeline-4f8t7 1/1 Running 0 6m53s >flowlogs-pipeline-7slt6 1/1 Running 0 6m53s >flowlogs-pipeline-dbgs4 1/1 Running 0 6m53s >flowlogs-pipeline-ncrzj 1/1 Running 0 6m53s >flowlogs-pipeline-p6n68 1/1 Running 0 6m53s >flowlogs-pipeline-qr554 1/1 Running 0 6m53s >netobserv-plugin-6f448c67d4-c4q4h 1/1 Running 0 6m54s >$ omg get pods -n netobserv-privileged >NAME READY STATUS RESTARTS AGE >netobserv-ebpf-agent-2cljh 1/1 Running 0 6m55s >netobserv-ebpf-agent-2fm9j 1/1 Running 0 6m55s >netobserv-ebpf-agent-dsmgb 1/1 Running 0 6m55s >netobserv-ebpf-agent-vgstj 1/1 Running 0 6m55s >netobserv-ebpf-agent-vm7sq 1/1 Running 0 6m55s >netobserv-ebpf-agent-znr24 1/1 Running 0 6m55s >[mmahmoud@mmahmoud test-noo-mg]$ omg get pods -n openshift-netobserv-operator >NAME READY STATUS RESTARTS AGE >netobserv-controller-manager-566fb67dff-2blh5 2/2 Running 0 7m28s >``` >3- Checking the flow collector object >```shell >cat cluster-scoped-resources/flows.netobserv.io/flowcollectors/cluster.yaml | head -n 10 >apiVersion: flows.netobserv.io/v1beta1 >kind: FlowCollector >metadata: > creationTimestamp: "2023-04-13T16:47:35Z" > finalizers: > - flows.netobserv.io/finalizer > generation: 2 > managedFields: > - apiVersion: flows.netobserv.io/v1beta1 > fieldsType: FieldsV1 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
jotak commented 1 year ago

/lgtm

msherif1234 commented 1 year ago

/assign @davemulford

msherif1234 commented 1 year ago

/assign @RickJWagner

msherif1234 commented 1 year ago

/assign @sferich888

davemulford commented 1 year ago

Since this script is being proposed to be added to the default collection of gathered items, what does this add to the archive in terms of size? What's the size on a 20+ cluster node?

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak, msherif1234, RickJWagner

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: - ~~[collection-scripts/OWNERS](https://github.com/openshift/must-gather/blob/master/collection-scripts/OWNERS)~~ [RickJWagner] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
openshift-ci[bot] commented 1 year ago

@msherif1234: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).