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

[BM-IPI] ironic python agent doesn't pick up details from bond with custom VLAN names

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Moderate
    • No
    • None
    • None
    • None
    • Metal Platform 245
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      [BM-IPI] The effect of this bug are the same of: https://bugzilla.redhat.com/show_bug.cgi?id=2094090 
      In this case using a custom VLAN name rather then the "name.number" standard leave again the VM in provisiong state.

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

      OCP 4.12.z

      How reproducible:

      Install a new cluster using a VLAN on top of a bond without a 'dot' in the name.
      

      Actual results:

      Machines keeps the Provisoned State

      Expected results:

      Machines move on Running state

      Additional info:

      The workaround described on https://access.redhat.com/solutions/6964105 works also on our scenario.
      
      Looking at: https://review.opendev.org/c/openstack/ironic-python-agent/+/848866/1/ironic_python_agent/hardware.py
      
      The blow funcion seems only contemplate a VLAN with a ('.') in it:
      ======================================
          def _is_vlan(self, interface_name):
              # A VLAN interface does not have /device, check naming convention
              # used when adding VLAN interface
              interface, sep, vlan = interface_name.partition('.') <---------- THIS
              return vlan.isdigit()
      ======================================

              rpittau@redhat.com Riccardo Pittau
              rhn-support-csaggin Cristiano Saggin
              None
              None
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: