RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1227599 - P2V invalid password prints unexpected end of file waiting for command prompt.
Summary: P2V invalid password prints unexpected end of file waiting for command prompt.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.2
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On:
Blocks: 1288337
TreeView+ depends on / blocked
 
Reported: 2015-06-03 05:54 UTC by tingting zheng
Modified: 2016-11-03 17:53 UTC (History)
6 users (show)

Fixed In Version: libguestfs-1.32.5-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 17:53:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1167916 0 unspecified CLOSED P2V: invalid conversion server prints unexpected end of file waiting for password prompt. 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2016:2576 0 normal SHIPPED_LIVE Moderate: libguestfs and virt-p2v security, bug fix, and enhancement update 2016-11-03 12:06:51 UTC

Internal Links: 1167916

Description tingting zheng 2015-06-03 05:54:42 UTC
Description of problem:
 P2V error:unexpected end of file waiting for command prompt when wrong user/password for conversion server given

Version-Release number of selected component (if applicable):
libguestfs-1.28.1-1.37.el7.x86_64
virt-v2v-1.28.1-1.37.el7.x86_64
livecd-p2v-201505191242.iso	

How reproducible:
100%

Steps to Reproduce:
1.Launch virt-p2v client.
2.Input correct conversion server ip.
3.Input either wrong user name or password.
4.Click "Test connection",unexpected end of file waiting for command prompt shows.

Actual results:
As description.

Expected results:
More clear error info shows.

Additional info:

Comment 2 Richard W.M. Jones 2015-06-03 09:49:07 UTC
Duplicate of bug 1167916?

Comment 3 Richard W.M. Jones 2015-06-03 09:51:31 UTC
(In reply to Richard W.M. Jones from comment #2)
> Duplicate of bug 1167916?

OK I see you added that in the 'see also' field.  Is there any
reason to think this bug is different from bug 1167916?

Anyway I am able to reproduce this easily just by running
virt-p2v on my laptop and typing in the wrong root password.
So obviously bug 1167916 is not fixed even upstream.

Comment 4 tingting zheng 2015-06-03 10:06:28 UTC
(In reply to Richard W.M. Jones from comment #3)
> (In reply to Richard W.M. Jones from comment #2)
> > Duplicate of bug 1167916?
> 
> OK I see you added that in the 'see also' field.  Is there any
> reason to think this bug is different from bug 1167916?
> 
> Anyway I am able to reproduce this easily just by running
> virt-p2v on my laptop and typing in the wrong root password.
> So obviously bug 1167916 is not fixed even upstream.

I file this bug just from QE's side,as they are 2 scenarios with different error info.

Comment 6 Richard W.M. Jones 2016-06-16 20:25:53 UTC
Upstream fix 3dd3bba77837f011d6fd81cd6c3407341e4a30c7.

Comment 8 mxie@redhat.com 2016-06-22 10:40:44 UTC
I can reproduce the bug with build
virt-p2v-1.28.1-1.51.3.el7

Try to verify the bug with build
virt-p2v-1.32.5-5.el7


Steps:

scenario1:

1.1 Boot the machine into p2v client via iso file
1.2 At the inputting conversion info interface,input conversion server's correct ip but input wrong username or wrong password, then click test connection, the error shows:  unexpected password prompt:probably the password supplied is wrong

Result now:
The error info shows correct


scenario2:

2.1 Boot the machine into p2v client via iso file
2.2 At the inputting conversion info interface,input bogus server info (the server's ip couldn't ping) and then click test connection, the error shows: timeout waiting for password prompt

Result now:
The error info shows correct


scenario3:

3.1 Boot the machine into p2v client via iso file
3.2 At the inputting conversion info interface,input correct server info which has old virt-v2v or not installed virt-v2v,then click test connection, the error shows:virt-v2v is not installed on the conversion server,or it might be a too old version

Result now
The error info shows correct

According to above results, the bug has been fixed

So move the bug from ON_QA to VERIFIED

Comment 10 errata-xmlrpc 2016-11-03 17:53:18 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.

https://rhn.redhat.com/errata/RHSA-2016-2576.html


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