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

[Epic]: Incorrect attribute checks for routing rule validation [rhel-10]

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

    • [Epic]: Incorrect attribute checks for routing rule validation [rhel-10]
    • Low
    • Red Hat Enterprise Linux
    • 0% To Do, 0% In Progress, 100% Done
    • rhel-system-roles
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Dev ack

      This is a clone of issue RHEL-85872 to use for version rhel-10.1

      Original description:

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

      Given a managed host with the NetworkManager `NetworkManager-1.40.16-18.el8_10` installed, when creating the routing rule with `uid` specified, then the network role raises the error `error: connection[0]: the routing rule selector 'uid' is not supported in NetworkManger until NM 1.34`. 

      What is the impact of this issue to you?

      I cannot configure the routing rule with the uid range. 

      Please provide the package NVR for which the bug is seen:

      1.40.16-18.el8_10

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. Running the network role with the following `network_connections` : 
      network_connections:
        - name: testeth1
          interface_name: eth1
          state: up
          type: ethernet
          autoconnect: true
          ip:
            dhcp4: false
            address:
              - 198.51.100.3/26
              - 2001:db8::2/32
            route:
              - network: 198.51.100.64
                prefix: 26
                gateway: 198.51.100.6
                metric: 4
                table: 30200
            routing_rule:
              - priority: 30205
                uid: 2000 - 3000
                family: ipv4
                table: 30200
       

      Expected results

      The routing rules should configured correctly without raising any error.

      Actual results

      The error `error: connection[0]: the routing rule selector 'uid' is not supported in NetworkManger until NM 1.34` was raised. 

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: