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.

Bug 617389

Summary: if remote hypervisor username different than local virt-manager client machine username, confusion ensues
Product: Red Hat Enterprise Linux 6 Reporter: Máirín Duffy <duffy>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: dallan, xen-maint, yoyzhang
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:46:27 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:
Attachments:
Description Flags
screenshot of the 'add connection' dialog none

Description Máirín Duffy 2010-07-22 21:56:40 UTC
Created attachment 433818 [details]
screenshot of the 'add connection' dialog

Description of problem:
my username on my local laptop on which i run virt-manager is duffy.
my access to the remote hypervisor on which my guests run is via the 'root' account, through my ssh key.

when i used the 'Add connection' dialog, this vital knowledge was not at the front of my mind. since the 'hostname' field is labeled 'hostname' i didn't not realize, once i thought that maybe the username was an issue, that you could type a username@ in the field.

i don't know what the right answer is though. maybe have a separate username field that defaults to the local username? or a tooltip that lets you know you can type usernames?

maybe suggest to users upon a failed connection that you tried to connect as 'duffy' but maybe should try as 'root'?

Version-Release number of selected component (if applicable):
virt-manager-0.8.4-7.el6.noarch

Comment 2 RHEL Program Management 2010-07-22 22:17:51 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 Cole Robinson 2011-01-14 22:20:39 UTC
Fixed in virt-manager-0.8.6-1.el6.

Comment 5 zhanghaiyan 2011-03-02 07:46:02 UTC
Verified this bug PASS with virt-manager-0.8.6-2.el6.noarch

Separate input box (username, hostname) is provided for user and also a dynamic info at the below displaying 'Generated URI: qemu+ssh://$username@/system'

Comment 6 errata-xmlrpc 2011-05-19 13:46:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0637.html