Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1360127

Summary: during deployment getting vague message which makes troubleshooting difficult.
Product: Red Hat OpenStack Reporter: VIKRANT <vaggarwa>
Component: openstack-heatAssignee: Thomas Hervé <therve>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: jcoufal, jschluet, mburns, rhel-osp-director-maint, sbaker, shardy, srevivo, zbitter
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-heat-7.0.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:47:02 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 VIKRANT 2016-07-26 05:27:46 UTC
Description of problem:

Got below error during the deployment:

~~~
ERROR: 'NoneType' object has no attribute 'update'
~~~

Checked the heat-api.log file and found that error is coming from : 

~~~
>From : /usr/lib/python2.7/site-packages/heat/api/openstack/v1/stacks.py

143         environment_format.default_for_missing(env)
144         parameters = self.data.get(self.PARAM_USER_PARAMS, {})
145         env[self.PARAM_USER_PARAMS].update(parameters)
146         return env
~~~

While checking the network-environment.yml file found that issue is coming because of below empty section.

~~~
parameters:
  # Set to "br-ex" if using floating IPs on native VLAN on bridge br-ex
~~~

After removing this section deployment was successful without any issue. 

Version-Release number of selected component (if applicable):
RHEL OSP 8

How reproducible:
Everytime. 

Steps to Reproduce:
1.
2.
3.

Actual results:
It's throwing vague error.

Expected results:
It should give something more understandable. 

Additional info:

Comment 2 VIKRANT 2016-07-26 06:50:12 UTC
Upstream bug describing the same issue : 

https://bugs.launchpad.net/heat/+bug/1606148

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

Comment 3 Zane Bitter 2016-07-26 12:53:29 UTC
Fixed upstream in newton (OSP10).

Comment 7 errata-xmlrpc 2016-12-14 15:47:02 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://rhn.redhat.com/errata/RHEA-2016-2948.html