Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-11827

failed runnig probe 'dns' with after network reconfiguration when disable ipv6 on primary interface

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      apply nmstate nncp to disable ipv6 on primary interface, got err: failed runnig probe 'dns' with after network reconfiguration

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

      OCP: 4.13.0-0.nightly-2023-04-13-171034
      knmstate operator: kubernetes-nmstate-operator.4.13.0-202304051915

      How reproducible:

      not always, above 50%

      Steps to Reproduce:

      1. install knmstate operator, create nmstate cr
      % oc get pod -owide
      NAME                                    READY   STATUS    RESTARTS   AGE     IP             NODE             NOMINATED NODE   READINESS GATES
      nmstate-cert-manager-74b946dd5c-smqb2   1/1     Running   0          3h32m   10.129.0.192   ip-10-0-72-244   <none>           <none>
      nmstate-handler-k5kp6                   1/1     Running   0          3h32m   10.0.62.221    ip-10-0-62-221   <none>           <none>
      nmstate-handler-n57mf                   1/1     Running   0          3h32m   10.0.72.244    ip-10-0-72-244   <none>           <none>
      nmstate-handler-tncl7                   1/1     Running   0          3h32m   10.0.59.96     ip-10-0-59-96    <none>           <none>
      nmstate-operator-6fdc8cc7-tzdcg         1/1     Running   0          7h54m   10.130.0.72    ip-10-0-59-96    <none>           <none>
      nmstate-webhook-6498d8fbfd-4sgvg        1/1     Running   0          3h32m   10.128.0.116   ip-10-0-62-221   <none>           <none>
      
      
      2. apply below nncp, disable ipv6 on ens5
      ---
      apiVersion: nmstate.io/v1
      kind: NodeNetworkConfigurationPolicy
      metadata:
        name: disable-v6
      spec:
        nodeSelector:
          kubernetes.io/hostname: ip-10-0-62-221
        desiredState:
          interfaces:
          - name: ens5
            description: disable ipv6
            type: ethernet
            state: up
            ipv6:
              enabled: false
      % oc apply -f disablev6.yaml 
      nodenetworkconfigurationpolicy.nmstate.io/disable-v6 created
      
      
      3. check status of nncp and nnce
      

      Actual results:

      nncp failed to configure:
      % oc get nncp
      NAME         STATUS     REASON
      disable-v6   Degraded   FailedToConfigure
      % oc get nnce            
      NAME                        STATUS    REASON
      ip-10-0-62-221.disable-v6   Failing   FailedToConfigure

      Expected results:

      nncp apply successful, ipv6 is disabled

      Additional info:

       

              bnemec@redhat.com Benjamin Nemec
              rh-ee-qiowang Qiong Wang
              None
              None
              Qiong Wang Qiong Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: