Description of problem: If a user uses user_data and user_data_format is HEAT_CNFTOOLS which is default, cloud-init has an error with loguserdata.py by there is no command: python. Version-Release number of selected component (if applicable): RHOSP13, RHOSP16.1, RHOSP16.2 How reproducible: Always Steps to Reproduce: 1. Create software configuration with user_data without user_data_format. 2. Launch a RHEL8 instance. 3. Check cloud-init log and find loguserdata.py failed by the error. Actual results: cloud-init's log contains loguserdata.py error. Expected results: loguserdata.py can be run successfully. Additional info: The issue can be fixed by https://github.com/openstack/heat/commit/2d692e22f42bc64476ab01ff7e8c4d4717ef3786 The issue may not be occurred with user_data_format: RAW.
For upstream: https://review.opendev.org/q/2d692e22f42bc64476ab01ff7e8c4d4717ef3786
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 (Red Hat OpenStack Platform 16.1.8 bug fix and enhancement advisory), 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/RHBA-2022:0986