curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #00176
[Bug 1875512] [NEW] Install failure when zfcp-host devices selected, mpath had no syspath
Public bug reported:
When performing a zVM install to zfcp-host devices, subiquity crashes with a curtin traceback reporting:
OSError: /dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
Zdev setup
ID ONLINE NAMES
generic-ccw
0.0.0009 ▸
0.0.000c ▸
0.0.000d ▸
0.0.000e ▸
dasd-eckd
0.0.0190 ▸
0.0.0191 ▸
0.0.019d ▸
0.0.019e ▸
0.0.0200 ▸
0.0.0201 ▸
0.0.0592 ▸
qeth
0.0.0600:0.0.0601:0.0.0602 enc600 ▸
dasd-eckd
0.0.1e1b ▸
zfcp-host
0.0.f201 online ▸
0x50050763060b96b6:0x4036400100000000 sda sg0
0x50050763061b96b6:0x4036400100000000 sdb sg1
0.0.f301 online ▸
0x50050763060b96b6:0x4036400100000000 sdd sg3
0x50050763061b96b6:0x4036400100000000 sdc sg2
When prompted the installer wizard offers up the mpath device:
Configure a guided storage layout, or create a custom one:
(X) Use an entire disk
[ 0x6005076306ffd6b60000000000003601 multipath device 64.000G ▾ ]
FILE SYSTEM SUMMARY
MOUNT POINT SIZE TYPE DEVICE TYPE
[ / 63.998G new ext4 new partition of multipath device ▸ ]
AVAILABLE DEVICES
No available devices
[ Create software RAID (md) ▸ ]
[ Create volume group (LVM) ▸ ]
USED DEVICES
DEVICE TYPE SIZE
[ 0x6005076306ffd6b60000000000003601 multipath device 64.000G ▸ ]
partition 1 new, to be formatted as ext4, mounted at / 63.998G ▸
root@ubuntu-server:/var/log/curtin# ls /sys/class/block/
dasda dm-1 loop1 loop3 loop5 loop7 sda1 sdb1 sdc1 sdd1
dm-0 loop0 loop2 loop4 loop6 sda sdb sdc sdd
Traceback (most recent call last):
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
ret = args.func(args)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
return func(*args, **kwargs)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 96, in block_meta
meta_clear(devices, state.get('report_stack_prefix', ''))
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1832, in meta_clear
clear_holders.clear_holders(devices)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 611, in clear_holders
holder_trees = [gen_holders_tree(path) for path in base_paths]
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 611, in <listcomp>
holder_trees = [gen_holders_tree(path) for path in base_paths]
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 433, in gen_holders_tree
device = block.sys_block_path(device)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/__init__.py", line 148, in sys_block_path
(parent, partnum) = get_blockdev_for_partition(devname, strict=strict)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/__init__.py", line 396, in get_blockdev_for_partition
raise OSError("%s had no syspath (%s)" % (devpath, syspath))
OSError: /dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
/dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
** Affects: curtin
Importance: Undecided
Status: New
** Affects: ubuntu-z-systems
Importance: Undecided
Status: New
** Tags: s390x
** Attachment added: "curtin_mpatha_had_no_syspath.tar.gz"
https://bugs.launchpad.net/bugs/1875512/+attachment/5362085/+files/curtin_mpatha_had_no_syspath.tar.gz
** Also affects: curtin
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of curtin
developers, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/1875512
Title:
Install failure when zfcp-host devices selected, mpath had no syspath
Status in curtin:
New
Status in Ubuntu on IBM z Systems:
New
Bug description:
When performing a zVM install to zfcp-host devices, subiquity crashes with a curtin traceback reporting:
OSError: /dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
Zdev setup
ID ONLINE NAMES
generic-ccw
0.0.0009 ▸
0.0.000c ▸
0.0.000d ▸
0.0.000e ▸
dasd-eckd
0.0.0190 ▸
0.0.0191 ▸
0.0.019d ▸
0.0.019e ▸
0.0.0200 ▸
0.0.0201 ▸
0.0.0592 ▸
qeth
0.0.0600:0.0.0601:0.0.0602 enc600 ▸
dasd-eckd
0.0.1e1b ▸
zfcp-host
0.0.f201 online ▸
0x50050763060b96b6:0x4036400100000000 sda sg0
0x50050763061b96b6:0x4036400100000000 sdb sg1
0.0.f301 online ▸
0x50050763060b96b6:0x4036400100000000 sdd sg3
0x50050763061b96b6:0x4036400100000000 sdc sg2
When prompted the installer wizard offers up the mpath device:
Configure a guided storage layout, or create a custom one:
(X) Use an entire disk
[ 0x6005076306ffd6b60000000000003601 multipath device 64.000G ▾ ]
FILE SYSTEM SUMMARY
MOUNT POINT SIZE TYPE DEVICE TYPE
[ / 63.998G new ext4 new partition of multipath device ▸ ]
AVAILABLE DEVICES
No available devices
[ Create software RAID (md) ▸ ]
[ Create volume group (LVM) ▸ ]
USED DEVICES
DEVICE TYPE SIZE
[ 0x6005076306ffd6b60000000000003601 multipath device 64.000G ▸ ]
partition 1 new, to be formatted as ext4, mounted at / 63.998G ▸
root@ubuntu-server:/var/log/curtin# ls /sys/class/block/
dasda dm-1 loop1 loop3 loop5 loop7 sda1 sdb1 sdc1 sdd1
dm-0 loop0 loop2 loop4 loop6 sda sdb sdc sdd
Traceback (most recent call last):
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
ret = args.func(args)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
return func(*args, **kwargs)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 96, in block_meta
meta_clear(devices, state.get('report_stack_prefix', ''))
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1832, in meta_clear
clear_holders.clear_holders(devices)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 611, in clear_holders
holder_trees = [gen_holders_tree(path) for path in base_paths]
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 611, in <listcomp>
holder_trees = [gen_holders_tree(path) for path in base_paths]
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 433, in gen_holders_tree
device = block.sys_block_path(device)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/__init__.py", line 148, in sys_block_path
(parent, partnum) = get_blockdev_for_partition(devname, strict=strict)
File "/snap/subiquity/1773/lib/python3.6/site-packages/curtin/block/__init__.py", line 396, in get_blockdev_for_partition
raise OSError("%s had no syspath (%s)" % (devpath, syspath))
OSError: /dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
/dev/mapper/mpatha had no syspath (/sys/class/block/mpatha)
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1875512/+subscriptions