Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1535

Secondary bridge CNI interfaces not displayed by network observability

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • eBPF
    • None
    • False
    • None
    • False
    • NetObserv - Sprint 250, NetObserv - Sprint 251, NetObserv - Sprint 252, NetObserv - Sprint 253

      Description of problem:

          Traffic flowing between secondary NICs of Pods is not captured by the operator.

      Version-Release number of selected component (if applicable):

          4.15

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Create two Pods connected over a bridge CNI NAD
      
      ---
      kind: Pod
      apiVersion: v1
      metadata:
        name: nettest10
        namespace: phoracek
        annotations:
          k8s.v1.cni.cncf.io/networks: >-
            [{"ips":["192.168.199.123/24"],"name":"br-vlan-572-ipam"}]
      spec:
        containers:
        - name: container1
          command:
            - /bin/sh
            - '-c'
            - sleep 99999
          image: 'quay.io/phoracek/iptoolbox:latest'
      ---
      kind: Pod
      apiVersion: v1
      metadata:
        name: nettest20
        namespace: phoracek
        annotations:
          k8s.v1.cni.cncf.io/networks: >-
            [{"ips":["192.168.199.124/24"],"name":"br-vlan-572-ipam"}]
      spec:
        containers:
        - name: container1
          command:
            - /bin/sh
            - '-c'
            - sleep 99999
          image: 'quay.io/phoracek/iptoolbox:latest'
      ---
      apiVersion: k8s.cni.cncf.io/v1
      kind: NetworkAttachmentDefinition
      metadata:
        annotations:
          k8s.v1.cni.cncf.io/resourceName: bridge.network.kubevirt.io/br-vlan572
        name: br-vlan-572-ipam
        namespace: phoracek
      spec:
        config: |-
          {
              "name": "br-vlan-572-ipam",
              "bridge": "br-vlan572",
              "type": "bridge",
              "cniVersion": "0.3.1",
              "macspoofchk": true,
              "ipam":{"type": "static"}
          }
      
          2. Ping from one to the other using net1
          

      Actual results:

          Ping passes through but nothing shows up on the network topology tab.

      Expected results:

          This traffic should be displayed.

      Additional info:

       

        1. must-gather.local.3794289464267443676.tar (1).gz
          10.84 MB
          Mohamed Mahmoud
        2. image.png
          128 kB
          Mohamed Mahmoud

            mmahmoud@redhat.com Mohamed Mahmoud
            phoracek@redhat.com Petr Horacek
            Amogh Rameshappa Devapura Amogh Rameshappa Devapura
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: