Bug 1196100

Summary: virt-builder -x option on its own does not enable tracing
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Pino Toscano <ptoscano>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-26 13:08:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2015-02-25 10:09:31 UTC
Description of problem:

$ virt-builder -x fedora-21
[   9.0] Downloading: http://libguestfs.org/download/builder/fedora-21.xz
[  10.0] Planning how to build this image
[  10.0] Uncompressing
[  21.0] Opening the new disk
[  80.0] Setting a random seed
[  80.0] Setting passwords
virt-builder: Setting random password of root to 9jgDhKIcf6X42Qke
[  81.0] Finishing off
                   Output file: /tmp/test-fedora-21.img
                   Output size: 4.0G
                 Output format: raw
            Total usable space: 5.2G
                    Free space: 4.5G (86%)

No trace output!

Version-Release number of selected component (if applicable):

virt-builder 1.29.25

Comment 1 Pino Toscano 2015-02-26 09:03:45 UTC
Patch posted:
  https://www.redhat.com/archives/libguestfs/2015-February/msg00195.html

Comment 2 Pino Toscano 2015-02-26 13:08:36 UTC
Fixed with
https://github.com/libguestfs/libguestfs/commit/be79bdfd3acb25018feb2a808aa1343c2cc8b95c
which is in libguestfs >= 1.29.27.