openshift / must-gather

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

SDN-3687: Support gathering DBs for OVNK-Interconnect mode #370

Closed tssurya closed 1 year ago

tssurya commented 1 year ago

We are adding support for IC in 4.14. See https://issues.redhat.com/browse/SDN-3733 for more details.

This commit ensures we have support for gathering logs from both modes. We will remove the legacy version in future a.k.a gather_ovn_kubernetes_data_legacy_mode will just be deleted

drwxr-xr-x 2 surya surya 9.5M Jul 17 18:03 ovnk_database_store
-rw-r--r-- 1 surya surya 1.6M Jul 17 18:03 ovnk_database_store.tar.gz
[surya@hidden-temple network_logs]$ cd ovnk_database_store/
[surya@hidden-temple ovnk_database_store]$ ls -ltrh
total 9.5M
-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-ssh2b_sbdb
-rw-r--r-- 1 surya surya 483K Jul 17 18:03 ovnkube-node-ssh2b_nbdb
-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-s4597_sbdb
-rw-r--r-- 1 surya surya 508K Jul 17 18:03 ovnkube-node-s4597_nbdb
-rw-r--r-- 1 surya surya 1.1M Jul 17 18:03 ovnkube-node-r5srt_sbdb
-rw-r--r-- 1 surya surya 336K Jul 17 18:03 ovnkube-node-r5srt_nbdb
-rw-r--r-- 1 surya surya 868K Jul 17 18:03 ovnkube-node-qz4sq_sbdb
-rw-r--r-- 1 surya surya 272K Jul 17 18:03 ovnkube-node-qz4sq_nbdb
-rw-r--r-- 1 surya surya 1.5M Jul 17 18:03 ovnkube-node-8d8qp_sbdb
-rw-r--r-- 1 surya surya 554K Jul 17 18:03 ovnkube-node-8d8qp_nbdb
-rw-r--r-- 1 surya surya 979K Jul 17 18:03 ovnkube-node-564lr_sbdb
-rw-r--r-- 1 surya surya 314K Jul 17 18:03 ovnkube-node-564lr_nbdb
[surya@hidden-temple ovnk_database_store]$
[must-gather-lptfw] POD 2023-07-17T16:03:39.805624440Z INFO: INTERCONNECT MODE
[must-gather-lptfw] POD 2023-07-17T16:03:39.805624440Z INFO: Gathering ovn-kubernetes DBs
[must-gather-lptfw] POD 2023-07-17T16:03:39.923969317Z INFO: Gathering OVN_Northbound from ovnkube-node-564lr...
[must-gather-lptfw] POD 2023-07-17T16:03:39.924174701Z INFO: Gathering OVN_Northbound from ovnkube-node-8d8qp...
[must-gather-lptfw] POD 2023-07-17T16:03:39.924422506Z INFO: Gathering OVN_Northbound from ovnkube-node-qz4sq...
[must-gather-lptfw] POD 2023-07-17T16:03:39.924655881Z INFO: Gathering OVN_Northbound from ovnkube-node-r5srt...
[must-gather-lptfw] POD 2023-07-17T16:03:39.924895985Z INFO: Gathering OVN_Northbound from ovnkube-node-s4597...
[must-gather-lptfw] POD 2023-07-17T16:03:39.925120700Z INFO: Gathering OVN_Northbound from ovnkube-node-ssh2b...
[must-gather-lptfw] POD 2023-07-17T16:03:39.925373585Z INFO: Gathering OVN_Southbound from ovnkube-node-564lr...
[must-gather-lptfw] POD 2023-07-17T16:03:39.925601419Z INFO: Gathering OVN_Southbound from ovnkube-node-8d8qp...
[must-gather-lptfw] POD 2023-07-17T16:03:39.925824734Z INFO: Gathering OVN_Southbound from ovnkube-node-qz4sq...
[must-gather-lptfw] POD 2023-07-17T16:03:39.926047758Z INFO: Gathering OVN_Southbound from ovnkube-node-r5srt...
[must-gather-lptfw] POD 2023-07-17T16:03:39.926285043Z INFO: Gathering OVN_Southbound from ovnkube-node-s4597...
[must-gather-lptfw] POD 2023-07-17T16:03:39.926514077Z INFO: Gathering OVN_Southbound from ovnkube-node-ssh2b...
[must-gather-lptfw] POD 2023-07-17T16:03:40.279889738Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.342438193Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.439568926Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.452053660Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.514227418Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.526194982Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.538704778Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.541750127Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.551573349Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.621253564Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.625682981Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:40.628531707Z tar: Removing leading `/' from member names
[must-gather-lptfw] POD 2023-07-17T16:03:41.729255505Z Wrote inspect data to must-gather.
[must-gather-lptfw] POD 2023-07-17T16:03:41.732211613Z INFO: Waiting for network log collection to complete ...
[must-gather-lptfw] POD 2023-07-17T16:03:41.732211613Z INFO: Waiting for ovnk database copies to complete ...
[must-gather-lptfw] POD 2023-07-17T16:03:41.732467948Z INFO: Copying ovnk databases complete.
[must-gather-lptfw] POD 2023-07-17T16:03:41.733288904Z 9.5M must-gather/network_logs/ovnk_database_store
[must-gather-lptfw] POD 2023-07-17T16:03:41.734564339Z ovnk_database_store/
[must-gather-lptfw] POD 2023-07-17T16:03:41.734564339Z ovnk_database_store/ovnkube-node-564lr_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.750884809Z ovnk_database_store/ovnkube-node-qz4sq_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.755570111Z ovnk_database_store/ovnkube-node-8d8qp_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.764721990Z ovnk_database_store/ovnkube-node-ssh2b_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.787744461Z ovnk_database_store/ovnkube-node-qz4sq_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.803682663Z ovnk_database_store/ovnkube-node-r5srt_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.810852283Z ovnk_database_store/ovnkube-node-r5srt_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.827747554Z ovnk_database_store/ovnkube-node-ssh2b_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.835725661Z ovnk_database_store/ovnkube-node-564lr_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.842014904Z ovnk_database_store/ovnkube-node-8d8qp_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.865737498Z ovnk_database_store/ovnkube-node-s4597_nbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.874369007Z ovnk_database_store/ovnkube-node-s4597_sbdb
[must-gather-lptfw] POD 2023-07-17T16:03:41.897467720Z INFO: Network log collection complete.
openshift-ci-robot commented 1 year ago

@tssurya: This pull request references SDN-3687 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/370): >We are adding support for IC in 4.14. See >https://issues.redhat.com/browse/SDN-3733 >for more details. > >This commit ensures we have support for >gathering logs from both modes. We will remove >the legacy version in future. 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

@tssurya: This pull request references SDN-3687 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/370): >We are adding support for IC in 4.14. See >https://issues.redhat.com/browse/SDN-3733 >for more details. > >This commit ensures we have support for >gathering logs from both modes. We will remove >the legacy version in future a.k.a `gather_ovn_kubernetes_data_legacy_mode` will just be deleted 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.
tssurya commented 1 year ago

@RickJWagner : Thank you for your time in reviewing the PR! Much appreciated. I see you are an approver for this repo, could you please add the approve label as well or do I need to follow some specific process for merging the PR ?

openshift-ci-robot commented 1 year ago

@tssurya: This pull request references SDN-3687 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/370): >We are adding support for IC in 4.14. See >https://issues.redhat.com/browse/SDN-3733 >for more details. > >This commit ensures we have support for >gathering logs from both modes. We will remove >the legacy version in future a.k.a `gather_ovn_kubernetes_data_legacy_mode` will just be deleted > >``` >drwxr-xr-x 2 surya surya 9.5M Jul 17 18:03 ovnk_database_store >-rw-r--r-- 1 surya surya 1.6M Jul 17 18:03 ovnk_database_store.tar.gz >[surya@hidden-temple network_logs]$ cd ovnk_database_store/ >[surya@hidden-temple ovnk_database_store]$ ls -ltrh >total 9.5M >-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-ssh2b_sbdb >-rw-r--r-- 1 surya surya 483K Jul 17 18:03 ovnkube-node-ssh2b_nbdb >-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-s4597_sbdb >-rw-r--r-- 1 surya surya 508K Jul 17 18:03 ovnkube-node-s4597_nbdb >-rw-r--r-- 1 surya surya 1.1M Jul 17 18:03 ovnkube-node-r5srt_sbdb >-rw-r--r-- 1 surya surya 336K Jul 17 18:03 ovnkube-node-r5srt_nbdb >-rw-r--r-- 1 surya surya 868K Jul 17 18:03 ovnkube-node-qz4sq_sbdb >-rw-r--r-- 1 surya surya 272K Jul 17 18:03 ovnkube-node-qz4sq_nbdb >-rw-r--r-- 1 surya surya 1.5M Jul 17 18:03 ovnkube-node-8d8qp_sbdb >-rw-r--r-- 1 surya surya 554K Jul 17 18:03 ovnkube-node-8d8qp_nbdb >-rw-r--r-- 1 surya surya 979K Jul 17 18:03 ovnkube-node-564lr_sbdb >-rw-r--r-- 1 surya surya 314K Jul 17 18:03 ovnkube-node-564lr_nbdb >[surya@hidden-temple ovnk_database_store]$ >``` 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

@tssurya: This pull request references SDN-3687 which is a valid jira issue.

In response to [this](https://github.com/openshift/must-gather/pull/370): >We are adding support for IC in 4.14. See >https://issues.redhat.com/browse/SDN-3733 >for more details. > >This commit ensures we have support for >gathering logs from both modes. We will remove >the legacy version in future a.k.a `gather_ovn_kubernetes_data_legacy_mode` will just be deleted > >``` >drwxr-xr-x 2 surya surya 9.5M Jul 17 18:03 ovnk_database_store >-rw-r--r-- 1 surya surya 1.6M Jul 17 18:03 ovnk_database_store.tar.gz >[surya@hidden-temple network_logs]$ cd ovnk_database_store/ >[surya@hidden-temple ovnk_database_store]$ ls -ltrh >total 9.5M >-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-ssh2b_sbdb >-rw-r--r-- 1 surya surya 483K Jul 17 18:03 ovnkube-node-ssh2b_nbdb >-rw-r--r-- 1 surya surya 1.4M Jul 17 18:03 ovnkube-node-s4597_sbdb >-rw-r--r-- 1 surya surya 508K Jul 17 18:03 ovnkube-node-s4597_nbdb >-rw-r--r-- 1 surya surya 1.1M Jul 17 18:03 ovnkube-node-r5srt_sbdb >-rw-r--r-- 1 surya surya 336K Jul 17 18:03 ovnkube-node-r5srt_nbdb >-rw-r--r-- 1 surya surya 868K Jul 17 18:03 ovnkube-node-qz4sq_sbdb >-rw-r--r-- 1 surya surya 272K Jul 17 18:03 ovnkube-node-qz4sq_nbdb >-rw-r--r-- 1 surya surya 1.5M Jul 17 18:03 ovnkube-node-8d8qp_sbdb >-rw-r--r-- 1 surya surya 554K Jul 17 18:03 ovnkube-node-8d8qp_nbdb >-rw-r--r-- 1 surya surya 979K Jul 17 18:03 ovnkube-node-564lr_sbdb >-rw-r--r-- 1 surya surya 314K Jul 17 18:03 ovnkube-node-564lr_nbdb >[surya@hidden-temple ovnk_database_store]$ >``` >``` >[must-gather-lptfw] POD 2023-07-17T16:03:39.805624440Z INFO: INTERCONNECT MODE >[must-gather-lptfw] POD 2023-07-17T16:03:39.805624440Z INFO: Gathering ovn-kubernetes DBs >[must-gather-lptfw] POD 2023-07-17T16:03:39.923969317Z INFO: Gathering OVN_Northbound from ovnkube-node-564lr... >[must-gather-lptfw] POD 2023-07-17T16:03:39.924174701Z INFO: Gathering OVN_Northbound from ovnkube-node-8d8qp... >[must-gather-lptfw] POD 2023-07-17T16:03:39.924422506Z INFO: Gathering OVN_Northbound from ovnkube-node-qz4sq... >[must-gather-lptfw] POD 2023-07-17T16:03:39.924655881Z INFO: Gathering OVN_Northbound from ovnkube-node-r5srt... >[must-gather-lptfw] POD 2023-07-17T16:03:39.924895985Z INFO: Gathering OVN_Northbound from ovnkube-node-s4597... >[must-gather-lptfw] POD 2023-07-17T16:03:39.925120700Z INFO: Gathering OVN_Northbound from ovnkube-node-ssh2b... >[must-gather-lptfw] POD 2023-07-17T16:03:39.925373585Z INFO: Gathering OVN_Southbound from ovnkube-node-564lr... >[must-gather-lptfw] POD 2023-07-17T16:03:39.925601419Z INFO: Gathering OVN_Southbound from ovnkube-node-8d8qp... >[must-gather-lptfw] POD 2023-07-17T16:03:39.925824734Z INFO: Gathering OVN_Southbound from ovnkube-node-qz4sq... >[must-gather-lptfw] POD 2023-07-17T16:03:39.926047758Z INFO: Gathering OVN_Southbound from ovnkube-node-r5srt... >[must-gather-lptfw] POD 2023-07-17T16:03:39.926285043Z INFO: Gathering OVN_Southbound from ovnkube-node-s4597... >[must-gather-lptfw] POD 2023-07-17T16:03:39.926514077Z INFO: Gathering OVN_Southbound from ovnkube-node-ssh2b... >[must-gather-lptfw] POD 2023-07-17T16:03:40.279889738Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.342438193Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.439568926Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.452053660Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.514227418Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.526194982Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.538704778Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.541750127Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.551573349Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.621253564Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.625682981Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:40.628531707Z tar: Removing leading `/' from member names >[must-gather-lptfw] POD 2023-07-17T16:03:41.729255505Z Wrote inspect data to must-gather. >[must-gather-lptfw] POD 2023-07-17T16:03:41.732211613Z INFO: Waiting for network log collection to complete ... >[must-gather-lptfw] POD 2023-07-17T16:03:41.732211613Z INFO: Waiting for ovnk database copies to complete ... >[must-gather-lptfw] POD 2023-07-17T16:03:41.732467948Z INFO: Copying ovnk databases complete. >[must-gather-lptfw] POD 2023-07-17T16:03:41.733288904Z 9.5M must-gather/network_logs/ovnk_database_store >[must-gather-lptfw] POD 2023-07-17T16:03:41.734564339Z ovnk_database_store/ >[must-gather-lptfw] POD 2023-07-17T16:03:41.734564339Z ovnk_database_store/ovnkube-node-564lr_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.750884809Z ovnk_database_store/ovnkube-node-qz4sq_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.755570111Z ovnk_database_store/ovnkube-node-8d8qp_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.764721990Z ovnk_database_store/ovnkube-node-ssh2b_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.787744461Z ovnk_database_store/ovnkube-node-qz4sq_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.803682663Z ovnk_database_store/ovnkube-node-r5srt_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.810852283Z ovnk_database_store/ovnkube-node-r5srt_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.827747554Z ovnk_database_store/ovnkube-node-ssh2b_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.835725661Z ovnk_database_store/ovnkube-node-564lr_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.842014904Z ovnk_database_store/ovnkube-node-8d8qp_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.865737498Z ovnk_database_store/ovnkube-node-s4597_nbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.874369007Z ovnk_database_store/ovnkube-node-s4597_sbdb >[must-gather-lptfw] POD 2023-07-17T16:03:41.897467720Z INFO: Network log collection complete. >``` 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[bot] commented 1 year ago

@tssurya: 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).
openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flavio-fernandes, soltysh, tssurya

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)~~ [soltysh] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment