Bug 1256743 - Cannot install packages using virt-builder because of missing space, even though it was resized before
Summary: Cannot install packages using virt-builder because of missing space, even tho...
Keywords:
Status: CLOSED RAWHIDE
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:
: 1288689 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-25 11:21 UTC by Jan Sedlák
Modified: 2015-12-05 07:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-25 11:55:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Sedlák 2015-08-25 11:21:13 UTC
Description of problem:
When I try to install @Fedora Workstation group using "--install" command, it shows:

virt-builder fedora-22 -o disk_f22_desktop_64bit.img --size 20G --arch x86_64 --run-command "dnf -y remove firewalld*; setarch x86_64 dnf -y update" --selinux-relabel --install "@Fedora Workstation" --root-password password:weakpassword --firstboot-command 'useradd -m -p "" ejohn'
...
Error Summary
-------------
Disk Requirements:
  At least 488MB more space needed on the / filesystem.

virt-builder: error: dnf -y install '@Fedora Workstation': command exited 
with an error

even though I have specified big enough "--size" before. I have tried to increase --size by 10G, but it still shows the same error.

Version-Release number of selected component (if applicable):
virt-builder 1.30.0fedora=22,release=1.fc22,libvirt

Comment 1 Pino Toscano 2015-08-25 11:35:09 UTC
Do you have libguestfs-xfs installed? If not, please install it and try again.

Comment 2 Jan Sedlák 2015-08-25 11:45:04 UTC
Yes, it works with libguestfs-xfs installed.

Comment 4 Richard W.M. Jones 2015-12-05 07:37:03 UTC
*** Bug 1288689 has been marked as a duplicate of this bug. ***


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