Bug 2180719 - "Copy SSH command" get undefined user
Summary: "Copy SSH command" get undefined user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.14.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2182535
TreeView+ depends on / blocked
 
Reported: 2023-03-22 05:44 UTC by Guohua Ouyang
Modified: 2023-08-16 14:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2182535 (view as bug list)
Environment:
Last Closed: 2023-08-16 14:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1204 0 None open Bug 2180719: Provide username in "Copy SSH command" of a VM 2023-03-28 13:56:53 UTC
Red Hat Issue Tracker CNV-27185 0 None None None 2023-03-22 05:46:18 UTC
Red Hat Product Errata RHSA-2023:4664 0 None None None 2023-08-16 14:10:19 UTC

Description Guohua Ouyang 2023-03-22 05:44:53 UTC
Description of problem:
Create a VM from instanceType and click the "Copy SSH command", it gets something like "virtctl -n default ssh undefined@sad-skunk", but in the SSH section in VM details tab, it's "virtctl -n default ssh fedora@sad-skunk".

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


How reproducible:


Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:
"Copy SSH command" get the same results like "virtctl -n default ssh fedora@sad-skunk".

Additional info:

Comment 1 Hilda Stastna 2023-03-28 13:08:59 UTC
When reproducing this bug, I've found the following:
it really does not matter how you create a VM (InstanceType or templates from Catalog), it is unrelated to the way of VM creation you choose.

Also note that when you want to reproduce this bug, you must click on "Copy SSH command" in the VM's Overview tab, in Details card (this info was missing in the description of this bug).

Comment 2 Guohua Ouyang 2023-03-28 23:19:47 UTC
verified on upstream latest

Comment 13 errata-xmlrpc 2023-08-16 14:09:56 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.13.3 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:4664


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