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
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