heat-engine and heat-api are deployed with number of workers=cores

Bug #1702761 reported by Sai Sindhur Malleni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Unassigned

Bug Description

heat-engine and heat-api are deployed with number of workers=number of cores which leads to a large number of workers on machines with large core count. On a 56 core machine, 56 heat-api and 56 heat-engine workers are spawned which causes significant load on the database as each worker opens 10-15 connections to the database.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/481232

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ocata)

Reviewed: https://review.openstack.org/481232
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0139f1e6f9a394f27743e546a59ac0b2208ebeaf
Submitter: Jenkins
Branch: stable/ocata

commit 0139f1e6f9a394f27743e546a59ac0b2208ebeaf
Author: Sai Sindhur Malleni <email address hidden>
Date: Thu Jul 6 16:54:22 2017 -0400

    Use conditional to set heat workers

    Heat is spawning number of workers equal to number of cores. This commit
    fixes the problem by using a conditional so that os_workers fact is used
    when the worker value is unset. This was changed in master in an
    unrelated commit
    https://github.com/openstack/tripleo-heat-templates/commit/aedb22be76be53716e30b60c93d323a3fbeb8f00
    However, the above commit cannot be cherry picked.

    Change-Id: I30b4ce6650c7f90d4a6bc96992baa201ce413fb8
    Closes-Bug: #1702761

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.2.3

This issue was fixed in the openstack/tripleo-heat-templates 6.2.3 release.

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
Revision history for this message
Emilien Macchi (emilienm) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
  Valid example: CONFIRMED FOR: FUTURE

Changed in tripleo:
importance: Medium → Undecided
status: Triaged → Expired
Changed in tripleo:
status: Expired → Fix Released
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.