It seem curtin has problem with software RAID partitioning: md*
Trying to deploy node in MAAS Version 2.0.0+bzr5189-0ubuntu1 (16.04.1).
During partitioning stage curtin returns following error:
An error occured handling 'md0-part1': OSError - could not get path to dev from kname: md01
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: failed: configuring partition: md0-part1
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: failed: curtin command block-meta
Traceback (most recent call last):
File "/curtin/curtin/commands/main.py", line 211, in main
ret = args.func(args)
File "/curtin/curtin/commands/block_meta.py", line 62, in block_meta
meta_custom(args)
File "/curtin/curtin/commands/block_meta.py", line 1041, in meta_custom
handler(command, storage_config_dict)
File "/curtin/curtin/commands/block_meta.py", line 550, in partition_handler
get_path_to_storage_volume(info.get('id'), storage_config),
File "/curtin/curtin/commands/block_meta.py", line 267, in get_path_to_storage_volume
volume_path = block.kname_to_path(partition_kname)
File "/curtin/curtin/block/__init__.py", line 114, in kname_to_path
raise OSError('could not get path to dev from kname: {}'.format(kname))
OSError: could not get path to dev from kname: md01
could not get path to dev from kname: md01
builtin command failed
finish: cmd-install/stage-partitioning/builtin: FAIL: failed: running 'curtin block-meta custom'
builtin took 8.861 seconds
It seem curtin has problem with software RAID partitioning: md* 0ubuntu1 (16.04.1).
Trying to deploy node in MAAS Version 2.0.0+bzr5189-
During partitioning stage curtin returns following error:
An error occured handling 'md0-part1': OSError - could not get path to dev from kname: md01 stage-partition ing/builtin/ cmd-block- meta: FAIL: failed: configuring partition: md0-part1 stage-partition ing/builtin/ cmd-block- meta: FAIL: failed: curtin command block-meta curtin/ commands/ main.py" , line 211, in main curtin/ commands/ block_meta. py", line 62, in block_meta custom( args) curtin/ commands/ block_meta. py", line 1041, in meta_custom command, storage_ config_ dict) curtin/ commands/ block_meta. py", line 550, in partition_handler path_to_ storage_ volume( info.get( 'id'), storage_config), curtin/ commands/ block_meta. py", line 267, in get_path_ to_storage_ volume to_path( partition_ kname) curtin/ block/_ _init__ .py", line 114, in kname_to_path stage-partition ing/builtin: FAIL: failed: running 'curtin block-meta custom'
finish: cmd-install/
finish: cmd-install/
Traceback (most recent call last):
File "/curtin/
ret = args.func(args)
File "/curtin/
meta_
File "/curtin/
handler(
File "/curtin/
get_
File "/curtin/
volume_path = block.kname_
File "/curtin/
raise OSError('could not get path to dev from kname: {}'.format(kname))
OSError: could not get path to dev from kname: md01
could not get path to dev from kname: md01
builtin command failed
finish: cmd-install/
builtin took 8.861 seconds
I've added commit which fixes mentioned error: http:// bazaar. launchpad. net/~ruslan- lutcenko/ curtin/ curtin/ revision/ 431