RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1960925 - templater.py[WARNING]: Jinja not available as the selected renderer for desired template, reverting to the basic renderer
Summary: templater.py[WARNING]: Jinja not available as the selected renderer for desir...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cloud-init
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: ---
Assignee: Virtualization Maintenance
QA Contact: Frank Liang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-16 14:55 UTC by Frank Liang
Modified: 2021-05-17 01:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-17 01:36:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cloud-init-19.4-11.el8_3.4.log (261.10 KB, text/plain)
2021-05-16 14:55 UTC, Frank Liang
no flags Details

Description Frank Liang 2021-05-16 14:55:11 UTC
Created attachment 1783751 [details]
cloud-init-19.4-11.el8_3.4.log

Description of problem:

In "cloud-init-19.4-11.el8_3.4.noarch" testing, found a new warning in 'cloud-init.log'.

Snip of cloud-init.log.
<snip>
2021-05-16 14:24:38,509 - helpers.py[DEBUG]: Running config-final-message using lock (<cloudinit.helpers.DummyLock object at 0x7f67a1126240>)
2021-05-16 14:24:38,509 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2021-05-16 14:24:38,509 - util.py[DEBUG]: Read 12 bytes from /proc/uptime
2021-05-16 14:24:38,509 - templater.py[WARNING]: Jinja not available as the selected renderer for desired template, reverting to the basic renderer.
2021-05-16 14:24:38,509 - util.py[DEBUG]: Cloud-init v. {{version}} finished at {{timestamp}}. Datasource {{datasource}}.  Up {{uptime}} seconds
2021-05-16 14:24:38,509 - util.py[DEBUG]: Writing to /var/lib/cloud/instance/boot-finished - wb: [644] 50 bytes
2021-05-16 14:24:38,510 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances/i-0f931cf6f752b48aa/boot-finished (recursive=False)
2021-05-16 14:24:38,511 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances/i-0f931cf6f752b48aa/boot-finished (recursive=False)
2021-05-16 14:24:38,512 - handlers.py[DEBUG]: finish: modules-final/config-final-message: SUCCESS: config-final-message ran successfully
</snip>

[root@ip-10-116-2-41 log]# rpm -q cloud-init
cloud-init-19.4-11.el8_3.4.noarch

[root@ip-10-116-2-41 log]# rpm -qa|grep -i jinja
python3-jinja2-2.10.1-2.el8_0.noarch

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

RHEL Version:
RHEL-8.3(4.18.0-240.1.1.el8_3.x86_64)

How reproducible:
100%

Steps to Reproduce:
1. start a RHEL-8.3 instance and install the latest cloud-init
2. create a new image from this instance
3. start a new instance from new AMI
4. check "cloud-init.log"

Actual results:
New "WARNING" found

Expected results:
No "WARNING" found

Additional info:
N/A


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