Bug 2151521

Summary: No username set in cloud-init in the template example yaml
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Ugo Palatucci <upalatuc>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.13.0CC: gouyang
Target Milestone: ---   
Target Release: 4.13.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-05-18 02:56:16 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-07 13:01:11 UTC
Description of problem:
No username set in cloud-init in the template example yaml
Which causes a VM created from this template, it cannot enable ssh service as no username is set.

            - cloudInitNoCloud:
                userData: |-
                  #cloud-config
                  password: '${CLOUD_USER_PASSWORD}'
                  chpasswd: { expire: False }

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. create template from default yaml
2. 
3.

Actual results:
no username in the template's cloud-init data

Expected results:
username is set in the data

Additional info:

Comment 4 errata-xmlrpc 2023-05-18 02:56:16 UTC
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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205