Bug 1282732 - virt-builder can't resize debian-8 images
Summary: virt-builder can't resize debian-8 images
Keywords:
Status: CLOSED DUPLICATE of bug 1266658
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-17 09:27 UTC by Marius Vollmer
Modified: 2015-11-17 09:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-17 09:55:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marius Vollmer 2015-11-17 09:27:19 UTC
This fails:

$ virt-builder --format qcow2 --size 10G --root-password=password:foobar debian-8
[   5,2] Downloading: http://libguestfs.org/download/builder/debian-8.xz
[   5,8] Planning how to build this image
[   5,8] Uncompressing
[  15,0] Resizing (using virt-resize) to expand the disk to 10,0G
virt-resize: error: libguestfs error: part_set_mbr_id: sfdisk --part-type: 
Extended partition already exists.
sfdisk: /dev/sdb: partition 2: failed to set partition type

If reporting bugs, run virt-resize with debugging enabled and include the 
complete output:

  virt-resize -v -x [...]

Version-Release number of selected component (if applicable):
libguestfs-tools-c-1.30.4-1.fc22.x86_64

How reproducible:
Always

Comment 1 Richard W.M. Jones 2015-11-17 09:55:34 UTC
This is fixed upstream but the fixes haven't been backported to
the 1.30 branch (yet).  See:
https://bugzilla.redhat.com/show_bug.cgi?id=1266658#c4

*** This bug has been marked as a duplicate of bug 1266658 ***


Note You need to log in before you can comment on or make changes to this bug.