Bug 1313010

Summary: Set max_resources_per_stack to -1 in /etc/heat/heat.conf
Product: Red Hat OpenStack Reporter: James Slagle <jslagle>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED CURRENTRELEASE QA Contact: Alexander Chuzhoy <sasha>
Severity: unspecified Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: achernet, jcoufal, mburns, rhel-osp-director-maint, sasha, sclewis
Target Milestone: Upstream M2Keywords: TestOnly, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-2.2.5-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-23 21:01:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Slagle 2016-02-29 17:24:45 UTC
Set max_resources_per_stack to -1
    
    The max_resources_per_stack configuration option for Heat engine is
    meant to prevent DOS attacks by large stacks. For TripleO, the check
    itself is actually quite resource instensive since it takes a while to
    actually count the resources in all the nested stacks.
    
    The tenant in the undercloud is trusted anyway.
    
    Setting the option to -1 disables the check and makes a significant
    improvement in overcloud deployment time.

Comment 2 Alexander Chuzhoy 2016-03-12 00:26:21 UTC
FailedQA

Environment:instack-undercloud-2.2.5-1.el7ost.noarch


grep max_resources_per_stack /etc/heat/heat.conf
#max_resources_per_stack = 1000

Comment 4 Mike Burns 2016-04-07 21:11:06 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Alexander Chuzhoy 2016-12-06 15:07:43 UTC
Verified:

Environment:
instack-undercloud-5.1.0-4.el7ost.noarch

[stack@undercloud-0 ~]$ sudo grep max_resources_per_stack /etc/heat/heat.conf
#max_resources_per_stack = 1000
max_resources_per_stack = -1

Comment 8 Lon Hohberger 2017-01-23 21:01:48 UTC
According to our records, this should be resolved by instack-undercloud-5.1.0-4.el7ost.  This build is available now.