Created attachment 1904902 [details] error Description of problem: Cannot edit cloud-init data after add ssh key, error like below: Error "spec.template.spec.accessCredentials[0] requires a configDrive volume to exist when the configDrive propagationMethod is in use." for field "spec.template.spec.accessCredentials[0].sshPublicKey.propagationMethod". Version-Release number of selected component (if applicable): v4.11.0-83 How reproducible: 100% Steps to Reproduce: 1. add ssh key to a vm 2. and then try to edit the cloud-init data 3. Actual results: error occurs Expected results: no error show, cloud-init data is edited Additional info:
(In reply to Hilda Stastna from comment #1) > Hi Guohua, > > I cannot reproduce the bug. Works as expected, no any error after adding a > new ssh key to a VM, and editing the cloud-init data still available. > Can you, please, check, if this bug is still reproducible or to provide more > detailed info about steps to reproduce? Thanks! Did you click "Apply" button on the cloud-init edit modal? 1. add ssh key to a vm 2. edit the cloud-init data, like changing the username or password 3. click "Apply"
Hi Guohua, with these new steps to reproduce, I finally can reproduce. Thanks!
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.12.0 Images 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-2023:0408