Bug 1690621

Summary: Overcloud heat-deployment error get_python: command not found
Product: Red Hat OpenStack Reporter: Siggy Sigwald <ssigwald>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: apevec, jschluet, lhh, mburns, pgrist, ramishra
Target Milestone: z6Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.3.1-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 17:27:39 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 Siggy Sigwald 2019-03-19 20:19:23 UTC
Description of problem:
See this error consistently deploying overcloud with ceph

overcloud.CephStorage.2.CephStorageExtraConfigPre.NodeSpecificDeployment:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: bb6e4e49-48bc-41d6-af9c-7a7d2bad2d61
  status: CREATE_FAILED
  status_reason: |
    Error: resources.NodeSpecificDeployment: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 127
  deploy_stdout: |

  deploy_stderr: |
    /var/lib/heat-config/heat-config-script/75a01c23-8823-4bb8-a34f-db1164ed695e: line 21: get_python: command not found
    /var/lib/heat-config/heat-config-script/75a01c23-8823-4bb8-a34f-db1164ed695e: line 21: -c: command not found
(undercloud) [stack@director ~]$ openstack stack list
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
| ID                                   | Stack Name | Project                          | Stack Status  | Creation Time        | Updated Time |
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
| 5c13141d-399d-454c-83cc-1d93008ab625 | overcloud  | 6e7a0b6c3b784e459089df85f4eda932 | CREATE_FAILED | 2019-03-15T16:47:01Z | None         |
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
Version-Release number of selected component (if applicable):
OSP13 Z5 

https://github.com/openstack/tripleo-heat-templates/commit/759b711b9457a5827cf75e8dcb36e3ca905dec1c#diff-801e6ddf38ed5e45c3f6038fefdaf4c6

https://review.openstack.org/#/c/638494/

Comment 7 Sasha Smolyak 2019-04-23 07:18:10 UTC
uuid fix is already tested and verified, python code is in place

Verified

Comment 9 errata-xmlrpc 2019-04-30 17:27:39 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, 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-2019:0939