2014-02-26 14:52:20 |
Scott Moser |
bug |
|
|
added bug |
2014-02-26 14:52:20 |
Scott Moser |
attachment added |
|
cloud-init.log from failure https://bugs.launchpad.net/bugs/1285197/+attachment/3997881/+files/cloud-init.log |
|
2014-02-26 15:00:26 |
Scott Moser |
bug task added |
|
gdisk (Ubuntu) |
|
2014-02-27 02:02:42 |
Rod Smith |
bug |
|
|
added subscriber Roderick Smith |
2014-03-06 01:25:04 |
Serge Hallyn |
cloud-utils (Ubuntu): importance |
Undecided |
High |
|
2014-03-06 01:25:06 |
Serge Hallyn |
gdisk (Ubuntu): importance |
Undecided |
High |
|
2014-05-01 21:49:52 |
Anton Blanchard |
bug |
|
|
added subscriber Anton Blanchard |
2014-10-21 11:47:08 |
Launchpad Janitor |
cloud-utils (Ubuntu): status |
New |
Confirmed |
|
2014-10-21 11:47:08 |
Launchpad Janitor |
gdisk (Ubuntu): status |
New |
Confirmed |
|
2015-06-19 07:42:59 |
Barry Price |
bug |
|
|
added subscriber The Canonical Sysadmins |
2015-06-19 09:29:08 |
William Grant |
gdisk (Ubuntu): assignee |
|
William Grant (wgrant) |
|
2015-06-19 09:29:11 |
William Grant |
gdisk (Ubuntu): status |
Confirmed |
In Progress |
|
2015-06-19 15:10:22 |
Scott Moser |
cloud-utils (Ubuntu): status |
Confirmed |
Invalid |
|
2015-06-19 15:10:27 |
Scott Moser |
bug task deleted |
cloud-utils (Ubuntu) |
|
|
2015-06-19 23:06:00 |
William Grant |
nominated for series |
|
Ubuntu Trusty |
|
2015-06-19 23:06:00 |
William Grant |
bug task added |
|
gdisk (Ubuntu Trusty) |
|
2015-06-19 23:06:00 |
William Grant |
nominated for series |
|
Ubuntu Wily |
|
2015-06-19 23:06:00 |
William Grant |
bug task added |
|
gdisk (Ubuntu Wily) |
|
2015-06-19 23:06:00 |
William Grant |
nominated for series |
|
Ubuntu Vivid |
|
2015-06-19 23:06:00 |
William Grant |
bug task added |
|
gdisk (Ubuntu Vivid) |
|
2015-06-19 23:06:00 |
William Grant |
nominated for series |
|
Ubuntu Utopic |
|
2015-06-19 23:06:00 |
William Grant |
bug task added |
|
gdisk (Ubuntu Utopic) |
|
2015-06-19 23:06:10 |
William Grant |
gdisk (Ubuntu Trusty): assignee |
|
William Grant (wgrant) |
|
2015-06-19 23:06:11 |
William Grant |
gdisk (Ubuntu Utopic): assignee |
|
William Grant (wgrant) |
|
2015-06-19 23:06:13 |
William Grant |
gdisk (Ubuntu Vivid): assignee |
|
William Grant (wgrant) |
|
2015-06-19 23:06:15 |
William Grant |
gdisk (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-06-19 23:06:16 |
William Grant |
gdisk (Ubuntu Utopic): importance |
Undecided |
High |
|
2015-06-19 23:06:18 |
William Grant |
gdisk (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-06-19 23:06:20 |
William Grant |
gdisk (Ubuntu Trusty): status |
New |
In Progress |
|
2015-06-19 23:06:22 |
William Grant |
gdisk (Ubuntu Utopic): status |
New |
In Progress |
|
2015-06-19 23:06:23 |
William Grant |
gdisk (Ubuntu Vivid): status |
New |
In Progress |
|
2015-06-20 00:15:20 |
William Grant |
nominated for series |
|
Ubuntu Precise |
|
2015-06-20 00:15:20 |
William Grant |
bug task added |
|
gdisk (Ubuntu Precise) |
|
2015-06-20 00:15:30 |
William Grant |
gdisk (Ubuntu Precise): assignee |
|
William Grant (wgrant) |
|
2015-06-20 00:15:33 |
William Grant |
gdisk (Ubuntu Precise): importance |
Undecided |
High |
|
2015-06-20 00:15:35 |
William Grant |
gdisk (Ubuntu Precise): status |
New |
In Progress |
|
2015-06-20 00:25:42 |
William Grant |
description |
growpart uses sgdisk to resize gpt partition tables and then
'partx --update' to inform the kernel of those changes.
an example usage of sgdisk ends up looking like this:
# Modify the partition table. all in one go (order is important!):
# - move the GPT backup header to the end of the disk
# - delete the partition
# - recreate the partition with the new size
# - set the partition code
# - set the partition GUID
# - set the partition name
sgdisk --move-second-header --delete=1 --new=1:18432:20971486
--typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4
--partition-guid=1:53FFEF70-1623-46CC-AFB7-EBC1EB5340F2
'--change-name=1:Linux filesystem' /dev/sda
We're seeing an issue on ppc64el systems with gpt partition tables.
This reproduces only occasionally.
Note, when growpart runs, the partition it is updating is mounted.
It does this to accomodate space at the end (a grow virtual disk).
The failure we saw was this (we only have logs), and subsequent run of
'growpart' finished fine:
command: growpart /dev/sda 1
exit code: 2
stdout:
FAILED: disk=/dev/sda partition=1: failed to repartition
stderr:
failed [sgdisk_mod:4] sgdisk --move-second-header --delete=1
--new=1:18432:20971486 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4
--partition-guid=1:53FFEF70-1623-46CC-AFB7-EBC1EB5340F2
--change-name=1:Linux filesystem /dev/sda
Could not create partition 1 from 40532396646334464 to 0
Could not change partition 1's type code to 0FC63DAF-8483-4772-8E79-3D69D8477DE4!
Unable to set partition 1's name to 'Linux filesystem'!
Error encountered; not saving changes.
***** WARNING: Resize failed, attempting to revert ******
***** Appears to have gone OK ****
Note there the odd '1 from 40532396646334464 to 0'.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-guest-utils 0.27-0ubuntu7
ProcVersionSignature: User Name 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic ppc64le
ApportVersion: 2.13.2-0ubuntu5
Architecture: ppc64el
Date: Wed Feb 26 14:50:02 2014
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-utils
UpgradeStatus: No upgrade log present (probably fresh install) |
growpart uses sgdisk to resize gpt partition tables and then
'partx --update' to inform the kernel of those changes.
an example usage of sgdisk ends up looking like this:
# Modify the partition table. all in one go (order is important!):
# - move the GPT backup header to the end of the disk
# - delete the partition
# - recreate the partition with the new size
# - set the partition code
# - set the partition GUID
# - set the partition name
sgdisk --move-second-header --delete=1 --new=1:18432:20971486
--typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4
--partition-guid=1:53FFEF70-1623-46CC-AFB7-EBC1EB5340F2
'--change-name=1:Linux filesystem' /dev/sda
We're seeing an issue on ppc64el systems with gpt partition tables.
This reproduces only occasionally.
Note, when growpart runs, the partition it is updating is mounted.
It does this to accomodate space at the end (a grow virtual disk).
The failure we saw was this (we only have logs), and subsequent run of
'growpart' finished fine:
command: growpart /dev/sda 1
exit code: 2
stdout:
FAILED: disk=/dev/sda partition=1: failed to repartition
stderr:
failed [sgdisk_mod:4] sgdisk --move-second-header --delete=1
--new=1:18432:20971486 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4
--partition-guid=1:53FFEF70-1623-46CC-AFB7-EBC1EB5340F2
--change-name=1:Linux filesystem /dev/sda
Could not create partition 1 from 40532396646334464 to 0
Could not change partition 1's type code to 0FC63DAF-8483-4772-8E79-3D69D8477DE4!
Unable to set partition 1's name to 'Linux filesystem'!
Error encountered; not saving changes.
***** WARNING: Resize failed, attempting to revert ******
***** Appears to have gone OK ****
Note there the odd '1 from 40532396646334464 to 0'.
[Test Case]
On a ppc64el system with a sacrificial GPT disk (because it will blow away your /dev/sda1):
while sudo sgdisk --delete=1 --new=1:18432:37748702 /dev/sda; do :; done
This will normally fail after less than 20 iterations, usually like this:
Could not create partition 1 from 40532396646334464 to 0
[Regression Potential]
Very minimal. The patch just initialises an uninitialised variable, which happens to usually (and on x86 apparently always) contain a benign value.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-guest-utils 0.27-0ubuntu7
ProcVersionSignature: User Name 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic ppc64le
ApportVersion: 2.13.2-0ubuntu5
Architecture: ppc64el
Date: Wed Feb 26 14:50:02 2014
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-utils
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2015-06-20 01:02:04 |
Adam Conrad |
gdisk (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2015-06-20 01:02:09 |
Adam Conrad |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-06-20 01:02:15 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2015-06-20 01:02:21 |
Adam Conrad |
tags |
apport-bug cloud-images ppc64el trusty |
apport-bug cloud-images ppc64el trusty verification-needed |
|
2015-06-20 01:02:34 |
Adam Conrad |
gdisk (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-06-20 01:03:09 |
Adam Conrad |
gdisk (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-06-20 01:23:15 |
William Grant |
gdisk (Ubuntu Utopic): status |
In Progress |
Fix Committed |
|
2015-06-20 01:23:19 |
Adam Conrad |
gdisk (Ubuntu Wily): status |
In Progress |
Fix Committed |
|
2015-06-20 01:43:41 |
William Grant |
tags |
apport-bug cloud-images ppc64el trusty verification-needed |
apport-bug cloud-images ppc64el trusty verification-done-trusty verification-needed |
|
2015-06-20 01:51:41 |
Launchpad Janitor |
gdisk (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2015-06-20 02:12:19 |
William Grant |
tags |
apport-bug cloud-images ppc64el trusty verification-done-trusty verification-needed |
apport-bug cloud-images ppc64el trusty verification-done-precise verification-done-trusty verification-done-utopic verification-done-vivid |
|
2015-06-20 08:02:16 |
Launchpad Janitor |
gdisk (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2015-06-20 08:02:21 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-06-20 08:02:29 |
Launchpad Janitor |
gdisk (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-06-20 08:02:45 |
Launchpad Janitor |
gdisk (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-06-20 08:21:45 |
Launchpad Janitor |
gdisk (Ubuntu Utopic): status |
Fix Committed |
Fix Released |
|
2015-06-23 00:43:35 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/gdisk |
|
2015-06-23 00:43:43 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/gdisk |
|
2015-06-23 00:43:51 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/precise/gdisk/precise-proposed |
|
2015-06-23 00:44:02 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/gdisk |
|