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

Installation failed on Azure SDN as network is degraded

XMLWordPrintable

    • Critical
    • None
    • Approved
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

      Description of problem:

      Creating cluster on Azure, installation failed as network is degraded, networkType is OpenShiftSDN.

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

      4.13.0-0.nightly-2023-02-12-024338

      How reproducible:

      Always

      Steps to Reproduce:

      1. Set up a cluster on Azure, networktype is SDN
      2.
      3.
      

      Actual results:

      Installation failed as network is degraded.
      $ oc get co
      network                                    4.13.0-0.nightly-2023-02-12-024338   True        True          True       81m     DaemonSet "/openshift-sdn/sdn" rollout is not making progress - pod sdn-897ql is in CrashLoopBackOff State...
      
      $ oc get po -n openshift-sdn                  
      NAME                   READY   STATUS             RESTARTS         AGE
      sdn-897ql              2/3     CrashLoopBackOff   20 (4m7s ago)    82m
      sdn-bm5vr              2/3     CrashLoopBackOff   20 (4m9s ago)    82m
      sdn-bwnpk              2/3     CrashLoopBackOff   24 (57s ago)     73m
      sdn-ch2mc              2/3     CrashLoopBackOff   20 (4m19s ago)   82m
      sdn-controller-9hgv2   2/2     Running            1 (71m ago)      82m
      sdn-controller-gvmpg   2/2     Running            0                82m
      sdn-controller-hnftp   2/2     Running            0                82m
      sdn-kc66z              2/3     CrashLoopBackOff   24 (59s ago)     73m
      sdn-t7vxf              2/3     CrashLoopBackOff   17 (3m30s ago)   66m
      
      $ oc rsh sdn-897ql                        
      Defaulted container "sdn" out of: sdn, kube-rbac-proxy, drop-icmp
      sh-4.4# oc observe pods -n openshift-sdn --listen-addr= -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh
      sh: oc: command not found
      
      $ oc logs sdn-897ql -n openshift-sdn -c drop-icmp      
      + touch /var/run/add_iptables.sh
      + chmod 0755 /var/run/add_iptables.sh
      + cat
      ++ date '+%m%d %H:%M:%S.%N'
      + echo 'I0213 01:43:01.287492831 - drop-icmp - start drop-icmp zhsunaz213-47hnp-master-2'
      I0213 01:43:01.287492831 - drop-icmp - start drop-icmp zhsunaz213-47hnp-master-2
      + iptables -X AZURE_CHECK_ICMP_SOURCE
      iptables v1.8.4 (nf_tables):  CHAIN_USER_DEL failed (Device or resource busy): chain AZURE_CHECK_ICMP_SOURCE
      + true
      + iptables -N AZURE_CHECK_ICMP_SOURCE
      iptables: Chain already exists.
      + true
      + iptables -F AZURE_CHECK_ICMP_SOURCE
      + iptables -D INPUT -p icmp --icmp-type fragmentation-needed -j AZURE_CHECK_ICMP_SOURCE
      + iptables -I INPUT -p icmp --icmp-type fragmentation-needed -j AZURE_CHECK_ICMP_SOURCE
      + iptables -N AZURE_ICMP_ACTION
      iptables: Chain already exists.
      + true
      + iptables -F AZURE_ICMP_ACTION
      + iptables -A AZURE_ICMP_ACTION -j LOG
      + iptables -A AZURE_ICMP_ACTION -j DROP
      + oc observe pods -n openshift-sdn --listen-addr= -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh
      /bin/bash: line 30: oc: command not found

      Expected results:

      Installation is successful.

      Additional info:

      must-gather: https://drive.google.com/file/d/1ObyVLXgbdciZehfIO_58EucX0qQjugI7/view?usp=sharing

              mcambria Michael Cambria
              rhn-support-zhsun Zhaohua Sun
              Zhanqi Zhao Zhanqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: