Bug 1250670 - libguestfs-test-tool succeeds but guestmount fails [NEEDINFO]
libguestfs-test-tool succeeds but guestmount fails
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-05 14:12 EDT by Itamar
Modified: 2015-08-05 15:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rjones: needinfo? (itamarggal)


Attachments (Terms of Use)
libguestfs-test-tool output (42.95 KB, text/plain)
2015-08-05 14:12 EDT, Itamar
no flags Details

  None (edit)
Description Itamar 2015-08-05 14:12:53 EDT
Created attachment 1059580 [details]
libguestfs-test-tool output

Description of problem:

libguestfs-test-tool succeeds but guestmount fails with the following error:

    libguestfs: error: guestfs_launch failed.


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

guestmount 1.20.11rhel=6,release=11.el6

libguestfs-test-tool 1.20.11rhel=6,release=11.el6


How reproducible:


Steps to Reproduce:
1. sudo guestmount -a "${path_to_vdi_file}" -i --ro /mnt/mountpoint
2.
3.

Actual results:

libguestfs: error: guestfs_launch failed.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
and/or run 'libguestfs-test-tool'.

Expected results:

mounted vdi file-system at mountpoint, no error message

Additional info:

Running on CentOS 6.6
Comment 1 Richard W.M. Jones 2015-08-05 15:08:23 EDT
To find out what the real error is you should enable debugging
in the guestmount command by adding the --verbose and --trace
flags, as in this example:

$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.7 Beta (Santiago)
$ guestfish -N fs exit
$ mkdir /tmp/mp
$ guestmount -a test1.img -m /dev/sda1 --verbose --trace /tmp/mp

That will produce a lot of debug output which should identify the
error.  If you cannot tell from that what's going on, then copy
the *complete* output from your failing guestmount command as
an attachment to this bug.

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