Bug 2151521 - No username set in cloud-init in the template example yaml
Summary: No username set in cloud-init in the template example yaml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.13.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-07 13:01 UTC by Guohua Ouyang
Modified: 2023-05-18 02:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:56:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1097 0 None open Bug 2151521: add user on vm template example 2023-03-02 12:47:00 UTC
Red Hat Issue Tracker CNV-23224 0 None None None 2022-12-07 13:07:03 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:56:27 UTC

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


Note You need to log in before you can comment on or make changes to this bug.