Bug 2232482
| Summary: | odf must-gather does not collect multus NetworkAttachmentDefinitions | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | yati padia <ypadia> |
| Component: | must-gather | Assignee: | yati padia <ypadia> |
| Status: | CLOSED ERRATA | QA Contact: | Oded <oviner> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.13 | CC: | brgardne, etamir, kramdoss, muagarwa, odf-bz-bot, oviner, ypadia |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.13.4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 4.13.4-1 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2218309 | Environment: | |
| Last Closed: | 2023-10-26 17:47:55 UTC | Type: | --- |
| 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: | 2218309 | ||
| Bug Blocks: | |||
|
Description
yati padia
2023-08-17 05:15:17 UTC
Bug Fixed
Setup:
OCP Version: 4.13.0-0.nightly-2023-10-13-013258
ODF Versoin: 4.13.4-3
Platform: Vsphere
1.Deploy cluster with multus
$ oc get storagecluster -o yaml
```
network:
multiClusterService: {}
provider: multus
selectors:
cluster: openshift-storage/private-net
public: openshift-storage/public-net
```
2. Run MG command
oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.13
3.Verify "desc_net_attach_def_all_ns" and "get_yaml_net_attach_def_all_ns" files exist on "/namespaces/all" path
$ pwd
../namespaces/all
oviner:all$ ls | grep net
desc_net_attach_def_all_ns
get_yaml_net_attach_def_all_ns
$ cat get_yaml_net_attach_def_all_ns
apiVersion: v1
items:
- apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
creationTimestamp: "2023-10-13T14:38:05Z"
generation: 1
name: private-net
namespace: openshift-storage
resourceVersion: "36118"
uid: 2f9e18a8-1662-4f9f-bcea-c73eeb17a94b
spec:
config: '{"cniVersion": "0.3.1", "type": "macvlan", "master": "br-ex", "mode":
"bridge", "ipam": {"type": "whereabouts", "range": "192.168.30.0/24"}}'
- apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
creationTimestamp: "2023-10-13T14:38:05Z"
generation: 1
name: public-net
namespace: openshift-storage
resourceVersion: "36115"
uid: 0c40bd94-26f3-4383-b86f-ab6daca2146e
spec:
config: '{"cniVersion": "0.3.1", "type": "macvlan", "master": "br-ex", "mode":
"bridge", "ipam": {"type": "whereabouts", "range": "192.168.20.0/24"}}'
kind: List
metadata:
resourceVersion: ""
selfLink: ""
oviner:all$
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 (Red Hat OpenShift Data Foundation 4.13.4 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/RHBA-2023:6146 |