[orchestration] allow num_engine_workers to be configured

Bug #1452734 reported by Mark Vanderwiel on 2015-05-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Medium
Mark Vanderwiel

Bug Description

allow num_engine_workers to be configured

https://github.com/openstack/heat/blob/947aaf97da3ce80537dc728b0b19f5ee42268366/heat/common/config.py#L87

 cfg.IntOpt('num_engine_workers',
               default=processutils.get_worker_count(),
               help=_('Number of heat-engine processes to fork and run.'))]

https://github.com/openstack/heat/blob/ede071510bc61b9611ef7416630d6b434240093d/heat/common/wsgi.py#L80

cfg.IntOpt('workers', default=0,
               help=_("Number of workers for Heat service."),
               deprecated_group='DEFAULT'),

description: updated

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

Changed in openstack-chef:
status: New → In Progress

Reviewed: https://review.openstack.org/181008
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-orchestration/commit/?id=ffe3f30c057f14679f70815c04a51ee859e6b871
Submitter: Jenkins
Branch: master

commit ffe3f30c057f14679f70815c04a51ee859e6b871
Author: Mark Vanderwiel <email address hidden>
Date: Thu May 7 09:10:56 2015 -0500

    Add worker config support

    Allow the various workers to be configured as attributes.
    The engine one is based upon cpu, so default is nil just like
    in Compute. The others default to zero, so used that.

    Change-Id: Id7382ceeb4daeb6136e4b10546eed26901fbc3eb
    Closes-Bug: #1452734

Changed in openstack-chef:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers