Bug 2151826
| Summary: | Change cloud-init's password has no effect | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Guohua Ouyang <gouyang> |
| Component: | User Experience | Assignee: | Ugo Palatucci <upalatuc> |
| Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.12.0 | CC: | cnv-qe-bugs, gouyang |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 4.14.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 14:05:03 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: | |||
|
Description
Guohua Ouyang
2022-12-08 08:57:46 UTC
Closing this BZ as this is expected behavior. cloud-init implementation is OS specific, so not a KubeVirt level issue. Also, in all cases I'm aware of cloud-init is run-once on first boot. Changing cloud-init should have no effect on subsequent boots. Please feel free to re-open if you feel this is incorrect. Move the bug back to UI for improvement. Since changing the password does not work once the VM is started, it's better to add a statement to clarify the problem, otherwise we should disable the editing of the cloud-init password. Now it shows a warning message on 4.14 UI: "Cloud-init and SSH key configurations will be applied to the VirtualMachine only at the first boot. You must ensure that the configuration is correct before starting the VirtualMachine." 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.14.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-2023:6817 |