Bug 2295391 - Request limit exceeded: Template size exceeds maximum allowed size (524288 bytes).
Summary: Request limit exceeded: Template size exceeds maximum allowed size (524288 by...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z4
: 17.1
Assignee: Rabi Mishra
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-03 11:59 UTC by Kenny Tordeurs
Modified: 2024-11-21 09:32 UTC (History)
7 users (show)

Fixed In Version: python-tripleoclient-16.5.1-17.1.20240913100806.f3599d0.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:32:25 UTC
Target Upstream Version:
Embargoed:
madgupta: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32433 0 None None None 2024-07-03 12:01:03 UTC
Red Hat Product Errata RHSA-2024:9990 0 None None None 2024-11-21 09:32:28 UTC

Description Kenny Tordeurs 2024-07-03 11:59:40 UTC
Description of problem:
During upgrade having errors for template size

Version-Release number of selected component (if applicable):
Upgrade 16.2 > 17.1

How reproducible:
100%

Steps to Reproduce:
overcloud_upgrade_prepare.sh

2024-06-13 23:43:11.298 695883 ERROR openstack heat.common.exception.RequestLimitExceeded: Request limit exceeded: Template size (648398 bytes) exceeds maximum allowed size (524288 bytes).
2024-06-13 23:43:11.298 695883 ERROR openstack
2024-06-13 23:43:11.298 695883 ERROR openstack
-rw-r--r--. 1 root root 998 Jun 14 00:13 /usr/share/python-tripleoclient/templates/ephemeral-heat/heat.conf.j2

[DEFAULT]
client_retry_limit=2
debug = {{ debug }}
default_deployment_signal_transport = HEAT_SIGNAL
deferred_auth_method = password
keystone_backend = heat.engine.clients.os.keystone.fake_keystoneclient.FakeKeystoneClient
log_dir = /var/log/heat
log_file = {{ log_file }}
max_json_body_size = {{ max_json_body_size }}
max_template_size = 1048576
max_nested_stack_depth = 10
max_resources_per_stack=-1
num_engine_workers = {{ num_engine_workers }}
rpc_poll_timeout = 60
rpc_response_timeout = {{ rpc_response_timeout }}
transport_url={{ transport_url }}

[oslo_messaging_notifications]
driver = noop

[oslo_messaging_rabbit]
heatbeat_timeout_threshold=60

[noauth]
token_response = /token_file.json

[heat_api]
bind_host = 0.0.0.0
bind_port = {{ api_port }}
workers = 1

 

[database]
connection = {{ db_connection }}

 

[paste_deploy]
api_paste_config = /etc/heat/api-paste.ini
flavor = noauth

 

[oslo_policy]
policy_file = /etc/heat/noauth_policy.json

 

[yaql]
limit_iterators=10000
memory_quota=900000

Actual results:
Template size is not sufficient

Expected results:
Bigger template size

Additional info:
Fixed by setting: max_template_size = 1048576

Comment 24 errata-xmlrpc 2024-11-21 09:32:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHOSP 17.1.4 (openstack-tripleo-common and python-tripleoclient) security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:9990


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