Hi

@fernando-ferraz asked me to proceed with the tests.

I used this /etc/multipath.conf file:
devices {
  device {
    vendor "SolidFir"
    product "SSD SAN"
    detect_checker "yes"
  }
}
blacklist {
  device {
    vendor "SolidFir"
   product "SSD SAN"
  }
}

Without the correction patch I got the same error.

Then I installed the patch 0.7.4 (proposed enabled).

My steps were:
1. Set multipath config
2. Stop multipath-tools service
3. Create a solidfire volume
4. Attach volume to a existent instance
5. Start multipath-tools service
6. run sudo multipath -v6 -ll

Output:
Jun 24 12:11:56 | loading //lib/multipath/libchecktur.so checker
Jun 24 12:11:56 | loading //lib/multipath/libprioconst.so prioritizer
Jun 24 12:11:56 | Discover device 
/sys/devices/pci0000:00/0000:00:06.0/virtio3/block/vda
Jun 24 12:11:56 | vda: dev not found in pathvec
Jun 24 12:11:56 | 252:0: dev_t not found in pathvec
Jun 24 12:11:56 | vda: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device 
/sys/devices/pci0000:00/0000:00:06.0/virtio3/block/vda/vda1
Jun 24 12:11:56 | Discover device 
/sys/devices/pci0000:00/0000:00:06.0/virtio3/block/vda/vda14
Jun 24 12:11:56 | Discover device 
/sys/devices/pci0000:00/0000:00:06.0/virtio3/block/vda/vda15
Jun 24 12:11:56 | Discover device 
/sys/devices/platform/host2/session3/target2:0:0/2:0:0:0/block/sda
Jun 24 12:11:56 | sda: dev not found in pathvec
Jun 24 12:11:56 | 8:0: dev_t not found in pathvec
Jun 24 12:11:56 | sda: udev property ID_WWN whitelisted
Jun 24 12:11:56 | sda: mask = 0x7
Jun 24 12:11:56 | sda: dev_t = 8:0
Jun 24 12:11:56 | open 
'/sys/devices/platform/host2/session3/target2:0:0/2:0:0:0/block/sda/size'
Jun 24 12:11:56 | sda: size = 2097152
Jun 24 12:11:56 | sda: vendor = SolidFir
Jun 24 12:11:56 | sda: product = SSD SAN
Jun 24 12:11:56 | sda: rev = 0001
Jun 24 12:11:56 | sda: h:b:t:l = 2:0:0:0
Jun 24 12:11:56 | sda: tgt_node_name = 
iqn.2010-01.com.solidfire:xpsi.uuid-9a54f710-4104-4bd8-a53d-59df79a9ac1e.8441
Jun 24 12:11:56 | open 
'/sys/devices/platform/host2/session3/target2:0:0/2:0:0:0/state'
Jun 24 12:11:56 | sda: path state = running
Jun 24 12:11:56 | sda: 1011 cyl, 34 heads, 61 sectors/track, start at 0
Jun 24 12:11:56 | open 
'/sys/devices/platform/host2/session3/target2:0:0/2:0:0:0/vpd_pg80'
Jun 24 12:11:56 | sda: serial = 78707369000020f9f47acc0100000000
Jun 24 12:11:56 | sda: get_state
Jun 24 12:11:56 | sda: detect_checker = yes (setting: storage device 
configuration)
Jun 24 12:11:56 | failed to issue vpd inquiry for pgc9
Jun 24 12:11:56 | sda: path_checker = tur (setting: multipath internal)
Jun 24 12:11:56 | sda: checker timeout = 30 s (setting: multipath internal)
Jun 24 12:11:56 | sda: tur state = up
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop0
Jun 24 12:11:56 | loop0: dev not found in pathvec
Jun 24 12:11:56 | 7:0: dev_t not found in pathvec
Jun 24 12:11:56 | loop0: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop1
Jun 24 12:11:56 | loop1: dev not found in pathvec
Jun 24 12:11:56 | 7:1: dev_t not found in pathvec
Jun 24 12:11:56 | loop1: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop2
Jun 24 12:11:56 | loop2: dev not found in pathvec
Jun 24 12:11:56 | 7:2: dev_t not found in pathvec
Jun 24 12:11:56 | loop2: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop3
Jun 24 12:11:56 | loop3: dev not found in pathvec
Jun 24 12:11:56 | 7:3: dev_t not found in pathvec
Jun 24 12:11:56 | loop3: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop4
Jun 24 12:11:56 | loop4: dev not found in pathvec
Jun 24 12:11:56 | 7:4: dev_t not found in pathvec
Jun 24 12:11:56 | loop4: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop5
Jun 24 12:11:56 | loop5: dev not found in pathvec
Jun 24 12:11:56 | 7:5: dev_t not found in pathvec
Jun 24 12:11:56 | loop5: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop6
Jun 24 12:11:56 | loop6: dev not found in pathvec
Jun 24 12:11:56 | 7:6: dev_t not found in pathvec
Jun 24 12:11:56 | loop6: blacklisted, udev property missing
Jun 24 12:11:56 | Discover device /sys/devices/virtual/block/loop7
Jun 24 12:11:56 | loop7: dev not found in pathvec
Jun 24 12:11:56 | 7:7: dev_t not found in pathvec
Jun 24 12:11:56 | loop7: blacklisted, udev property missing
Jun 24 12:11:56 | Discovered 1/10 paths
===== paths list =====
uuid hcil    dev dev_t pri dm_st chk_st vend/prod/rev    dev_st
     2:0:0:0 sda 8:0   -1  undef undef  SolidFir,SSD SAN unknown
Jun 24 12:11:56 | libdevmapper version 1.02.145 (2017-11-03)
Jun 24 12:11:56 | DM multipath kernel driver v1.13.0
Jun 24 12:11:56 | tur checker refcount 1
Jun 24 12:11:56 | unloading const prioritizer
Jun 24 12:11:56 | unloading tur checker

This patch seems to fix the issue. Very long names are not a problem and
the checker does not break anymore.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891202

Title:
  Multipathd hangs with long iscsi target names in Ubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1891202/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to