Bug 2190438 - VM - Actions - Copy SSH command misses user name
Summary: VM - Actions - Copy SSH command misses user name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.14.0
Assignee: Tal Nisan
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-28 12:21 UTC by Dominik Holler
Modified: 2023-11-08 14:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2182535 0 medium CLOSED "Copy SSH command" get undefined user 2023-05-24 10:19:02 UTC
Red Hat Issue Tracker CNV-28437 0 None None None 2023-04-28 12:22:13 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:41 UTC

Description Dominik Holler 2023-04-28 12:21:50 UTC
Description of problem:
VM - Actions - "Copy SSH command" copies
"virtctl -n dholler ssh undefined@rhel9-nxtj8va0a4fyperf",
while the VM Details shows the expected
"virtctl -n dholler ssh cloud-user@rhel9-nxtj8va0a4fyperf"


Version-Release number of selected component (if applicable):
4.12

How reproducible:
100%

Steps to Reproduce:
1. Create a Linux VM
2. Boot it
3. Click on "Actions" "Copy SSH command" 
4. Paste

Actual results:
"virtctl -n dholler ssh undefined@rhel9-nxtj8va0a4fyperf"

Expected results:
"virtctl -n dholler ssh cloud-user@rhel9-nxtj8va0a4fyperf"

Additional info:

Comment 2 Guohua Ouyang 2023-08-02 01:03:45 UTC
verified on kubevirt-console-plugin-rhel9:v4.14.0-2373, now the command look like:
virtctl -n default ssh centos@centos-stream8-organisational-eel --identity-file=<path_to_sshkey>

Comment 4 errata-xmlrpc 2023-11-08 14:05:31 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 (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), 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/RHSA-2023:6817


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