heat not available on undercloud containerized install

Bug #1733381 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Unassigned

Bug Description

http://logs.openstack.org/07/472607/129/check/tripleo-ci-centos-7-undercloud-containers/4b402a4/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

2017-11-20 07:24:46 |
2017-11-20 07:24:46 | Undercloud deploy is an experimental developer focused feature that does not yet replace 'openstack undercloud install'.
2017-11-20 07:24:46 | Configuring puppet modules symlinks ...
2017-11-20 07:24:46 | Exception: Command '['docker', 'run', '--name', 'heat_all', '--user', 'heat', '--net', 'host', '--volume', '/tmp/undercloud_deploy-BPNVHa/heat.conf:/etc/heat/heat.conf:Z', '--volume', '/tmp/undercloud_deploy-BPNVHa:/tmp/undercloud_deploy-BPNVHa:Z', '--volume', '/usr/lib/python2.7/site-packages/tripleoclient/noauth_policy.json:/usr/lib/python2.7/site-packages/tripleoclient/noauth_policy.json:ro', 'tripleoupstream/centos-binary-heat-all', 'heat-all']' returned non-zero exit status 137
2017-11-20 07:24:46 | ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 468, in take_action\n orchestration_client = self._launch_heat(parsed_args)\n', ' File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 203, in _launch_heat\n self.heat_launch.launch_heat()\n', ' File "/usr/lib/python2.7/site-packages/tripleoclient/heat_launcher.py", line 213, in launch_heat\n subprocess.check_call(cmd)\n', ' File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call\n raise CalledProcessError(retcode, cmd)\n', "CalledProcessError: Command '['docker', 'run', '--name', 'heat_all', '--user', 'heat', '--net', 'host', '--volume', '/tmp/undercloud_deploy-BPNVHa/heat.conf:/etc/heat/heat.conf:Z', '--volume', '/tmp/undercloud_deploy-BPNVHa:/tmp/undercloud_deploy-BPNVHa:Z', '--volume', '/usr/lib/python2.7/site-packages/tripleoclient/noauth_policy.json:/usr/lib/python2.7/site-packages/tripleoclient/noauth_policy.json:ro', 'tripleoupstream/centos-binary-heat-all', 'heat-all']' returned non-zero exit status 137\n"]
2017-11-20 07:24:46 | ERROR: Heat log files: /tmp/undercloud_deploy-BPNVHa
2017-11-20 07:24:46 |
2017-11-20 07:24:46 | Undercloud deploy is an experimental developer focused feature that does not yet replace 'openstack undercloud install'.
2017-11-20 07:24:46 | Configuring puppet modules symlinks ...
2017-11-20 07:24:46 | Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates
2017-11-20 07:24:46 | Exception: ERROR: ResourceTypeUnavailable: resources.Undercloud<nested_stack>.resources.0<file:///usr/share/openstack-tripleo-heat-templates/puppet/undercloud-role.yaml>.resources.Undercloud<file:///usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server.yaml>.resources.HostsEntryDeployment<file:///usr/share/openstack-tripleo-heat-templates/config-download-software.yaml>: HEAT-E99001 Service heat is not available for resource type OS::Heat::SoftwareDeployment, reason: Unable to establish connection to http://127.0.0.1:5000/v3/auth/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x6bcde90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2017-11-20 07:24:46 | ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 474, in take_action\n parsed_args)\n', ' File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_deploy.py", line 305, in _deploy_tripleo_heat_templates\n stack = orchestration_client.stacks.create(**stack_args)\n', ' File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 171, in create\n data=kwargs, headers=headers)\n', ' File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 289, in post\n return self.client_request("POST", url, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 279, in client_request\n resp, body = self.json_request(method, url, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 268, in json_request\n resp = self._http_request(url, method, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 231, in _http_request\n raise exc.from_response(resp)\n', "HTTPBadRequest: ERROR: ResourceTypeUnavailable: resources.Undercloud<nested_stack>.resources.0<file:///usr/share/openstack-tripleo-heat-templates/puppet/undercloud-role.yaml>.resources.Undercloud<file:///usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server.yaml>.resources.HostsEntryDeployment<file:///usr/share/openstack-tripleo-heat-templates/config-download-software.yaml>: HEAT-E99001 Service heat is not available for resource type OS::Heat::SoftwareDeployment, reason: Unable to establish connection to http://127.0.0.1:5000/v3/auth/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x6bcde90>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))\n"]
2017-11-20 07:24:46 | ERROR: Heat log files: /tmp/undercloud_deploy-BPNVHa

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/521613

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by wes hayutin (<email address hidden>) on branch: master
Review: https://review.openstack.org/521613

Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
Trevor Vardeman (tvardeman) wrote :

I think this bug is no longer relevant.

I have a VM with a containerized undercloud running right now and the heat service is responsive.

Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.