-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
0
-
sat-rocket
-
-
-
Satellite Rocket Sprint 1, Satellite Rocket Sprint 2, Satellite Rocket Sprint 3
Description of problem:
As per the deprecated warning below, dict type is deprecated and list should be used for users config.
cloud-init[962]: 2025-06-13 06:01:11,556 - lifecycle.py[DEPRECATED]: 'users' of type <class 'dict'> is deprecated in 22.2 and scheduled to be removed in 27.2. Use 'users' as a list.
To avoid the deprecated warning, we need to change the following value from {} to [] in the Cloudinit default template.
#cloud-config
hostname: <%= @host.name %>
fqdn: <%= @host %>
manage_etc_hosts: true
users: {} <================
runcmd:
- |
This deprecated warning also somehow causing the failure of cloud-init user-data provisioning for RHEL 9.6. For more information, please refer to the following Jira ticket.
https://issues.redhat.com/browse/RHEL-96831
QE Tracker for https://issues.redhat.com/browse/SAT-35290