Bug 2025750
| Summary: | must-gather | nft files are not collected for nodes | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | ibesso <ibesso> |
| Component: | Networking | Assignee: | oshoval |
| Status: | CLOSED ERRATA | QA Contact: | Yossi Segev <ysegev> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.9.1 | CC: | cnv-qe-bugs, mmuench, ocs-bugs, oshoval, phoracek, resoni, sabose, ysegev |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.10.0-103 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-16 15:56:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2048960 | ||
| Bug Blocks: | |||
|
Description
ibesso
2021-11-22 23:30:38 UTC
As this is related to CNV, moving it to CNV must-gather. Petr, is should on network no? Yes. Reassigning. With the fix, all the tables will be collected to one file "nftables" using a simpler command that collects all the tables please adjust the tests accordingly *** Bug 2028458 has been marked as a duplicate of this bug. *** Verified on a cluster with
Client Version (oc): 4.10.0-202201281850.p0.g7c299f1.assembly.stream-7c299f1
Server Version: 4.10.0-fc.4
Kubernetes Version: v1.23.0+d30ebbc
CNV: v4.10.0-629
CNV must-gather: v4.10.0-104
1. Find the URL of the CNV must-gather image in CNV CSV:
$ oc get csv -n openshift-cnv kubevirt-hyperconverged-operator.v4.10.0 -oyaml | less
Search for the must-gather image:
registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251
3. Run must-gather using the CNV image:
$ oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251 --dest_dir=mg-out
4. Verify the summarized nftables file exists for each nodes, and includes the various IP contents.
$ find mg-out/ -name *tables*
mg-out/registry-redhat-io-container-native-virtualization-cnv-must-gather-rhel8-sha256-2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251/nodes/ssp-rn-410-30-l7whq-worker-0-7b8dj/nftables
mg-out/registry-redhat-io-container-native-virtualization-cnv-must-gather-rhel8-sha256-2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251/nodes/ssp-rn-410-30-l7whq-worker-0-dhh22/nftables
mg-out/registry-redhat-io-container-native-virtualization-cnv-must-gather-rhel8-sha256-2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251/nodes/ssp-rn-410-30-l7whq-worker-0-zr4vk/nftables
$ less -N mg-out/registry-redhat-io-container-native-virtualization-cnv-must-gather-rhel8-sha256-2bfb6e79f259589623edd293daa32341f778a8a392120ad085e4a4fc58bce251/nodes/ssp-rn-410-30-l7whq-worker-0-7b8dj/nftables
1 table ip nat {
2 chain PREROUTING {
3 type nat hook prerouting priority dstnat; policy accept;
4 counter packets 255634 bytes 27357422 jump KUBE-SERVICES
5 counter packets 55628 bytes 4098753 jump KUBE-PORTALS-CONTAINER
...
2018 table ip6 nat {
2019 chain PREROUTING {
2020 type nat hook prerouting priority dstnat; policy accept;
2021 }
....
2053 table ip filter {
2054 chain INPUT {
2055 type filter hook input priority filter; policy accept;
2056 counter packets 56884316 bytes 38996277306 jump KUBE-NODEPORTS
...
2134 table ip mangle {
2135 chain PREROUTING {
2136 type filter hook prerouting priority mangle; policy accept;
2164 table ip6 filter {
2165 chain INPUT {
2166 type filter hook input priority filter; policy accept;
...
2186 table ip6 mangle {
2187 chain PREROUTING {
2188 type filter hook prerouting priority mangle; policy accept;
...
2210 table ip raw {
2211 chain PREROUTING {
2212 type filter hook prerouting priority raw; policy accept;
...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.10.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0947 |