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

Bond creation fails on server reboot

    XMLWordPrintable

Details

    • Important
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Customer Escalated

    Description

      Description of problem:

      Bond creation for VLAN tagged interface failing post reboot with below error reason
      
          vlan failed
            reason=<enum NM_ACTIVE_CONNECTION_STATE_REASON_DEVICE_DISCONNECTED of type NM.ActiveConnectionStateReason><enum NM_DEVICE_STATE_REASON_UNKNOWN of type NM.DeviceStateReason>

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

      Kubernetes NMState on OCP 4.10

      How reproducible:

      Very reproducible on customer environment

      Steps to Reproduce:

      1. Create a VLAN interface as per the documentation
      2. Next create a bond over two of the VLAN created interfaces using NMState
      3. 
      

      Actual results:

      The configuration fails post the node reboot
      
      $ oc get nnce esx71.bond-esx71-policy  -o jsonpath='{.status.conditions[?(@.type=="Failing")].message}'
      error reconciling NodeNetworkConfigurationPolicy at desired state apply: ,
      failed to execute nmstatectl set --no-commit --timeout 480: 'exit status 1'
      libnmstate.error.NmstateLibnmError
        Activate profile uuid:40c9b313-0302-46b2-a6e5-72d59822cfdf iface:ens7f0.871 type
          vlan failed
            reason=<enum NM_ACTIVE_CONNECTION_STATE_REASON_DEVICE_DISCONNECTED of type NM.ActiveConnectionStateReason><enum NM_DEVICE_STATE_REASON_UNKNOWN of type NM.DeviceStateReason>

      Expected results:

      The configuration should work across node reboot & be persistent

      Additional info:

      The bond interfaces can be seen as down
      
      $ ip l | grep ens
      6: ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP mode DEFAULT group default qlen 1000
      7: ens1f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
      8: ens7f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP mode DEFAULT group default qlen 1000
      9: ens7f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
      65: ens1f0.881@ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      66: ens1f0.882@ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      67: ens1f0.871@ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      68: ens1f0.884@ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      73: ens7f0.871@ens7f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      74: ens7f0.881@ens7f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      75: ens7f0.882@ens7f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      76: ens7f0.884@ens7f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      [core@esx71 ~]$ ip l | grep bond
      22: bond884: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 9000 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
      23: bond871: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 9000 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
      24: bond881: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 9000 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
      25: bond882: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 9000 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000

      Attachments

        Activity

          People

            bnemec@redhat.com Benjamin Nemec
            rhn-support-adubey Akash Dubey
            Qiong Wang Qiong Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: