Bug 1988406

Summary: SSH key dropped when selecting "Customize virtual machine" in UI
Product: OpenShift Container Platform Reporter: Ales Nosek <anosek>
Component: Console Kubevirt PluginAssignee: Matan Schatzman <mschatzm>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, cnv-qe-bugs, gouyang, mschatzm, ycui, yzamir
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:36:27 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:
Attachments:
Description Flags
Steps to reproduce including the screenshots none

Description Ales Nosek 2021-07-30 13:43:02 UTC
Created attachment 1809415 [details]
Steps to reproduce including the screenshots

Description of problem:

Please find attached the steps to reproduce including the screenshots.

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

OpenShift 4.8.2 and OpenShift Virtualization 4.8

Steps to Reproduce:

1. Create a Fedora 34 virtual machine and click "Next"
2. Inset the SSH public key into the "Authorized Key" text field. Check "Remember Authorized SSH Key". Click "Customize virtual machine".
3. Don't make any changes in this dialog, just click "Review and confirm"
4. Click "Create Virtual Machine"

Actual results:

SSH public key was not inserted into the VM.

Expected results:

SSH public key should be added to the ~/.ssh/authorized_keys in the VM.

Additional info:

Comment 2 Guohua Ouyang 2021-08-12 06:33:57 UTC
It's not fixed by following the bug steps exactly.
But if click the advanced step in the customize wizard, the key is added.

Assign the bug back for further fix.

Comment 3 Yaacov Zamir 2021-10-13 12:01:41 UTC
Matan hi, isn't this fixed ?

Comment 5 Guohua Ouyang 2021-11-25 04:45:00 UTC
verified on master

Comment 9 errata-xmlrpc 2022-03-12 04:36:27 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 (Moderate: OpenShift Container Platform 4.10.3 security 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-2022:0056

Comment 10 Red Hat Bugzilla 2023-09-15 01:13:01 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days