-
Bug
-
Resolution: Done
-
Normal
-
None
-
3
-
False
-
Satellite Rocket Sprint 1, Satellite Rocket Sprint 2, Satellite Rocket Sprint 3
-
sat-rocket
-
Bug Fix
-
-
Done
-
Manual
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.
- depends on
-
SAT-35337 Fixes #38519 - Pass cloud-init users as a list by ekohl · Pull Request #10581 · theforeman/foreman · GitHub
-
- Closed
-
There are no Sub-Tasks for this issue.