Bug 1401803

Summary: Undercloud install fails when creating mistral config environment
Product: Red Hat OpenStack Reporter: Sai Sindhur Malleni <smalleni>
Component: instack-undercloudAssignee: Dougal Matthews <dmatthew>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Arik Chernetsky <achernet>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: apannu, aschultz, mburns, mcornea, rbrady, rhel-osp-director-maint, tdunnon
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-19 14:52:24 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:

Description Sai Sindhur Malleni 2016-12-06 06:59:21 UTC
Description of problem: On running openstack undercloud install, the command almost runs to completion but fails during post_config phase with the following error regarding mistral environment config https://gist.githubusercontent.com/smalleni/eeba1bf421b4a3c8a9790cad0d3373e8/raw/7c1807b614dfb3fc5c54037e788d5240eb75102d/gistfile1.txt

stackrc is generated and all commands such as ironic node-list, openstack baremetal import work fine but when trying to deploy overcloud, the deploy fails in less than 20s without the heat stack even being created with the following error "Environment not found [name=tripleo.undercloud-conf]" .

rerunning openstack undercloud install on the same failed node, we didn't see this issue. The issue seems to be not checking if osprofiler_web was initialized, so having a 'if osprofiler_web:' should solve this. However, https://github.com/openstack/python-mistralclient/commit/d655e010b87c60cb62475324edfe3893c34ef711 already addresses this but doesn't seem to be included in the latest package.


Version-Release number of selected component (if applicable):
OSP 10 - See 'if osprofiler_web:' missing in /usr/lib/python2.7/site-packages/mistralclient/api/httpclient.py in RC puddle too.

How reproducible:
Intermittent, not very reproducible

Steps to Reproduce:
1. Install undercloud
2.
3.

Actual results:
stackrc is generated but overcloud deployment fails when attempted in less than 20s with error "Environment not found [name=tripleo.undercloud-conf]" 

Expected results:
Undercloud should be installed and overcloud deployment should succeeed.

Additional info:

Comment 3 Ryan Brady 2018-03-19 14:52:24 UTC
This bug has not been reproducible so far.  If this is still a bug in a current supported release then please reopen.