[Bug 1285197] Re: growpart failed in ppc64el guest

2015-11-09 Thread Rod Smith
FWIW, this is fixed upstream (in GPT fdisk 1.0.1), and bug 1514400 now
requests an update to that version.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-20 Thread Launchpad Bug Tracker
This bug was fixed in the package gdisk - 0.8.8-1ubuntu0.1

---
gdisk (0.8.8-1ubuntu0.1) trusty-proposed; urgency=medium

  * debian/patches/bug-1285197.diff: Don't leave suffix uninitialised when
none was passed to IeeeToInt. Fixes incorrect partition boundaries and
other failures on ppc64el and possibly other architectures. (LP: #1285197)

 -- William Grant   Fri, 19 Jun 2015 19:34:36 +1000

** Changed in: gdisk (Ubuntu Utopic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-20 Thread Launchpad Bug Tracker
This bug was fixed in the package gdisk - 0.8.10-2ubuntu0.1

---
gdisk (0.8.10-2ubuntu0.1) vivid-proposed; urgency=medium

  * debian/patches/bug-1285197.diff: Don't leave suffix uninitialised when
none was passed to IeeeToInt. Fixes incorrect partition boundaries and
other failures on ppc64el and possibly other architectures. (LP: #1285197)

 -- William Grant   Sat, 20 Jun 2015 10:10:22 +1000

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-20 Thread Launchpad Bug Tracker
This bug was fixed in the package gdisk - 0.8.1-1ubuntu0.1

---
gdisk (0.8.1-1ubuntu0.1) precise-proposed; urgency=medium

  * debian/patches/bug-1285197.diff: Don't leave suffix uninitialised when
none was passed to IeeeToInt. Fixes incorrect partition boundaries and
other failures on ppc64el and possibly other architectures. (LP: #1285197)

 -- William Grant   Sat, 20 Jun 2015 10:13:21 +1000

** Changed in: gdisk (Ubuntu Precise)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-20 Thread Launchpad Bug Tracker
This bug was fixed in the package gdisk - 0.8.8-1ubuntu0.1

---
gdisk (0.8.8-1ubuntu0.1) trusty-proposed; urgency=medium

  * debian/patches/bug-1285197.diff: Don't leave suffix uninitialised when
none was passed to IeeeToInt. Fixes incorrect partition boundaries and
other failures on ppc64el and possibly other architectures. (LP: #1285197)

 -- William Grant   Fri, 19 Jun 2015 19:34:36 +1000

** Changed in: gdisk (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

** Changed in: gdisk (Ubuntu Vivid)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Tags removed: verification-needed
** Tags added: verification-done-precise verification-done-utopic 
verification-done-vivid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread Launchpad Bug Tracker
This bug was fixed in the package gdisk - 1.0.0-2ubuntu1

---
gdisk (1.0.0-2ubuntu1) wily; urgency=medium

  * debian/patches/bug-1285197.diff: Don't leave suffix uninitialised when
none was passed to IeeeToInt. Fixes incorrect partition boundaries and
other failures on ppc64el and possibly other architectures. (LP: #1285197)

 -- William Grant   Sat, 20 Jun 2015 10:04:18 +1000

** Changed in: gdisk (Ubuntu Wily)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Tags added: verification-done-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
Copied trusty-proposed to utopic-proposed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Changed in: gdisk (Ubuntu Utopic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread Adam Conrad
** Changed in: gdisk (Ubuntu Wily)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread Adam Conrad
Hello Scott, or anyone else affected,

Accepted gdisk into precise-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/gdisk/0.8.1-1ubuntu0.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: gdisk (Ubuntu Precise)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: gdisk (Ubuntu Trusty)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Description changed:

  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
+   # 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.  
+ 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 
+ 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
+   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 
+   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=
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: cloud-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Also affects: gdisk (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: gdisk (Ubuntu Precise)
 Assignee: (unassigned) => William Grant (wgrant)

** Changed in: gdisk (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: gdisk (Ubuntu Precise)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Also affects: gdisk (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: gdisk (Ubuntu Wily)
   Importance: High
 Assignee: William Grant (wgrant)
   Status: In Progress

** Also affects: gdisk (Ubuntu Vivid)
   Importance: Undecided
   Status: New

** Also affects: gdisk (Ubuntu Utopic)
   Importance: Undecided
   Status: New

** Changed in: gdisk (Ubuntu Trusty)
 Assignee: (unassigned) => William Grant (wgrant)

** Changed in: gdisk (Ubuntu Utopic)
 Assignee: (unassigned) => William Grant (wgrant)

** Changed in: gdisk (Ubuntu Vivid)
 Assignee: (unassigned) => William Grant (wgrant)

** Changed in: gdisk (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: gdisk (Ubuntu Utopic)
   Importance: Undecided => High

** Changed in: gdisk (Ubuntu Vivid)
   Importance: Undecided => High

** Changed in: gdisk (Ubuntu Trusty)
   Status: New => In Progress

** Changed in: gdisk (Ubuntu Utopic)
   Status: New => In Progress

** Changed in: gdisk (Ubuntu Vivid)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread Scott Moser
** Changed in: cloud-utils (Ubuntu)
   Status: Confirmed => Invalid

** No longer affects: cloud-utils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
Fixed in
https://launchpad.net/~wgrant/+archive/ubuntu/nonvirt/+packages, and
proposed upstream at https://sourceforge.net/p/gptfdisk/code/merge-
requests/6/.

Will sort out trusty->wily uploads.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2015-06-19 Thread William Grant
** Changed in: gdisk (Ubuntu)
 Assignee: (unassigned) => William Grant (wgrant)

** Changed in: gdisk (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gdisk (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cloud-utils (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-04-07 Thread Scott Moser
Well, for the first time in quite a while, I saw this on a 20140407 image.
There were other things changed though, this system:
 * had a 120G root (versus normal ~10G)
 * is a power 8 host
 * had 4 cores not 2

relavent output (cleaned from /var/log/cloud-init.log):
2014-04-07 15:19:51,256 - util.py[WARNING]: Failed: growpart /dev/sda 1
2014-04-07 15:19:51,257 - util.py[DEBUG]: Failed: growpart /dev/sda 1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cloudinit/config/cc_growpart.py", line 
109, in resize
util.subp(["growpart", diskdev, partnum])
  File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1539, in subp
cmd=args)
ProcessExecutionError: Unexpected error while running command.
Command: ['growpart', '/dev/sda', '1']
Exit code: 2
Reason: -
Stdout: 
  FAILED: disk=/dev/sda partition=1: failed to repartition
  Warning! Current disk size doesn't match that of the backup!
  Adjusting sizes to match, but subsequent problems are possible!
  Warning: The kernel is still using the old partition table.
  The new table will be used at the next reboot.
  The operation has completed successfully.
Stderr:
  failed [sgdisk_mod:4] sgdisk --move-second-header --delete=1 
--new=1:18432:251658206 --typecode=1:0FC63DAF-8483-4772-8E79-3D69D8477DE4 
--partition-guid=1:C0311AC8-8E4B-4FB1-AA6D-F0FD7B470DBF 
--change-name=1: /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 ''!
  Error encountered; not saving changes.
  * WARNING: Resize failed, attempting to revert **
  * Appears to have gone OK 

(remember 'The operation has completed successfully' is the revert
operation).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-03-05 Thread Serge Hallyn
** Changed in: cloud-utils (Ubuntu)
   Importance: Undecided => High

** Changed in: gdisk (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-02-26 Thread Scott Moser
Sent email to upstream mailing list at
http://sourceforge.net/p/gptfdisk/mailman/message/32030093/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1285197] Re: growpart failed in ppc64el guest

2014-02-26 Thread Scott Moser
To generally reproduce what is going on here via use of /dev/loop0, we can
do:

imgurl="http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-ppc64el-gpt1.img";
 imgdist="${imgurl##*/}"
 wget "$imgurl" -O "$imgdist"
 qemu-img convert -O raw "$imgdist" my.img
 qemu-img resize my.img 10G
 LODEV="/dev/loop0"
 sudo losetup $LODEV "$PWD/my.img"
 mkdir ./mp
 sudo mount ${LODEV}p1 ./mp
 sudo growpart "$LODEV" 1
 
 sudo umount ./mp
 sudo losetup -d "$LODEV" 


** Also affects: gdisk (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1285197

Title:
  growpart failed in ppc64el guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs