Bug 1472208

Summary: virt-v2v fails on opensuse 13.2 guest with error: statns: statns_stub: path must start with a / character
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1472288 (view as bug list) Environment:
Last Closed: 2017-07-27 21:51:11 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:
Bug Depends On:    
Bug Blocks: 1472288    
Attachments:
Description Flags
virt-v2v -v -x output none

Description Richard W.M. Jones 2017-07-18 09:15:28 UTC
Description of problem:

$ virt-builder opensuse-13.2 
$ virt-v2v -i disk opensuse-13.2.img -o null
[   0.0] Opening the source -i disk opensuse-13.2.img
[   0.0] Creating an overlay to protect the source from being modified
[   0.0] Initializing the target -o null
[   0.0] Opening the overlay
[  10.7] Inspecting the overlay
[  13.3] Checking for sufficient free disk space in the guest
[  13.3] Estimating space required on target for each disk
[  13.3] Converting openSUSE 13.2 (Harlequin) (x86_64) to run on KVM
virt-v2v: warning: no initrd was found in /boot matching kernel-default 
3.16.7-24-default.
virt-v2v: error: libguestfs error: statns: statns_stub: path must start 
with a / character

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

  virt-v2v -v -x [...]


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

libguestfs 1.37.17

How reproducible:

100%

Steps to Reproduce:
1. See above.

Comment 1 Richard W.M. Jones 2017-07-18 09:16:10 UTC
Created attachment 1300339 [details]
virt-v2v -v -x output

Comment 2 Richard W.M. Jones 2017-07-18 09:19:10 UTC
Even with perl & perl-Bootloader installed in the guest I see the
same error.

Comment 3 Richard W.M. Jones 2017-07-18 10:01:37 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2017-July/msg00154.html