Bug 1313010 - Set max_resources_per_stack to -1 in /etc/heat/heat.conf
Summary: Set max_resources_per_stack to -1 in /etc/heat/heat.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: Upstream M2
: 10.0 (Newton)
Assignee: James Slagle
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-29 17:24 UTC by James Slagle
Modified: 2017-01-23 21:01 UTC (History)
6 users (show)

Fixed In Version: instack-undercloud-2.2.5-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-23 21:01:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 286165 0 None None None 2016-02-29 17:25:16 UTC
OpenStack gerrit 286746 0 None None None 2016-03-01 17:59:44 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.