Bug 799869

Summary: Failed to start virt-p2v-server on remote host:Warning: Use of "shift" without parentheses is ambiguous at /usr/bin/virt-p2v-server line 402.
Product: Red Hat Enterprise Linux 6 Reporter: tingting zheng <tzheng>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.3CC: rjones, rwu, yupzhang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-v2v-0.8.7-3.el6 Doc Type: Bug Fix
Doc Text:
No documentation required. This was never in a RHEL release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:42:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tingting zheng 2012-03-05 10:18:11 UTC
Description of Problem:
When using virt-p2v to convert a physical host,it failed to start virt-p2v-server on remote host.
Also when start virt-p2v-server,there is warning: Use of "shift" without parentheses is ambiguous at /usr/bin/virt-p2v-server line 402.

Version-Release number of selected component:
virt-v2v-0.8.7-1.el6.x86_64
rubygem-virt-p2v-0.8.6-1.el6


How reproducible:
Always

Step to Reproduce:
1.Download the virt-p2v iso from brewweb.

2.Plug in USB,boot the Live CD with USB
#livecd-iso-to-disk --format VirtP2V_0.8.6-1.iso  /dev/sdb 

4.Boot from USB,input the ip and password of conversion server,when click connect,error occured:Failed to start virt-p2v-server on remote host


Actual Results:
When connect the conversion server,there is error:Failed to start virt-p2v-server on remote host


Expected Results:
It should connect the conversion server successfully.

Additional info:
When start virt-p2v-server on conversion server manully,there is warning:
Warning: Use of "shift" without parentheses is ambiguous at /usr/bin/virt-p2v-server line 402.
VIRT_P2V_SERVER 0.8.7

Comment 4 yuping zhang 2012-03-09 07:31:25 UTC
I can reproduce this issue with virt-v2v-0.8.7-1.el6.x86_64
# /usr/bin/virt-p2v-server 
Warning: Use of "shift" without parentheses is ambiguous at /usr/bin/virt-p2v-server line 402.
VIRT_P2V_SERVER 0.8.7
^C

Verified this issue with:
virt-v2v-0.8.7-4.el6.x86_64
# rpm -Uvh virt-v2v-0.8.7-4.el6.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:virt-v2v               ########################################### [100%]
# /usr/bin/virt-p2v-server 
VIRT_P2V_SERVER 0.8.7

So change the bug status to VERIFIED.

Comment 5 Matthew Booth 2012-04-11 14:07:13 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation required.

This was never in a RHEL release.

Comment 7 errata-xmlrpc 2012-06-20 12:42:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0788.html