Comment 56 for bug 1878041

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2021-01-26 14:33 EDT-------
Log contains:
get_blockdev_sector_size: (log=4096, phys=4096)
Running command ['fdasd', '--table', '/dev/dm-36'] with allowed return codes [0] (capture=False)
Checking if /dev/dm-36 is a swap device
Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-36'] with allowed return codes [0] (capture=True)
/dev/dm-36 is multipath device? False
Running command ['multipath', '-c', '/dev/dm-36'] with allowed return codes [0] (capture=True)
/dev/dm-36 is multipath device member? False
wiping superblock on /dev/dm-36
wiping /dev/dm-36 attempt 1/4
wiping 1M on /dev/dm-36 at offsets [0, -1048576]
successfully wiped device /dev/dm-36 on attempt 1/4
shutdown running on holder type: 'disk' syspath: '/sys/class/block/dm-34'
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/dm-34'] with allowed return codes [0] (capture=True)
get_blockdev_sector_size: info:
{
"dm-34": {
"ALIGNMENT": "0",
"DISC-ALN": "0",
"DISC-GRAN": "0",
"DISC-MAX": "0",
"DISC-ZERO": "0",
"FSTYPE": "",
"GROUP": "disk",
"KNAME": "dm-34",
"LABEL": "",
"LOG-SEC": "4096",
"MAJ:MIN": "253:34",
"MIN-IO": "4096",
"MODE": "brw-rw----",
"MODEL": "",
"MOUNTPOINT": "",
"NAME": "mpathr",
"OPT-IO": "0",
"OWNER": "root",
"PHY-SEC": "4096",
"RM": "0",
"RO": "0",
"ROTA": "1",
"RQ-SIZE": "256",
"SIZE": "9931038130176",
"STATE": "running",
"TYPE": "mpath",
"UUID": "",
"device_path": "/dev/dm-34"
},
"dm-35": {
"ALIGNMENT": "0",
"DISC-ALN": "0",
"DISC-GRAN": "0",
"DISC-MAX": "0",
"DISC-ZERO": "0",
"FSTYPE": "",
"GROUP": "disk",
"KNAME": "dm-35",
"LABEL": "",
"LOG-SEC": "4096",
"MAJ:MIN": "253:35",
"MIN-IO": "4096",
"MODE": "brw-rw----",
"MODEL": "",
"MOUNTPOINT": "",
"NAME": "mpathr-part1",
"OPT-IO": "0",
"OWNER": "root",
"PHY-SEC": "4096",
"RM": "0",
"RO": "0",
"ROTA": "1",
"RQ-SIZE": "128",
"SIZE": "8388608",
"STATE": "running",
"TYPE": "part",
"UUID": "",
"device_path": "/dev/dm-35"
},
"dm-36": {
"ALIGNMENT": "0",
"DISC-ALN": "0",
"DISC-GRAN": "0",
"DISC-MAX": "0",
"DISC-ZERO": "0",
"FSTYPE": "",
"GROUP": "disk",
"KNAME": "dm-36",
"LABEL": "",
"LOG-SEC": "4096",
"MAJ:MIN": "253:36",
"MIN-IO": "4096",
"MODE": "brw-rw----",
"MODEL": "",
"MOUNTPOINT": "",
"NAME": "mpathr-part2",
"OPT-IO": "0",
"OWNER": "root",
"PHY-SEC": "4096",
"RM": "0",
"RO": "0",
"ROTA": "1",
"RQ-SIZE": "128",
"SIZE": "1073741824",
"STATE": "running",
"TYPE": "part",
"UUID": "",
"device_path": "/dev/dm-36"
}
}
get_blockdev_sector_size: (log=4096, phys=4096)
Checking if /dev/dm-34 is a swap device
Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-34'] with allowed return codes [0] (capture=True)
/dev/dm-34 is multipath device? True
Running command ['multipathd', 'show', 'maps', 'raw', 'format', "name='%n' multipath='%w' sysfs='%d' paths='%N'"] with allowed return codes [0] (capture=True)
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: removing previous storage devices
TIMED BLOCK_META: 8.751
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
Traceback (most recent call last):
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
ret = args.func(args)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
return func(*args, **kwargs)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 102, in block_meta
meta_clear(devices, state.get('report_stack_prefix', ''))
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1870, in meta_clear
clear_holders.clear_holders(devices)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 633, in clear_holders
shutdown_function(dev_info['device'])
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 297, in wipe_superblock
mpath_id = multipath.find_mpath_id(blockdev)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/block/multipath.py", line 145, in find_mpath_id
maps = show_maps()
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/block/multipath.py", line 35, in show_maps
return _extract_mpath_data(cmd, 'maps')
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/block/multipath.py", line 15, in _extract_mpath_data
data, _err = util.subp(cmd, capture=True)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/util.py", line 275, in subp
return _subp(*args, **kwargs)
File "/snap/subiquity/2101/lib/python3.6/site-packages/curtin/util.py", line 141, in _subp
cmd=args)
curtin.util.ProcessExecutionError: Unexpected error while running command.
Command: ['multipathd', 'show', 'maps', 'raw', 'format', "name='%n' multipath='%w' sysfs='%d' paths='%N'"]
Exit code: 1
Reason: -
Stdout: timeout receiving packet

Stderr: ''
Unexpected error while running command.
Command: ['multipathd', 'show', 'maps', 'raw', 'format', "name='%n' multipath='%w' sysfs='%d' paths='%N'"]
Exit code: 1
Reason: -
Stdout: timeout receiving packet

Stderr: ''

Stderr: ''