undercloud deploy double kills heat_all container

Bug #1709311 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
James Slagle

Bug Description

the undercloud deploy double kills the heat_all container because both the parent process and the forked child process that started the container try and kill the heat_all container.

This results in some error messages at the end of the deploy that are otherwise harmless, but make one think there might be something wrong:

Deploy Successful.
Log files at: /tmp/undercloud_deploy-gjZEC8
Unable to establish connection to http://127.0.0.1:8006/v1/admin/stacks/undercloud/90b6b887-23b4-4ed8-b7c4-f9425f884d02/events?marker=f3fd6ae3-0fd4-4829-b384-6efe623d6ac9&nested_depth=6&sort_dir=asc:
('Connection aborted.', BadStatusLine("''",))
Log files at: /tmp/undercloud_deploy-gjZEC8
heat_all
Command '['docker', 'run', '--name', 'heat_all', '--user', 'heat', '--net',
'host', '--volume',
'/tmp/undercloud_deploy-gjZEC8/heat.conf:/etc/heat/heat.conf', '--volume',
'/tmp/undercloud_deploy-gjZEC8:/tmp/undercloud_deploy-gjZEC8:rw', '--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
heat_all

Changed in tripleo:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → James Slagle (james-slagle)
milestone: none → pike-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/491787

Changed in tripleo:
milestone: pike-rc1 → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/491787
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=b6693c12554cb2511023e858d4418ffe74d411dd
Submitter: Zuul
Branch: master

commit b6693c12554cb2511023e858d4418ffe74d411dd
Author: James Slagle <email address hidden>
Date: Tue Aug 8 08:51:23 2017 -0400

    Don't doube kill heat_all

    The heat_all process (either the container or native) was being killed
    twice. Once by the parent process and once by the same child process
    that spawned it.

    Checking that heat_pid != 0 before killing the process will ensure only
    the parent process will kill the heat_all process.

    Change-Id: I677b6a633b028341cb157ce5fb1b1855da7dead8
    Closes-Bug: #1709311

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 8.0.0

This issue was fixed in the openstack/python-tripleoclient 8.0.0 release.

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.