Bug 2180719

Summary: "Copy SSH command" get undefined user
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.13.0CC: gouyang, hstastna
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2182535 (view as bug list) Environment:
Last Closed: 2023-08-16 14:09:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2182535    

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