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

Add explicit routes for unreachable gateways during RHEL upgrade

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • NetworkManager
    • None
    • None
    • rhel-net-mgmt
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given a RHEL 9 system with NetworkManager connection 'eth0' configured with ipv4.method=manual, ipv4.addresses=192.168.1.50/24, ipv4.gateway=10.0.0.1 (gateway outside subnet),

      When Leapp actor scans connection files during upgrade to RHEL 10,

      Then the actor identifies eth0 connection as requiring explicit host route for gateway 10.0.0.1/32 and logs 'Found unreachable gateway 10.0.0.1 in connection eth0, will add explicit route'

      Given Leapp actor identified connection 'bond0' with IPv4 gateway 172.16.0.1 outside subnet 192.168.5.0/24 and IPv6 gateway fe80::1 outside subnet 2001:db8::0/64,

      When the actor modifies the connection file to add explicit host routes,

      Then, the connection file contains ipv4.routes='172.16.0.1/32,0.0.0.0,0' and ipv6.routes='fe80::1/128,::/0,0' (or equivalent syntax) and after RHEL 10 boots, 'ip route show' displays host routes and gateway routes for bond0 interface.


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) Upstream documentation is written in the upstream MR.


      ( ) Release notes text is written in the RHEL issue.


      ( ) A demo is recorded

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given a RHEL 9 system with NetworkManager connection 'eth0' configured with ipv4.method=manual, ipv4.addresses=192.168.1.50/24, ipv4.gateway=10.0.0.1 (gateway outside subnet), When Leapp actor scans connection files during upgrade to RHEL 10, Then the actor identifies eth0 connection as requiring explicit host route for gateway 10.0.0.1/32 and logs 'Found unreachable gateway 10.0.0.1 in connection eth0, will add explicit route' – Given Leapp actor identified connection 'bond0' with IPv4 gateway 172.16.0.1 outside subnet 192.168.5.0/24 and IPv6 gateway fe80::1 outside subnet 2001:db8::0/64, When the actor modifies the connection file to add explicit host routes, Then, the connection file contains ipv4.routes='172.16.0.1/32,0.0.0.0,0' and ipv6.routes='fe80::1/128,::/0,0' (or equivalent syntax) and after RHEL 10 boots, 'ip route show' displays host routes and gateway routes for bond0 interface. ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) Upstream documentation is written in the upstream MR. ( ) Release notes text is written in the RHEL issue. ( ) A demo is recorded
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Create a Leapp actor that runs during RHEL 9 to RHEL 10 upgrades to preserve network connectivity for connections that rely on NetworkManager's automatic host route behavior for unreachable gateways. The actor should scan all NetworkManager connection files, identify those with method=manual and gateway IPs outside their configured subnets, and add explicit route entries to maintain existing behavior after upgrade when NetworkManager no longer automatically adds these routes.

              nm-team Network Management Team
              rh-ee-sfaye Stanislas Faye
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: