2015-04-13 16:46:11 |
Robie Basak |
bug |
|
|
added bug |
2015-04-13 16:46:20 |
Robie Basak |
bug |
|
|
added subscriber Ryan Beisner |
2015-04-13 16:47:19 |
Ryan Beisner |
tags |
|
openstack uosci |
|
2015-05-11 21:43:28 |
Launchpad Janitor |
curtin (Ubuntu): status |
New |
Confirmed |
|
2015-05-14 15:04:13 |
Scott Moser |
attachment added |
|
hacktest: loop https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1443542/+attachment/4397511/+files/hacktest |
|
2015-05-14 15:14:23 |
Scott Moser |
attachment removed |
hacktest: loop https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1443542/+attachment/4397511/+files/hacktest |
|
|
2015-05-14 15:14:56 |
Scott Moser |
attachment added |
|
hacktest.sh: loop over create update expect https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1443542/+attachment/4397512/+files/hacktest.sh |
|
2015-06-05 13:50:44 |
Scott Moser |
bug task added |
|
curtin |
|
2015-06-05 13:50:52 |
Scott Moser |
curtin: status |
New |
Fix Committed |
|
2015-06-05 13:50:55 |
Scott Moser |
curtin: importance |
Undecided |
Medium |
|
2015-06-05 13:50:57 |
Scott Moser |
curtin (Ubuntu): importance |
Undecided |
Medium |
|
2015-06-05 13:51:27 |
Scott Moser |
curtin (Ubuntu): status |
Confirmed |
Fix Released |
|
2015-06-05 13:52:38 |
Scott Moser |
nominated for series |
|
Ubuntu Vivid |
|
2015-06-05 13:52:38 |
Scott Moser |
bug task added |
|
curtin (Ubuntu Vivid) |
|
2015-06-05 13:52:38 |
Scott Moser |
nominated for series |
|
Ubuntu Trusty |
|
2015-06-05 13:52:38 |
Scott Moser |
bug task added |
|
curtin (Ubuntu Trusty) |
|
2015-06-05 13:52:45 |
Scott Moser |
curtin (Ubuntu Trusty): status |
New |
Confirmed |
|
2015-06-05 13:52:47 |
Scott Moser |
curtin (Ubuntu Vivid): status |
New |
Confirmed |
|
2015-06-05 13:52:50 |
Scott Moser |
curtin (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2015-06-05 13:52:52 |
Scott Moser |
curtin (Ubuntu Vivid): importance |
Undecided |
Medium |
|
2015-06-22 14:39:56 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/trusty/curtin/trusty-sru |
|
2015-06-22 16:05:30 |
Scott Moser |
description |
The file /dev/sda1 does not exist and no size was specified.
Unexpected error while running command.
Command: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: b"The file /dev/sda1 does not exist and no size was specified.\nUnexpected error while running command.\nCommand: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']\nExit code: 1\nReason: -\nStdout: ''\nStderr: ''\n"
Stderr: ''
This happened 4 out of 10 times when Ryan tested it.
Could this be a race condition because /dev/sda1 hasn't had time to come into existence between when curtin partitions the disk and when curtin tries to create a filesystem on the partition? |
=== Begin SRU Template ===
[Description]
Installation fails, with log information showing:
Unexpected error while running command.
Command: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
This is a result of curtin having done:
a.) partition the disk
b.) invoke wipefs on the block device with an offset to where the partition started
The intent of that was to ensure that there were no fileystem signatures or other interesting metadata (lvm, raid) on the partition.
The issue was two fold:
a.) wipefs always invokes rereadpt on the disk it wipes
b.) wipefs opened the block device, not the partition.
Both of these things cause a flurry of udev events that may result in the device having an open filehandle, and thus mkfs refusing to create a filesystem on it.
The solution is to replace 'wipefs' with our own 'wipe_partition' that does not open the block device, but rather only the partition and does not invoke rereadpt.
[Impact]
Installation fails occasionally.
[Test Case]
In the original bug-opener's environment it fails fairly reliably under heavy host load using vmware. He would do a deploy to several guests on the same host at the same time and this would reproduce. Unfortunately I was unable to come up with a test case in a less complex environment.
[Regression Potential]
Not specifically a regression, but it is possible that we need additional 'udevadm settle' after the internal 'wipe_partition'
=== End SRU Template ===
The file /dev/sda1 does not exist and no size was specified.
Unexpected error while running command.
Command: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: b"The file /dev/sda1 does not exist and no size was specified.\nUnexpected error while running command.\nCommand: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']\nExit code: 1\nReason: -\nStdout: ''\nStderr: ''\n"
Stderr: ''
This happened 4 out of 10 times when Ryan tested it.
Could this be a race condition because /dev/sda1 hasn't had time to come into existence between when curtin partitions the disk and when curtin tries to create a filesystem on the partition? |
|
2015-06-24 20:19:08 |
Chris J Arges |
curtin (Ubuntu Trusty): status |
Confirmed |
Fix Committed |
|
2015-06-24 20:19:11 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-06-24 20:19:13 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-06-24 20:19:17 |
Chris J Arges |
tags |
openstack uosci |
openstack uosci verification-needed |
|
2015-06-24 20:22:59 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/curtin |
|
2015-06-24 20:27:21 |
Chris J Arges |
curtin (Ubuntu Vivid): status |
Confirmed |
Fix Committed |
|
2015-06-24 20:32:55 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/curtin |
|
2015-07-09 21:03:48 |
Scott Moser |
tags |
openstack uosci verification-needed |
openstack uosci verification-done |
|
2015-07-15 18:47:45 |
Launchpad Janitor |
curtin (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-07-15 18:48:13 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-07-15 18:48:34 |
Launchpad Janitor |
curtin (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2017-12-15 22:23:29 |
Scott Moser |
curtin: status |
Fix Committed |
Fix Released |
|