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

Support checkpoint on rollback when using global DNS of NetworkManager

    • nmstate-2.2.27-1.el9
    • None
    • None
    • ZStream
    • sst_network_management
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None

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

       

      When applying state like:

       

      ---
      dns-resolver: 
        config: 
          server: 
          - 2001:4860:4860::8888
          - 8.8.8.8
          - 2606:4700:4700::1111
      

       

      with `--no-commit` option of nmstatectl, the rollback action afterwards will not restore the DNS configs.

      Please provide the package NVR for which bug is seen:

      nmstate-2.2.25-1.el9

      How reproducible:

      100%

      Steps to reproduce

      echo '---
      dns-resolver:
        config:
          server:
          - 2001:4860:4860::8888
          - 8.8.8.8
          - 2606:4700:4700::1111
      ' | sudo nmstatectl set - --no-commit
      
      sudo nmstatectl rollback
      

      Expected results

      The DNS config been restored.

      Actual results

      The DNS server been set to

          - 2001:4860:4860::8888
          - 8.8.8.8
          - 2606:4700:4700::1111
      

              fge@redhat.com Gris Ge
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: