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

NetworkManager daemon crashes when rollback a checkpoint

    • NetworkManager-1.44.0-3.el9
    • None
    • Important
    • 1
    • rhel-sst-network-management
    • ssg_networking
    • 26
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT - RHEL 8.10/9.4 DTM 00
    • None

      Description of problem:

      (gdb) bt
      #0 0x000055db671a6b86 in nm_checkpoint_rollback (self=0x55db67701ce0) at src/core/nm-checkpoint.c:471
      #1 0x000055db671a6ed1 in rollback_checkpoint (self=0x7f3224006080, checkpoint=0x55db67701ce0) at src/core/nm-checkpoint-manager.c:90
      #2 0x000055db671a77a0 in nm_checkpoint_manager_rollback
      (error=0x7ffc0f3e8910, results=<synthetic pointer>, path=0x7f322000ea40 "/org/freedesktop/NetworkManager/Checkpoint/1", self=0x7f3224006080)
      at src/core/nm-checkpoint-manager.c:251
      #3 checkpoint_auth_done_cb (chain=0x7f3220010430, context=0x55db677d1ce0, user_data=<optimized out>) at src/core/nm-manager.c:8420
      #4 0x000055db67046bb4 in _done_and_destroy (self=0x7f3220010430) at src/core/nm-auth-utils.c:99
      #5 pk_call_cb (auth_manager=<optimized out>, user_data=0x55db67791e40, error=0x0, is_challenge=0, is_authorized=1, call_id=<optimized out>) at src/core/nm-auth-utils.c:391
      #6 pk_call_cb (auth_manager=<optimized out>, call_id=<optimized out>, is_authorized=1, is_challenge=0, error=0x0, user_data=0x55db67791e40) at src/core/nm-auth-utils.c:354
      #7 0x000055db67048835 in _call_id_invoke_callback (error=0x0, is_challenge=0, is_authorized=1, call_id=0x55db67764c00) at src/core/nm-auth-manager.c:180
      #8 _call_on_idle (user_data=0x55db67764c00) at src/core/nm-auth-manager.c:284
      #9 0x00007f322f13c13b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
      #10 0x00007f322f13fe2f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
      #11 0x00007f322f195108 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
      #12 0x00007f322f13f483 in g_main_loop_run () at /lib64/libglib-2.0.so.0
      #13 0x000055db66f65753 in main (argc=<optimized out>, argv=<optimized out>) at src/core/main.c:519

      Version-Release number of selected component (if applicable):
      NetworkManager-1.45.1-32537.copr.712729f652.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:

      echo '---
      interfaces:
        - name: dummy1
          type: dummy
        - name: dummy1.101
          type: vlan
          state: up
          vlan:
            base-iface: dummy1
            id: 101' | sudo nmstatectl set - --no-commit; sudo nmstatectl rollback
      

      Actual results:

      NetworkManager daemon crash

      Expected results:

      No crash

      Additional info:

      The checkpoint is widely used in openshift, hence high priority.

      Acceptance criteria:

      Given a system administrator managing an OpenShift cluster, 
      When the system administrator applies the interface configuration above (See description) using the commands:
      sudo nmstatectl set - --no-commit; sudo nmstatectl rollback
      Then NetworkManager should continue runnin g without any crashes.

      Definition of Done:

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

              fge@redhat.com Gris Ge
              fge@redhat.com Gris Ge
              Gris Ge Gris Ge
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: