[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784673: marked as done (cloud-utils: growpart fails with gpt)

Your message dated Mon, 21 Mar 2016 07:00:23 +0000
with message-id <E1ahtp9-0004yk-OM@franck.debian.org>
and subject line Bug#784673: fixed in cloud-utils 0.28~bzr281-1
has caused the Debian Bug report #784673,
regarding cloud-utils: growpart fails with gpt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

784673: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784673
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cloud-utils
Version: 0.27-1
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

I did a ppc64el installation with the latest Jessie ; then on a 100G disk, put
the prep partition, the swap and a third partition for / leaving ~90G of free
space after.
Then after booting, I did this :
root@vm6:/tmp# growpart -v /dev/sda 3
max_end=0 tot=209712510 pt_end=0 pt_start=0 pt_size=0
NOCHANGE: partition 3 is size 0. it cannot be grown

The error seems related to the fact that the output of sfdisk is unusable :
growpart tries to parse : sfdisk -d /dev/sda which gives :
root@vm6:/tmp# sfdisk -C 13054 -H 255 -S 63 -uS -d /dev/sda
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=        1, size=209715199, Id=ee
/dev/sda2 : start=        0, size=        0, Id= 0
/dev/sda3 : start=        0, size=        0, Id= 0
/dev/sda4 : start=        0, size=        0, Id= 0

I did some checks with the latest util-linux 2.26.2 and it seems sfdisk has now
better support for gpt :
root@vm6:/tmp/util-linux-2.26.2/.libs# LD_LIBRARY_PATH=. ./sfdisk -d /dev/sda
label: gpt
label-id: 98B51944-1718-4DD3-9949-7C82C5BB03E3
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 209715166

/dev/sda1 : start=        2048, size=       14336, type=9E1A2D38-C612-4316-AA26-8B49521E5A8B, uuid=F667C2D9-0D4D-4FA4-8027-F218887A9062
/dev/sda2 : start=       16384, size=     7813120, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=9973294F-5AA6-4BF9-950C-5E35F8041AF4
/dev/sda3 : start=     7829504, size=     5859328, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=BB1DAB6B-3455-42BC-979C-0EDBE5EF660F

Then I adapted growpart (as sfdisk had some options changed) and ran it :
root@vm6:/tmp/util-linux-2.26.2/.libs# growpart -v /dev/sda 3
max_end=209712510 tot=209712510 pt_end=13688832 pt_start=7829504 pt_size=5859328
CHANGED: partition=3 start=7829504 old: size=5859328 end=13688832 new: size=201883006,end=209712510

root@vm6:/tmp/util-linux-2.26.2/.libs# LD_LIBRARY_PATH=. ./sfdisk  -uS -d /dev/sda
label: gpt
label-id: 98B51944-1718-4DD3-9949-7C82C5BB03E3
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 209715166

/dev/sda1 : start=        2048, size=       14336, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=F667C2D9-0D4D-4FA4-8027-F218887A9062
/dev/sda2 : start=       16384, size=     7813120, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=9973294F-5AA6-4BF9-950C-5E35F8041AF4
/dev/sda3 : start=     7829504, size=   201883006, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=BB1DAB6B-3455-42BC-979C-0EDBE5EF660F

I looked for those needed changes and :
- NEW/experimental: 2.26.2-2 : https://tracker.debian.org/pkg/util-linux
- https://code.launchpad.net/~smoser/cloud-utils/growpart-sfdisk-2.26
  : "initial start at sfdisk 2.26 support"

Everything seems on its way.
So, that'd be nice, when possible to update util-linux to 2.26.2 and have
cloud-utils with growpart and support for sfdisk 2.26.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16.0-4-powerpc64le (SMP w/80 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages cloud-utils depends on:
ii  e2fsprogs        1.42.12-1.1
ii  euca2ools        3.1.0-1
ii  file             1:5.22+15-2
ii  gnupg            1.4.19-2
ii  python           2.7.9-1
ii  python-paramiko  1.15.1-1
ii  python-yaml      3.11-2
ii  util-linux       2.25.2-6

Versions of packages cloud-utils recommends:
ii  distro-info         0.14
ii  python-distro-info  0.14

cloud-utils suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cloud-utils
Source-Version: 0.28~bzr281-1

We believe that the bug you reported is fixed in the latest version of
cloud-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 784673@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Tiago Ilieve <tiago.myhro@gmail.com> (supplier of updated cloud-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)

Hash: SHA256

Format: 1.8
Date: Thu, 10 Mar 2016 19:52:45 -0300
Source: cloud-utils
Binary: cloud-utils cloud-guest-utils cloud-image-utils cloud-utils-euca
Architecture: source all
Version: 0.28~bzr281-1
Distribution: unstable
Urgency: medium
Maintainer: Tiago Ilieve <tiago.myhro@gmail.com>
Changed-By: Tiago Ilieve <tiago.myhro@gmail.com>
 cloud-guest-utils - cloud guest utilities
 cloud-image-utils - cloud image management utilities
 cloud-utils - metapackage for installation of upstream cloud-utils source
 cloud-utils-euca - cloud image utilities wrapping euca2ools
Closes: 718247 747229 784673 793919
 cloud-utils (0.28~bzr281-1) unstable; urgency=medium
   [ Tiago Ilieve ]
   * New snapshot from upstream.
   * Add man page for cloud-localds. (Closes: #718247)
   * Add myself as maintainer.
   * Add NEWS file.
     - Mention the removal of deprecated links.
   * Fix GPT partition resize with sfdisk >= 2.26 (Closes: #784673)
   * Fix misspelling in growpart man page. (Closes: #793919)
   * Remove debian/clean as 'ubuntu-cloudimg-keyring.gpg' is not present
   * Remove Links for uec-resize-image, uec-publish-image and
     uec-publish-tarball, as they were deprecated.
   * Remove obsolete patches which their issues were fixed upstream:
     - also-support-sfdisk-2.26-and-higher.patch
     - do-not-use-EXIT-when-trapping.patch
   * Split binary packages: (Closes: #747229)
     - cloud-utils (metapackage)
     - cloud-guest-utils
     - cloud-image-utils
     - cloud-utils-euca
   * Update debian/copyright:
     - Add 2016 for Canonical contributions.
     - Add Hewlett-Packard to upstream authors.
     - Add myself to package maintainers.
     - Update upstream URL.
   * Update debian/rules to build with python3.
   * Update Standards-Version to 3.9.7 (no change).
   [ Antonio Terceiro ]
   * add myself to Uploaders:
 4bb0cbbd0c91ac4b1fd94a8e723f82ae5d380c09 2250 cloud-utils_0.28~bzr281-1.dsc
 a64c440102e01e3672e49515ae7f25c7667fd3a5 36084 cloud-utils_0.28~bzr281.orig.tar.xz
 0fe445e0ad2f2f417024e4dec88fa25367f0a25b 6940 cloud-utils_0.28~bzr281-1.debian.tar.xz
 d3955136c5686759574302c133fcf1679fbf4042 21450 cloud-guest-utils_0.28~bzr281-1_all.deb
 c2f2eb7d6dc90a3d9ebcec21fe493ecdbc52089c 22582 cloud-image-utils_0.28~bzr281-1_all.deb
 c5e89fb529e44605e147abbd8bd804622464ab6c 22206 cloud-utils-euca_0.28~bzr281-1_all.deb
 cfe1743682923fe677a2e6394fe3bad64bbc97a4 9120 cloud-utils_0.28~bzr281-1_all.deb
 27720c2ff7fcf259bd25e9d97d0af9ed54188c83ee6cd85cadb6abe74075369c 2250 cloud-utils_0.28~bzr281-1.dsc
 bf7c097bd4f5dbbe3a2fa7a38c9b745e2b2df4437d635abab40ef45ef3c9f442 36084 cloud-utils_0.28~bzr281.orig.tar.xz
 8ea7889f6f935b511e07463c7da4dc5fab490faed18be96c07f4a844f34f889e 6940 cloud-utils_0.28~bzr281-1.debian.tar.xz
 7188b0f33d031ab1b360a621ff05a9eccd056e4c2f5cca8e6135dfe7df54e610 21450 cloud-guest-utils_0.28~bzr281-1_all.deb
 6fa947f46be40c098bf283db8674d88ace20505721659083eb82ecb26d711f29 22582 cloud-image-utils_0.28~bzr281-1_all.deb
 e3cdc9a8b7008043cb370a444eeede08bbf080ffa7b047148cbb2b03deeaefd4 22206 cloud-utils-euca_0.28~bzr281-1_all.deb
 72d7c122a1124b8959466bb06d8e45131a8a347e7b21b257182787a473e37a71 9120 cloud-utils_0.28~bzr281-1_all.deb
 bf141f8da01cc7e98267d75e758471be 2250 admin extra cloud-utils_0.28~bzr281-1.dsc
 8ad773f05e4ec3305882e0dda1d76e8d 36084 admin extra cloud-utils_0.28~bzr281.orig.tar.xz
 f87f704a55f31b8c1bba5e82ae1cf05a 6940 admin extra cloud-utils_0.28~bzr281-1.debian.tar.xz
 9a0a4dcaebefd31f83122fa356b72448 21450 admin extra cloud-guest-utils_0.28~bzr281-1_all.deb
 53db7b44c00c78370bc7a6e3efd2ea2d 22582 admin extra cloud-image-utils_0.28~bzr281-1_all.deb
 951b0d2e5fa5819b5da017e66e08cd8c 22206 admin extra cloud-utils-euca_0.28~bzr281-1_all.deb
 f4a4c213730a4715db85711af6cc6be2 9120 admin extra cloud-utils_0.28~bzr281-1_all.deb

Version: GnuPG v1


--- End Message ---

Reply to: