Bug#805444: multipath-tools: Installation fails with "Unit blk-availability.service failed to load"

Ritesh Raj Sarraf rrs at researchut.com
Fri Nov 20 07:36:32 UTC 2015


Control: tag -1 pending

On Wed, 2015-11-18 at 17:16 +0530, Ritesh Raj Sarraf wrote:
> So. I'll look into it soon (but it may take some time). Meanwhile, if
> you have any suggestions/fixes/patches, please add them to this bug
> report.


Okay. The issue may only be reproducible if you upgrade from the old
mulitpath (with no systemd support) to the new one, which is when
systemd will notice the missing dependency.

But even then, this should not be a failure during general operation.
But ofcourse, by breaking during installation/upgradation, it does
warrant an "important" severity.

The immediate fix should be to drop the blk-availability.service
because that may be something Fedora specific.


rrs at learner:~$ ssh 172.16.10.70
rrs at 172.16.10.70's password: 

The programs included with the Debian GNU/Linux system are free
software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Nov 18 17:11:33 2015 from 172.16.10.1
rrs at debian-btrfs:~$ su -
Password: 
root at debian-btrfs:~# multipath -ll
36001405c2d2d9a03751406691395e741 dm-0 LIO-ORG,IBLOCK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=50 status=active
  |- 3:0:0:0 sdc 8:32 active ready running
  `- 4:0:0:0 sdb 8:16 active ready running
36001405226c2409d98a4e35ba427b274 dm-1 LIO-ORG,IBLOCK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=50 status=active
  |- 3:0:0:1 sde 8:64 active ready running
  `- 4:0:0:1 sdd 8:48 active ready running

root at debian-btrfs:~# systemctl status multipathd -l
● multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/lib/systemd/system/multipathd.service; enabled;
vendor preset: enabled)
   Active: active (running) since Fri 2015-11-20 12:53:23 IST; 2min 13s
ago
  Process: 168 ExecStartPre=/sbin/modprobe dm-multipath (code=exited,
status=0/SUCCESS)
 Main PID: 185 (multipathd)
   Status: "running"
   CGroup: /system.slice/multipathd.service
           └─185 /sbin/multipathd -d -s

Nov 20 12:53:28 debian-btrfs multipathd[185]: sde [8:64]: path added to
devmap 36001405226c2409d98a4e35ba427b274
Nov 20 12:53:28 debian-btrfs multipathd[185]: sdb: add path (uevent)
Nov 20 12:53:28 debian-btrfs multipathd[185]:
36001405c2d2d9a03751406691395e741: load table [0 2097152 multipath 0 0
1 1 round-robin 0 2 1 8:32 50 8:16 50]
Nov 20 12:53:28 debian-btrfs multipathd[185]: sdb [8:16]: path added to
devmap 36001405c2d2d9a03751406691395e741
Nov 20 12:53:28 debian-btrfs multipathd[185]: sdd: add path (uevent)
Nov 20 12:53:28 debian-btrfs multipathd[185]:
36001405226c2409d98a4e35ba427b274: load table [0 2097152 multipath 0 0
1 1 round-robin 0 2 1 8:64 50 8:48 50]
Nov 20 12:53:28 debian-btrfs multipathd[185]: sdd [8:48]: path added to
devmap 36001405226c2409d98a4e35ba427b274
Nov 20 12:53:28 debian-btrfs systemd[1]: multipathd.service: Cannot add
dependency job, ignoring: Unit blk-availability.service failed to load:
No such file or directory.
Nov 20 12:53:32 debian-btrfs systemd[1]: multipathd.service: Cannot add
dependency job, ignoring: Unit blk-availability.service failed to load:
No such file or directory.
Nov 20 12:55:02 debian-btrfs systemd[1]: multipathd.service: Cannot add
dependency job, ignoring: Unit blk-availability.service failed to load:
No such file or directory.
root at debian-btrfs:~# 


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20151120/dad81d7a/attachment.sig>


More information about the pkg-lvm-maintainers mailing list