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

Reapply on external managed interface got ignored

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Yes
    • Moderate
    • rhel-net-mgmt
    • ssg_networking
    • 26
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • None
    • 0

      Description of problem:

      Give a dummy interface created by ip command with two ip addresses
      When user modified the in-memory dummy connection of NetworkManager and run reapply
      Then user are expecting IP address of dummy interface been preserved in NetworkManager as persistent configuration.

      In nmstate state CI we noticed the IP address might(10% chance) got purged after the reapply action.

      Version-Release number of selected component (if applicable):
      NetworkManager-1.43.4-32057.copr.0a02995175.el8.x86_64

      How reproducible:
      10%

      Steps to Reproduce:
      1. git clone https://github.com/nmstate/nmstate.git
      2. sudo dnf install python3-pytest nmstate -y
      3. git checkout nmstate-1.4
      4. sudo dnf install `./packaging/make_rpm.sh` -y
      5. cd nmstate/tests/integration;
      6. sudo pytest-3 -vvv -k test_perserve_ip_order_of_external_managed_nic
      7. Retry above command till it fail manually or using a `for` look.

      Actual results:

      Test case fail complaining about index error

      Expected results:

      No failure

      Additional info:

      I tried 100 times on NetworkManager-1.40.16-1.el8.x86_64 , no failure.

      I tried 100 times the same version on RHEL 9.2, no failure(but nmstate is different there).

      Acceptance criteria:
      Give a dummy interface created by ip command with two ip addresses
      When user modified the in-memory dummy connection of NetworkManager and run reapply
      Then user are expecting IP address of dummy interface been preserved in NetworkManager as persistent configuration.

      Definition of done:

      • The implementation meets the acceptance criteria
      • The code is part of a build attached to an errata

              rh-ee-sfaye Stanislas Faye
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Desktop QE Desktop QE
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: