Description of problem: If you use the "Red Hat Enterprise Linux 8.2 Update KVM Guest Image" from https://access.redhat.com/downloads/content/479/ver=/rhel---8/8.2/x86_64/product-software the cloud-init does not set the password. I have tried to use the one described in here: https://access.redhat.com/solutions/4985001 e.g. #cloud-config user: admin password: q1w2e3 chpasswd: {expire: False} ssh_pwauth: True and that did work. Im not sure what exactly fixed it from it, but the one which is in the common-templates today does not work and the one I have pasted does. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
@Tomas, can you please confirm which user id were you trying to login with in Rhel 8.2?
all I could think of :) I have tried the same username as the password is, I have tried "root" and "default" etc. But I believe the username and password was supposed to be the same.
(In reply to Tomas Jelinek from comment #2) > all I could think of :) I have tried the same username as the password is, I > have tried "root" and "default" etc. But I believe the username and password > was supposed to be the same. Looking at the RHEL docs it seems that default user would be `cloud-user` Can you please verify this again on the same image? I tried to check this but the cluster seemed to have some issue.
A UX improvement here would be to specify the default cloud-user usernames in the cloud-init of the default templates PR doing that: https://github.com/kubevirt/common-templates/pull/224
(In reply to Vatsal Parekh from comment #4) > A UX improvement here would be to specify the default cloud-user usernames > in the cloud-init of the default templates > PR doing that: https://github.com/kubevirt/common-templates/pull/224 Thank you!
Verify with: HCO: hyperconverged-cluster-operator-container-v2.5.0-42 RHEL: user is cloud-user Fedora: user is fedora
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 (OpenShift Virtualization 2.5.0 Images), 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/RHEA-2020:5127