Description of problem: Using wizard to create cloud-init for Windows 2019 server VM creates a strange set of entries in the userData. (see below) Version-Release number of selected component (if applicable): 4.10.0 How reproducible: Always Steps to Reproduce: 1. Create Windows VM using wizard (2019 server) 2. Customize VM and add cloud-init with data 3. View resulting YAML Actual results: - cloudInitNoCloud: userData: | #cloud-config '0': u '1': 'n' '2': d '3': e '4': f '5': i '6': 'n' '7': e '8': d user: admin password: changeme hostname: uggabug ssh_authorized_keys: - >- ssh-rsa Expected results: - cloudInitNoCloud: userData: | #cloud-config user: Admin password: changeme hostname: uggabug ssh_authorized_keys: - >- ssh-rsa Additional info:
The bug still exists on v4.11.0-36 for both windows and linux(with cloud-init disk deleted)
Might be fixed by https://github.com/kubevirt-ui/kubevirt-plugin/pull/542 can you reproduce on latest master?
@gouyang can you reproduce on latest master? might be fixed by https://github.com/kubevirt-ui/kubevirt-plugin/pull/542
retest it on v4.11.0-42, it looks good
Clearing needinfo, I'm not able to test against the live code in the git repo at the moment.
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