overcloud heat metadata endpoints are incorrectly set to localhost
Issue
- When attempting to run this template, the two OS::Heat::SoftwareDeployment's will never complete. If you look at the server it's running os-collect-config forever with this error message:
Jan 17 18:36:53 example-puppet-server-f4kuww7sysxb os-collect-config[6282]: HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: /v1/?SignatureVersion=2&AWSAccessKeyId=fff52156641542818b981dc0103e63b2&StackName=example-puppet&SignatureMethod=HmacSHA256&Signature=jk%2FB34s5XKGnuTX8ykWAtP1gYTHUuqmU2HAFXlxCNDo%3D&Action=DescribeStackResource&LogicalResourceId=server (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x2091350>: Failed to establish a new connection: [Errno 111] Connection refused',))
- And if we review the metadata:
--===============4163561669070312311==
Content-Type: text/x-cfninitdata; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cfn-init-data"
{"os-collect-config": {"cfn": {"stack_name": "example-puppet", "metadata_url": "http://127.0.0.1:8000/v1/", "path": "server.Metadata", "secret_access_key": "80570f3b2cda46be9bfb8c7f543935bb", "access_key_id": "fff52156641542818b981dc0103e63b2"}, "collectors": ["ec2", "cfn", "local"]}, "deployments": []}
- [root@overcloud-controller-0 etc]# crudini --get /etc/heat/heat.conf DEFAULT heat_metadata_server_url
http://127.0.0.1:8000
# URL of the Heat metadata server. NOTE: Setting this is only needed if you
# require instances to use a different endpoint than in the keystone catalog
# (string value)
#heat_metadata_server_url = <None>
Environment
- Red Hat OpenStack Platform 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
