Bug 624963

Summary: virt-v2v fails when executed with umask 077
Product: Red Hat Enterprise Linux 6 Reporter: Matthew Booth <mbooth>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0CC: llim, mbooth, mkenneth, mshao, rjones, rwu
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: virt-v2v-0.6.2-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 610875 Environment:
Last Closed: 2010-11-10 21:54:38 UTC Type: ---
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: 610875    
Bug Blocks: 610880    

Comment 2 RHEL Program Management 2010-08-18 09:18:24 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Matthew Booth 2010-08-18 09:58:52 UTC
This is a very simple fix which has been hitting customers on RHEL 5.

Comment 4 Matthew Booth 2010-08-18 14:50:33 UTC
Fixed in virt-v2v-0.6.2-3.el6.

Comment 6 Rita Wu 2010-08-19 05:37:21 UTC
Verified with virt-v2v-0.6.2-3.el6+ libguestfs-1.2.7-1.23.el6.x86_64

Now guest without registering RHN can be converted successfully with umask 077
# ls /var/lib/virt-v2v/
software
# umask 077 virt-v2v
# virt-v2v -ic xen+ssh://10.66.93.224 -o rhev -osd 10.66.90.115:/vol/v2vrwu/rwuv2v/xen_export xen-rhel54-32-pv.raw
root.93.224's password: 
root.93.224's password: 
virt-v2v: WARNING: No mapping found for bridge interface xenbr0 in config file. The converted guest may not start until its network interface is updated.
virt-v2v: xen-rhel54-32-pv.raw configured with virtio drivers

# ll 
total 138180
drwxr-xr-x. 4 root root      4096 Aug 19 20:03 software
-rw-r--r--. 1 root root 141490176 Aug 19 20:40 transfer.iso

Comment 7 releng-rhel@redhat.com 2010-11-10 21:54:38 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.