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

[augtool] Unable to set multipath.conf/blacklist/wwid

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-8.8.0
    • augeas
    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      augtool does not seem to function properly when modifying multipath.conf

      1. augtool -s set "/files/etc/multipath.conf/blacklist/wwid" ".*"
        error: Failed to execute command
        saving failed (run 'errors' for details)
      1. augtool errors
        Error in /etc/multipath.conf:14.0 (parse_failed)
        Iterated lens matched less than it should
        Lens: /usr/share/augeas/lenses/dist/multipath.aug:133.10-.64:
        Last matched: /usr/share/augeas/lenses/dist/multipath.aug:24.24-.42:
        Next (no match): /usr/share/augeas/lenses/dist/multipath.aug:16.10-.37:

      Version-Release number of selected component (if applicable):
      augeas-1.12.0-8.el8.x86_64
      augeas-libs-1.12.0-8.el8.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. install augeas device-mapper-multipath packages
      2. mpathconf --enable
      3. augtool -s set "/files/etc/multipath.conf/blacklist/wwid" ".*"

      Actual results:
      error

      Expected results:
      As seen on el9:
      augeas-libs-1.13.0-3.el9.x86_64
      augeas-1.13.0-3.el9.x86_64

      1. augtool -s set "/files/etc/multipath.conf/blacklist/wwid" ".*"
        Saved 1 file(s)
      1. cat /etc/multipath.conf
      2. device-mapper-multipath configuration file
      1. For a complete list of the default configuration values, run either:
      2. # multipath -t
      3. or
      4. # multipathd show config
      1. For a list of configuration options with descriptions, see the
      2. multipath.conf man page.

      defaults {
      user_friendly_names yes
      find_multipaths yes
      }

      blacklist {
      wwid .*
      }

              virt-maint virt-maint
              mhoyer@redhat.com Martin Hoyer
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: