Bug 1960925

Summary: templater.py[WARNING]: Jinja not available as the selected renderer for desired template, reverting to the basic renderer
Product: Red Hat Enterprise Linux 8 Reporter: Frank Liang <xiliang>
Component: cloud-initAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Frank Liang <xiliang>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: eterrell, huzhao, jgreguske, leiwang, linl, ribarry, vkuznets, xiachen, ymao
Target Milestone: betaKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-17 01:36:23 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:
Attachments:
Description Flags
cloud-init-19.4-11.el8_3.4.log none

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