Description of problem: after importing an image from an export domain, ssh keys field or custom scripts of the cloud-init tab are no more indented, and cloud-init ignores them when booting a vm. Version-Release number of selected component (if applicable): How reproducible: import an image from export domain look at the cloud-init tab and see that ssh key or custom scripts are not yaml indented anyore Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This bug is in modified for ovirt-4.4.3, can we re-target to ovirt-4.4.0 and move to QE?
Verified: ovirt-engine-4.4.0-0.33.master.el8ev qemu-kvm-4.2.0-19.module+el8.2.0+6296+6b821950.x86_64 vdsm-4.40.13-1.el8ev.x86_64 libvirt-daemon-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64 Verification scenario: 1. Import sealed RHEL8 VM from templates. 2. Edit VM -> initial run and add the next yaml (don't run the VM afterward): write_files: - content: test_cloud_init path: /tmp/test.txt permissions: '0644' runcmd: - [ systemctl, restart, network] 3. Export VM to export domain. 4. Delete source VM. 5. Import VM from export domain. 6. Edit imported VM and verify cloud-init script is still there and not in one line (with spaces and new lines) 7. Run VM and verify: - Network service has been restarted - A file with permissions 0644 named test.txt was created under /tmp/ folder The content of the file is test_cloud_init
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.