"Unexpected error while running command." when deploying jammy images with MAAS
Bug #1952226 reported by
Diego Mascialino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I am testing the deploy of 22.04 images using MAAS.
Curtin failed during the my first deploy.
Please find attached curtin-logs.tar
Let me know how can I help to debug it.
Related branches
~dbungert/curtin:udi-513
Merged
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 89 lines (+67/-0)2 files modifiedcurtin/block/__init__.py (+4/-0)
tests/unittests/test_block.py (+63/-0)
To post a comment you must log in.
I have also just experienced this failure today while refreshing maas-images to include the latest uploaded jammy release.
See attached curtin.txt for full log
finish: cmd-install/ stage-partition ing/builtin/ cmd-block- meta/clear- holders: FAIL: removing previous storage devices stage-partition ing/builtin/ cmd-block- meta: FAIL: curtin command block-meta curtin/ commands/ main.py" , line 202, in main curtin/ log.py" , line 97, in wrapper curtin/ log.py" , line 79, in log_time curtin/ commands/ block_meta. py", line 102, in block_meta clear(devices, state.get( 'report_ stack_prefix' , '')) curtin/ commands/ block_meta. py", line 1889, in meta_clear holders. clear_holders( devices) curtin/ block/clear_ holders. py", line 639, in clear_holders function( dev_info[ 'device' ]) curtin/ block/clear_ holders. py", line 244, in wipe_superblock extended_ partition( blockdev) : curtin/ block/_ _init__ .py", line 1084, in is_extended_ partition table_type( parent_ dev) in ['dos', 'msdos'] and curtin/ block/_ _init__ .py", line 1026, in get_part_table_type signature( device) else curtin/ block/_ _init__ .py", line 1058, in check_efi_signature sector_ size(devname) [0] curtin/ block/_ _init__ .py", line 785, in get_blockdev_ sector_ size ['LOG-SEC' ] stage-partition ing/builtin/ cmd-block- meta: curtin command block-meta
get_path_ to_storage_ volume for volume nvme0n1( {'grub_ device' : True, 'id': 'nvme0n1', 'model': 'INTEL SSDPE2KX010T8', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': 'PHLJ0023005Y1P 0FGN', 'type': 'disk', 'wipe': 'superblock'})
lookup_ disks found: ['nvme- INTEL_SSDPE2KX0 10T8_PHLJ002300 5Y1P0FGN' , 'nvme-INTEL_ SSDPE2KX010T8_ PHLJ0023005Y1P0 FGN-part1' , 'nvme-INTEL_ SSDPE2KX010T8_ PHLJ0023005Y1P0 FGN-part2' ]
/dev/nvme0n1 is multipath device? False
/dev/nvme0n1 is multipath device member? False
block. lookup_ disk() returning path /dev/nvme0n1
TIMED BLOCK_META: 1.260
finish: cmd-install/
Traceback (most recent call last):
File "/curtin/
ret = args.func(args)
File "/curtin/
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/curtin/
return func(*args, **kwargs)
File "/curtin/
meta_
File "/curtin/
clear_
File "/curtin/
shutdown_
File "/curtin/
if block.is_
File "/curtin/
return (get_part_
File "/curtin/
return ('gpt' if check_efi_
File "/curtin/
sector_size = get_blockdev_
File "/curtin/
logical = info[parent]
KeyError: 'LOG-SEC'
'LOG-SEC'
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: start: cmd-install/
Processing serial PHLJ0023005Y1P0FGN via udev to PHLJ0023005Y1P0FGN
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Running command ['multipath', '-c', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Running command ['partprobe', '/dev/nvme0n1'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.092
devsync happy - path /dev/nvme0n1 now exists
...