Bug 1992971

Summary: Backport 'Detect EL8 platform-python' to downstream
Product: Red Hat OpenStack Reporter: Keigo Noha <knoha>
Component: openstack-heatAssignee: Sagi Shnaidman <sshnaidm>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: apetrich, cjeanner, sshnaidm
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-heat-13.1.0-1.20210819033308.48b730a.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-24 11:00:58 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:

Description Keigo Noha 2021-08-12 07:10:34 UTC
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.

Comment 2 Sagi Shnaidman 2021-08-18 14:08:25 UTC
For upstream: https://review.opendev.org/q/2d692e22f42bc64476ab01ff7e8c4d4717ef3786

Comment 13 errata-xmlrpc 2022-03-24 11:00:58 UTC
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