Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-16228

Anaconda crashes when configuring a VLAN over a Team

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0, rhel-9.3.0
    • anaconda
    • None
    • None
    • Moderate
    • rhel-sst-installer
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      A customer installs a system using the GUI. His system has 2 interfaces that get configured as a Team in LACP mode, with no IP address, then a VLAN is configured on top on the Team with a static IP address.

      After configuration and waiting some time on the Network & Hostname panel, Anaconda crashes with following backtrace:

      anaconda 34.25.3.8 exception report
      Traceback (most recent call first):
        File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/network.py", line 936, in _refresh_parent_vlanid
          parent = device.get_parent().get_iface()
        File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/network.py", line 839, in refresh_ui
          self._refresh_parent_vlanid(dev_cfg)
        File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/network.py", line 478, in on_device_config_changed
          self.refresh_ui()
        File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/network.py", line 762, in on_ip_obj_changed
          self.on_device_config_changed(device)
      AttributeError: 'NoneType' object has no attribute 'get_iface'Local variables in innermost frame:
      self: <network.NetworkControlBox object at 0x7fc8b568ad00 (pyanaconda+ui+gui+spokes+network+NetworkControlBox at 0x55d152b2cf60)>
      dev_cfg: NetworkDeviceConfiguration(connection_uuid='ab25a899-0b9b-4a51-93e6-5722b10b2f2f', device_name='team0.10', device_type=11)
      parent: 
      vlanid: 10
      device: <NM.DeviceVlan object at 0x7fc8b56d6700 (NMDeviceVlan at 0x7fc8ac042c80)> 

      This happens with 9.2 DVD but also 9.3 DVD (at least for me).

      There seems to be a network refresh after some time which leads to the issue.

      Please provide the package NVR for which bug is seen:

      anaconda 34.25.3.8 (9.3 DVD)

      anaconda 34.25.2.10 (9.2 DVD)

      How reproducible:

      Always

      Steps to reproduce

      1. Configure a VM with 3 interfaces (no need for LACP actually)
        enp1s0: NAT
        enp2s0: Private Network (will be used for the Team)
        enp8s0: Private Network (will be used for the Team)
        
      1.  Start the installation, enter Network & Hostname panel and create the Team
        1. enslave enp2s0 and enp8s0
        2. set IPv4 addressing to Disabled
        3. configure the Runner as Active Backup
        4. save then set IPv4 addressing to Disabled for both enp2s0, enp8s0 as well
      2.  Create the VLAN
        1. set team0 as parent
        2. configure 10 as vlanid
        3. configure a static IPv4 address
      3. Wait for some time, some network reconfiguration will happen periodically leading to the crash

      Expected results

      No crash

      Actual results

      Crash

              anaconda-maint-list anaconda-maint-list
              rhn-support-rmetrich Renaud Métrich
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: