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

augeas fails to parse /etc/multipath.conf on RHEL10

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • augeas
    • Yes
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

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

      augeas fails to parse /etc/multipath.conf file on RHEL10.

      # cat /etc/multipath.conf
      # device-mapper-multipath configuration file
      
      # For a complete list of the default configuration values, run either:
      # # multipath -t
      # or
      # # multipathd show config
      # For a list of configuration options with descriptions, see the
      # multipath.conf man page.
      
      defaults {	
              user_friendly_names yes	
              find_multipaths on      <--- the value 'on' cannot be parsed
      }
      
      blacklist {
      }
      
      # augtool print /augeas//error | grep multipath.conf
      /augeas/files/etc/multipath.conf/error = "parse_failed"
      /augeas/files/etc/multipath.conf/error/pos = "296"
      /augeas/files/etc/multipath.conf/error/line = "13"
      /augeas/files/etc/multipath.conf/error/char = "0"
      /augeas/files/etc/multipath.conf/error/lens = "/usr/share/augeas/lenses/dist/multipath.aug:133.10-.64:"
      /augeas/files/etc/multipath.conf/error/lens/last_matched = "/usr/share/augeas/lenses/dist/multipath.aug:24.24-.42:"
      /augeas/files/etc/multipath.conf/error/lens/next_not_matched = "/usr/share/augeas/lenses/dist/multipath.aug:16.10-.37:"
      /augeas/files/etc/multipath.conf/error/message = "Iterated lens matched less than it should"

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

      augeas-1.14.1-1.el10.x86_64

      device-mapper-multipath-0.9.9-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. yum install augeas device-mapper-multipath
      2. mpathconf --enable
      3. augtool print /augeas//error | grep multipath.conf

      Expected results

      augeas can parse /etc/multipath.conf file on RHEL10

      Notes: 

      # mpathconf --help | grep find_multipaths
      Set find_multipaths (Default on): --find_multipaths <on|yes|y|off|no|n|strict|greedy|smart>

              virt-maint virt-maint
              yoguo@redhat.com Yongkui Guo
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: