2016-11-14 16:47:12 |
Ruslan Lutsenko |
bug |
|
|
added bug |
2016-11-14 16:47:12 |
Ruslan Lutsenko |
attachment added |
|
complete debug log https://bugs.launchpad.net/bugs/1641661/+attachment/4777313/+files/log |
|
2016-11-14 16:50:02 |
Ruslan Lutsenko |
branch linked |
|
lp:~ruslan-lutcenko/curtin/curtin |
|
2016-11-14 18:04:45 |
Jon Grimm |
bug |
|
|
added subscriber Jon Grimm |
2016-11-14 19:18:15 |
Ryan Harper |
curtin: status |
New |
Confirmed |
|
2016-11-14 19:18:27 |
Ryan Harper |
curtin: importance |
Undecided |
Medium |
|
2016-11-15 15:25:02 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/curtin/trunk.lp1641661 |
|
2016-11-29 20:45:41 |
Launchpad Janitor |
branch linked |
|
lp:curtin |
|
2016-12-01 22:16:30 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/zesty/curtin/pkg |
|
2017-01-18 16:05:36 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/xenial/curtin/pkg-sru-r437 |
|
2017-01-18 17:39:47 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/xenial/curtin/pkg |
|
2017-01-18 20:14:38 |
Scott Moser |
bug task added |
|
curtin (Ubuntu) |
|
2017-01-18 20:22:28 |
Scott Moser |
nominated for series |
|
Ubuntu Zesty |
|
2017-01-18 20:22:28 |
Scott Moser |
bug task added |
|
curtin (Ubuntu Zesty) |
|
2017-01-18 20:22:28 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2017-01-18 20:22:28 |
Scott Moser |
bug task added |
|
curtin (Ubuntu Xenial) |
|
2017-01-18 20:22:28 |
Scott Moser |
nominated for series |
|
Ubuntu Yakkety |
|
2017-01-18 20:22:28 |
Scott Moser |
bug task added |
|
curtin (Ubuntu Yakkety) |
|
2017-01-18 20:22:51 |
Scott Moser |
curtin (Ubuntu Zesty): status |
New |
Fix Released |
|
2017-01-18 20:22:55 |
Scott Moser |
curtin (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-01-18 20:23:30 |
Scott Moser |
curtin (Ubuntu Yakkety): status |
New |
Triaged |
|
2017-01-18 20:23:33 |
Scott Moser |
curtin (Ubuntu Xenial): status |
New |
Triaged |
|
2017-01-18 20:23:35 |
Scott Moser |
curtin (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-01-18 20:23:37 |
Scott Moser |
curtin (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2017-01-18 20:52:32 |
Scott Moser |
description |
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
I've added commit which fixes mentioned error: http://bazaar.launchpad.net/~ruslan-lutcenko/curtin/curtin/revision/431 |
----- Begin SRU Template -----
[Impact]
Curtin is unable to partition md (raid) devices.
A system configured to put partitions on a raided device will fail to
install.
[Test Case]
We added 2 test paths for this code to curtin
a.) unit tests - these will run in the build process, so successful build
verifies that this has passed.
b.) vmtests named: *MirrorbootPartitions
vmtests are currently only run on trunk, but we can modify source
to run with the packaged version. So, then to test the md path
with a vm install, we will:
i) run a xenial system
ii) enable proposed
iii) install curtin
iv) run vmtests of the Mirrorboot tests using curtin from the sru.
[Regression Potential]
Quite low, the path for failure would be if there were some cases
when the device name for a mdadm partition was /dev/mdNM rather than
/dev/mdNpM.
[Other Info]
The upstream merge proposal is at
https://code.launchpad.net/~raharper/curtin/trunk.lp1641661/+merge/311275
and shows the code that went in to fix this.
----- End SRU Template -----
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
I've added commit which fixes mentioned error: http://bazaar.launchpad.net/~ruslan-lutcenko/curtin/curtin/revision/431 |
|
2017-01-24 10:24:56 |
Łukasz Zemczak |
curtin (Ubuntu Yakkety): status |
Triaged |
Fix Committed |
|
2017-01-24 10:24:58 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-01-24 10:25:03 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2017-01-24 10:25:06 |
Łukasz Zemczak |
tags |
|
verification-needed |
|
2017-01-31 16:59:08 |
Scott Moser |
tags |
verification-needed |
verification-needed-xenial verification-needed-yakkety |
|
2017-01-31 21:09:13 |
Scott Moser |
curtin (Ubuntu Xenial): status |
Triaged |
Fix Committed |
|
2017-02-01 14:40:04 |
Scott Moser |
attachment added |
|
yakkety-1641661 output dir https://bugs.launchpad.net/curtin/+bug/1641661/+attachment/4811757/+files/yakkety-1641661.tar.xz |
|
2017-02-01 14:40:42 |
Scott Moser |
attachment added |
|
xenial-1641661 output dir https://bugs.launchpad.net/curtin/+bug/1641661/+attachment/4811758/+files/xenial-1641661.tar.xz |
|
2017-02-01 14:42:09 |
Scott Moser |
tags |
verification-needed-xenial verification-needed-yakkety |
verification-done-xenial verification-done-yakkety |
|
2017-02-01 20:48:41 |
Launchpad Janitor |
curtin (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-02-01 20:48:55 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-02-02 16:37:27 |
Launchpad Janitor |
curtin (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2017-02-07 20:24:48 |
Launchpad Janitor |
branch linked |
|
lp:~curtin-dev/curtin/zesty |
|
2017-02-17 03:27:31 |
Launchpad Janitor |
branch linked |
|
lp:~curtin-dev/curtin/yakkety |
|
2017-12-15 22:11:01 |
Scott Moser |
curtin: status |
Confirmed |
Fix Released |
|