Bug 1452677
Summary: | overcloud heat metadata endpoints are incorrectly set to localhost | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | David Gurtner <dgurtner> | |
Component: | openstack-heat | Assignee: | Zane Bitter <zbitter> | |
Status: | CLOSED ERRATA | QA Contact: | Amit Ugol <augol> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 10.0 (Newton) | CC: | acruz, balduf, ebarrera, gkadam, mburns, rhel-osp-director-maint, rrasouli, samccann, sbaker, shardy, smerrow, srevivo | |
Target Milestone: | z4 | Keywords: | Triaged, ZStream | |
Target Release: | 10.0 (Newton) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-heat-7.0.3-2.el7ost | Doc Type: | Bug Fix | |
Doc Text: |
Cause: In the heat-dist.conf file, the endpoint URLs for the various metadata services were explicitly set to localhost.
Consequence: Resources that use metadata to communicate with deployed servers (such as WaitConditions and SoftwareDeployments) would not work unless the URLs were explicitly overridden in the local config file, even though Heat has the capability to determine these automatically with the Keystone catalog.
Fix: The URLs are now left unset in the heat-dist.conf file.
Result: Heat will automatically determine the correct URLs from the Keystone catalog unless the local config file explicitly overrides them.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1456909 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-06 17:13:53 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1335596, 1356451, 1456909 |
Description
David Gurtner
2017-05-19 13:07:17 UTC
I think this is the same issue as bug 1425189. It definitely sounds to me like heat-dist.conf is wrong, because IIUC Heat can now do the Right Thing based on the keystone catalog as long as nothing is explicitly specified in a config file. (In reply to Zane Bitter from comment #1) > I think this is the same issue as bug 1425189. That's my understanding. But the fix from 1425189 only partially solved the issue, i.e. 1425189 removed the wrong setting from /etc/heat/heat.conf, but it's still in /usr/share/heat/heat-dist.conf (In reply to David Gurtner from comment #2) > (In reply to Zane Bitter from comment #1) > > I think this is the same issue as bug 1425189. > > That's my understanding. But the fix from 1425189 only partially solved the > issue, i.e. 1425189 removed the wrong setting from /etc/heat/heat.conf, but > it's still in /usr/share/heat/heat-dist.conf Sorry, got confused between 1425189 and 1395139, please disregard the above. The suggestion in bug 1425189 was effectively that it was already solved by bug 1395139, so there should be no need to set the addresses explicitly (as in https://review.openstack.org/#/c/439699/). This in my mind confirms that that is not the case, but the correct fix is to change heat-dist.conf, not to set the addresses explicitly in t-h-t. Posted a fix to RDO: https://review.rdoproject.org/r/#/c/6877/ I'll backport downstream once it has been reviewed. *** Bug 1425189 has been marked as a duplicate of this bug. *** We realized that upstream github templates were used for the job on downstream product, something that is unsupported, bugzilla can be closed (In reply to Eduard Barrera from comment #9) > We realized that upstream github templates were used for the job on > downstream product, something that is unsupported, bugzilla can be closed I opened the above bug in relation to a different environment from the one Eduard was working on. The bug itself is still valid and shouldn't be closed. Thanks, David *** Bug 1316072 has been marked as a duplicate of this bug. *** changes applied not metadata URL on: openstack-heat-api-cfn-7.0.5-1.el7ost.noarch openstack-heat-common-7.0.5-1.el7ost.noarch openstack-heat-api-7.0.5-1.el7ost.noarch openstack-heat-engine-7.0.5-1.el7ost.noarch openstack-heat-templates-0-0.12.1e6015dgit.el7ost.noarch [ 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-2017:2655 |