Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Descriptionmxie@redhat.com
2017-10-11 10:15:02 UTC
Description of problem:
Error info shows wrong sometimes when ssh to conversion server using non-root user with sudo on p2v client
Version-Release number of selected component (if applicable):
virt-p2v-1.36.5-1.el7
How reproducible:
70%
Steps to Reproduce:
1.Not add non-user with password in sudoers file
# cat /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
2. Boot the source machine into p2v client via iso
3. After virt-p2v client launched, fill information as following:
Conversion server: 10.66.xx.xx : 22
User name:mm(a non-root user)
Password:******
4. Check "Use sudo when running virt-v2v" button
5.Press "Test connection" button and then shows error info "virt-v2v is not installed on the conversion server, or it might be a too old version"
6.If continue press "Test connection" button repeatedly,correct error info "sudo for user"mm"requires a password.Edit/etc/sudoers on the conversion server to ensure the "NOPASSWD:"option is set for this user" may show out
Actual results:
As above description
Expected results:
Should show error info "sudo for user"mm"requires a password.Edit/etc/sudoers on the conversion server to ensure the "NOPASSWD:"option is set for this user" in step5 with 100 percent
Additional info:
1.It is a regressed problem from bug 1349342
2.Also can reproduce the problem on virt-p2v-1.36.3-2.el7 and virt-p2v-1.32.7-2.el7
Comment 2Richard W.M. Jones
2017-10-11 12:20:53 UTC
Not able to reproduce this with virt-p2v / virt-v2v 1.37.29.
I'll try it shortly with RHEL 7.5 packages instead.
Comment 3Richard W.M. Jones
2017-10-11 13:49:09 UTC
I *can* reproduce this with virt-p2v 1.37.29 connecting to a RHEL 7.5
server with virt-v2v 1.36.6-2.el7 installed.
Comment 4Richard W.M. Jones
2017-10-11 14:17:23 UTC
To verify the bug with below builds:
virt-p2v-1.36.7-1.el7.x86_64
remote v2v server:
libvirt-3.8.0-1.el7.x86_64-
virt-v2v-1.36.7-1.el7.x86_64
Steps:
Steps to Reproduce:
1.Not add non-user with password in sudoers file
# cat /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
2. Boot the source machine into p2v client via iso
3. After virt-p2v client launched, fill information as following:
Conversion server: 10.66.xx.xx : 22
User name:mm(a non-root user)
Password:******
4. Check "Use sudo when running virt-v2v" button :
5.Press "Test connection" button and then shows right info "sudo for user"XX"requires a password.Edit/etc/sudoers on the conversion server to ensure the "NOPASSWD:"option is set for this user"
6.Continue press several times(>10),info still right.
7.Change another v2v server,also show the right info.
So,from above result ,the bug has fixed ,move the bug to VERIFIED
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://access.redhat.com/errata/RHBA-2018:0677