Bug 2080835 - SSH key is set using cloud init script instead of new api
Summary: SSH key is set using cloud init script instead of new api
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Tal Nisan
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2080833 2080834 2080836
TreeView+ depends on / blocked
 
Reported: 2022-05-02 06:30 UTC by Yaacov Zamir
Modified: 2023-11-13 08:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:31:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-17914 0 None None None 2023-11-13 08:18:42 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:32:00 UTC

Description Yaacov Zamir 2022-05-02 06:30:01 UTC
Description of problem:
UI is using ssh key injection directly using cloudinit script, UI should use the new api "accessCredentials" in the virtual machine configuration.

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


How reproducible:


Steps to Reproduce:
1. Create a VM using wizard
2. in the review stage, edit the ssh key
3. go to yaml view

Actual results:
ssh key is set using cloud init script

Expected results:
ssh key is set using new "accessCredentials" api

Additional info:
https://kubevirt.io/user-guide/virtual_machines/accessing_virtual_machines/#static-ssh-key-injection-via-cloud-init

Comment 1 Gilad Lekner 2022-05-04 10:12:11 UTC
fixed by - https://github.com/kubevirt-ui/kubevirt-plugin/pull/362

Comment 2 Guohua Ouyang 2022-05-11 02:11:29 UTC
verified on CNV-v4.11.0-323

Comment 6 errata-xmlrpc 2022-09-14 19:31:44 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.11.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-2022:6526


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